mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
add hook 'llxFooter'
This commit is contained in:
parent
53a1867be8
commit
1c5888d6d2
|
|
@ -195,6 +195,7 @@ class HookManager
|
|||
'getFormatedSupplierRef',
|
||||
'getIdProfUrl',
|
||||
'getInputIdProf',
|
||||
'llxFooter',
|
||||
'menuDropdownQuickaddItems',
|
||||
'menuLeftMenuItems',
|
||||
'moveUploadedFile',
|
||||
|
|
|
|||
|
|
@ -3213,6 +3213,17 @@ if (!function_exists("llxFooter")) {
|
|||
|
||||
$ext = 'layout='.$conf->browser->layout.'&version='.urlencode(DOL_VERSION);
|
||||
|
||||
// Hook to add more things on all pages within fiche DIV
|
||||
$llxfooter = '';
|
||||
$parameters = array();
|
||||
$reshook = $hookmanager->executeHooks('llxFooter', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
|
||||
if (empty($reshook)) {
|
||||
$llxfooter .= $hookmanager->resPrint;
|
||||
} elseif ($reshook > 0) {
|
||||
$llxfooter = $hookmanager->resPrint;
|
||||
}
|
||||
print $llxfooter;
|
||||
|
||||
// Global html output events ($mesgs, $errors, $warnings)
|
||||
dol_htmloutput_events($disabledoutputofmessages);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user