mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-25 02:51:16 +00:00
add list of notifications to debug menu
This commit is contained in:
parent
987cc5d164
commit
1f6a3c7f77
|
@ -1019,10 +1019,12 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
}
|
||||
|
||||
if ($settings->_enableDebugMode) {
|
||||
if($accessobject->check_view_access(array('Hooks'))) {
|
||||
if($accessobject->check_view_access(array('Hooks', 'NotificationServices'))) {
|
||||
$menuitems['debug'] = array('link'=>"#", 'label'=>getMLText('debug'));
|
||||
if ($accessobject->check_view_access('Hooks'))
|
||||
$menuitems['debug']['children']['hooks'] = array('link'=>"../out/out.Hooks.php", 'label'=>getMLText('list_hooks'));
|
||||
if ($accessobject->check_view_access('NotificationServices'))
|
||||
$menuitems['debug']['children']['notification_services'] = array('link'=>"../out/out.NotificationServices.php", 'label'=>getMLText('list_notification_services'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -927,10 +927,12 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
}
|
||||
|
||||
if ($settings->_enableDebugMode) {
|
||||
if($accessobject->check_view_access(array('Hooks'))) {
|
||||
if($accessobject->check_view_access(array('Hooks', 'NotificationServices'))) {
|
||||
$menuitems['debug'] = array('link'=>"#", 'label'=>getMLText('debug'));
|
||||
if ($accessobject->check_view_access('Hooks'))
|
||||
$menuitems['debug']['children']['hooks'] = array('link'=>"../out/out.Hooks.php", 'label'=>getMLText('list_hooks'));
|
||||
if ($accessobject->check_view_access('NotificationServices'))
|
||||
$menuitems['debug']['children']['notification_services'] = array('link'=>"../out/out.NotificationServices.php", 'label'=>getMLText('list_notification_services'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user