NEW add hook 'addMoreInformationsBlock'
This commit is contained in:
parent
7618df8726
commit
3f7d5cf790
1 changed files with 7 additions and 0 deletions
|
|
@ -2088,6 +2088,13 @@ if ($action == 'create' || $action == 'adduserldap') {
|
|||
print '</table>';
|
||||
print '</div>';
|
||||
|
||||
// Other informations block
|
||||
$parameters = array('caneditpasswordandsee' => $permissiontoeditpasswordandsee, 'caneditpasswordandsend' => $permissiontoeditpasswordandsend);
|
||||
$reshook = $hookmanager->executeHooks('addMoreInformationsBlock', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
|
||||
if ($reshook > 0) {
|
||||
print $hookmanager->resPrint;
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
|
||||
print '</div>';
|
||||
|
|
|
|||
Loading…
Reference in a new issue