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)) {
40 $parameters = array();
43$reshook = $hookmanager->executeHooks(
'formObjectOptions', $parameters, $object, $action);
44print $hookmanager->resPrint;
47 $params[
'cols'] = key_exists(
'colspanvalue', $parameters) ? $parameters[
'colspanvalue'] :
'';
48 if (!empty($parameters[
'tdclass'])) {
49 $params[
'tdclass'] = $parameters[
'tdclass'];
51 if (!empty($parameters[
'tpl_context'])) {
52 $params[
'tpl_context'] = $parameters[
'tpl_context'];
55 print $object->showOptionals($extrafields,
'create', $params);
59<!-- END PHP TEMPLATE extrafields_add.tpl.php -->