Fix td colspan

This commit is contained in:
Laurent Destailleur 2019-11-18 14:13:51 +01:00
parent ae0fdf014f
commit 3300446cbf

View File

@ -1528,12 +1528,12 @@ else
}
// Other attributes
$parameters = array('colspan' => ' colspan="3"', 'cols'=>3);
$parameters = array('colspan' => ' colspan="3"', 'cols' => 3);
$reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
if (empty($reshook))
{
print $object->showOptionals($extrafields, 'edit');
print $object->showOptionals($extrafields, 'edit', $parameters);
}
// Tags-Categories
@ -1976,7 +1976,7 @@ else
}
// Other attributes
$parameters = array('colspan' => ' colspan="'.(2 + (($showphoto || $showbarcode) ? 1 : 0)).'"');
$parameters = array('colspan' => ' colspan="'.(2 + (($showphoto || $showbarcode) ? 1 : 0)).'"', 'cols' => (2 + (($showphoto || $showbarcode) ? 1 : 0)));
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_view.tpl.php';
// Categories