NEW add hook moreHtmlStatus to complete to status on banners
This commit is contained in:
parent
bbef8b0ce6
commit
575fc9f90d
@ -154,6 +154,7 @@ class HookManager
|
||||
'getIdProfUrl',
|
||||
'getDirList',
|
||||
'moveUploadedFile',
|
||||
'moreHtmlStatus',
|
||||
'pdf_build_address',
|
||||
'pdf_writelinedesc',
|
||||
'pdf_getlinenum',
|
||||
|
||||
@ -6285,6 +6285,11 @@ class Form
|
||||
{
|
||||
$ret.='</ul></div>';
|
||||
}
|
||||
|
||||
$parameters=array();
|
||||
$reshook=$hookmanager->executeHooks('moreHtmlStatus',$parameters, $object); // Note that $action and $object may have been modified by hook
|
||||
if (empty($reshook)) $morehtmlstatus.=$hookmanager->resPrint;
|
||||
else $morehtmlstatus=$hookmanager->resPrint;
|
||||
if ($morehtmlstatus) $ret.='<div class="statusref">'.$morehtmlstatus.'</div>';
|
||||
|
||||
// Left part of banner
|
||||
|
||||
Loading…
Reference in New Issue
Block a user