mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-07-15 08:58:10 +00:00
use httpRoot to create absolute links instead of using relative links
This commit is contained in:
parent
24c6cbb5f7
commit
9fdb5c5e15
|
@ -950,11 +950,11 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
||||||
if($accessobject->check_view_access(array('Hooks', 'NotificationServices'))) {
|
if($accessobject->check_view_access(array('Hooks', 'NotificationServices'))) {
|
||||||
$menuitems['debug'] = array('link'=>"#", 'label'=>getMLText('debug'));
|
$menuitems['debug'] = array('link'=>"#", 'label'=>getMLText('debug'));
|
||||||
if ($accessobject->check_view_access('Hooks'))
|
if ($accessobject->check_view_access('Hooks'))
|
||||||
$menuitems['debug']['children']['hooks'] = array('link'=>"../out/out.Hooks.php", 'label'=>getMLText('list_hooks'));
|
$menuitems['debug']['children']['hooks'] = array('link'=>$this->params['settings']->_httpRoot."out/out.Hooks.php", 'label'=>getMLText('list_hooks'));
|
||||||
if ($accessobject->check_view_access('NotificationServices'))
|
if ($accessobject->check_view_access('NotificationServices'))
|
||||||
$menuitems['debug']['children']['notification_services'] = array('link'=>"../out/out.NotificationServices.php", 'label'=>getMLText('list_notification_services'));
|
$menuitems['debug']['children']['notification_services'] = array('link'=>$this->params['settings']->_httpRoot."out/out.NotificationServices.php", 'label'=>getMLText('list_notification_services'));
|
||||||
if ($accessobject->check_view_access('ConversionServices'))
|
if ($accessobject->check_view_access('ConversionServices'))
|
||||||
$menuitems['debug']['children']['conversion_services'] = array('link'=>"../out/out.ConversionServices.php", 'label'=>getMLText('list_conversion_services'));
|
$menuitems['debug']['children']['conversion_services'] = array('link'=>$this->params['settings']->_httpRoot."out/out.ConversionServices.php", 'label'=>getMLText('list_conversion_services'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -938,11 +938,11 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
||||||
if($accessobject->check_view_access(array('Hooks', 'NotificationServices'))) {
|
if($accessobject->check_view_access(array('Hooks', 'NotificationServices'))) {
|
||||||
$menuitems['debug'] = array('link'=>"#", 'label'=>getMLText('debug'));
|
$menuitems['debug'] = array('link'=>"#", 'label'=>getMLText('debug'));
|
||||||
if ($accessobject->check_view_access('Hooks'))
|
if ($accessobject->check_view_access('Hooks'))
|
||||||
$menuitems['debug']['children']['hooks'] = array('link'=>"../out/out.Hooks.php", 'label'=>getMLText('list_hooks'));
|
$menuitems['debug']['children']['hooks'] = array('link'=>$this->params['settings']->_httpRoot."out/out.Hooks.php", 'label'=>getMLText('list_hooks'));
|
||||||
if ($accessobject->check_view_access('NotificationServices'))
|
if ($accessobject->check_view_access('NotificationServices'))
|
||||||
$menuitems['debug']['children']['notification_services'] = array('link'=>"../out/out.NotificationServices.php", 'label'=>getMLText('list_notification_services'));
|
$menuitems['debug']['children']['notification_services'] = array('link'=>$this->params['settings']->_httpRoot."out/out.NotificationServices.php", 'label'=>getMLText('list_notification_services'));
|
||||||
if ($accessobject->check_view_access('ConversionServices'))
|
if ($accessobject->check_view_access('ConversionServices'))
|
||||||
$menuitems['debug']['children']['conversion_services'] = array('link'=>"../out/out.ConversionServices.php", 'label'=>getMLText('list_conversion_services'));
|
$menuitems['debug']['children']['conversion_services'] = array('link'=>$this->params['settings']->_httpRoot."out/out.ConversionServices.php", 'label'=>getMLText('list_conversion_services'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user