29if (empty($conf) || !is_object($conf)) {
30 print
"Error, template page can't be called as URL";
35<!-- BEGIN PHP TEMPLATE extrafields_add.tpl.php -->
39if (!isset($parameters)) $parameters = array();
41$reshook = $hookmanager->executeHooks(
'formObjectOptions', $parameters, $object, $action);
42print $hookmanager->resPrint;
45 $params[
'cols'] = key_exists(
'colspanvalue', $parameters) ? $parameters[
'colspanvalue'] :
'';
46 if (!empty($parameters[
'tdclass'])) {
47 $params[
'tdclass'] = $parameters[
'tdclass'];
49 if (!empty($parameters[
'tpl_context'])) {
50 $params[
'tpl_context'] = $parameters[
'tpl_context'];
53 print $object->showOptionals($extrafields,
'create', $params);
57<!-- END PHP TEMPLATE extrafields_add.tpl.php -->