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);
45print $hookmanager->resPrint;
48 $params[
'cols'] = key_exists(
'colspanvalue', $parameters) ? $parameters[
'colspanvalue'] :
'';
49 if (!empty($parameters[
'tdclass'])) {
50 $params[
'tdclass'] = $parameters[
'tdclass'];
52 if (!empty($parameters[
'tpl_context'])) {
53 $params[
'tpl_context'] = $parameters[
'tpl_context'];
56 print $object->showOptionals($extrafields,
'create', $params);
60<!-- END PHP TEMPLATE extrafields_add.tpl.php -->