ajout d'un hook pour ajouter des landingpage dans la liste de user_ihm
This commit is contained in:
parent
8ced29cb00
commit
303220a88f
@ -215,6 +215,14 @@ if (isModEnabled('ticket')) {
|
||||
$tmparray['ticket/list.php?mainmenu=ticket&leftmenu='] = 'Tickets';
|
||||
}
|
||||
|
||||
// Hook for insertion new items in the List of possible landing pages
|
||||
$reshook = $hookmanager->executeHooks('addToLandingPageList',$tmparray,$object);
|
||||
if ($reshook < 0) {
|
||||
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||
} else if ($reshook == 0) {
|
||||
$tmparray=$hookmanager->resArray;
|
||||
}
|
||||
|
||||
$head = user_prepare_head($object);
|
||||
|
||||
$title = $langs->trans("User");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user