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