mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 21:16:07 +00:00
use httpRoot for absolute links instead of relative links
This commit is contained in:
parent
eebe9d48d3
commit
2ccbe2b9c7
|
@ -901,7 +901,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
||||||
if ($accessobject->check_view_access('ManageNotify'))
|
if ($accessobject->check_view_access('ManageNotify'))
|
||||||
$menuitems['edit_notify'] = array('link'=>$this->params['settings']->_httpRoot."out/out.ManageNotify.php", 'label'=>getMLText('edit_existing_notify'));
|
$menuitems['edit_notify'] = array('link'=>$this->params['settings']->_httpRoot."out/out.ManageNotify.php", 'label'=>getMLText('edit_existing_notify'));
|
||||||
|
|
||||||
$menuitems['2_factor_auth'] = array('link'=>"../out/out.Setup2Factor.php", 'label'=>getMLText('2_factor_auth'));
|
$menuitems['2_factor_auth'] = array('link'=>$this->params['settings']->_httpRoot."out/out.Setup2Factor.php", 'label'=>getMLText('2_factor_auth'));
|
||||||
|
|
||||||
if ($this->params['enableusersview']){
|
if ($this->params['enableusersview']){
|
||||||
if ($accessobject->check_view_access('UsrView'))
|
if ($accessobject->check_view_access('UsrView'))
|
||||||
|
@ -947,9 +947,9 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
||||||
$menuitems['workflow_summary'] = array('link'=>$this->params['settings']->_httpRoot."out/out.WorkflowSummary.php", 'label'=>getMLText('workflow_summary'));
|
$menuitems['workflow_summary'] = array('link'=>$this->params['settings']->_httpRoot."out/out.WorkflowSummary.php", 'label'=>getMLText('workflow_summary'));
|
||||||
}
|
}
|
||||||
if ($accessobject->check_view_access('ReceiptSummary'))
|
if ($accessobject->check_view_access('ReceiptSummary'))
|
||||||
$menuitems['receipt_summary'] = array('link'=>"../out/out.ReceiptSummary.php", 'label'=>getMLText('receipt_summary'));
|
$menuitems['receipt_summary'] = array('link'=>$this->params['settings']->_httpRoot."out/out.ReceiptSummary.php", 'label'=>getMLText('receipt_summary'));
|
||||||
if ($accessobject->check_view_access('RevisionSummary'))
|
if ($accessobject->check_view_access('RevisionSummary'))
|
||||||
$menuitems['revision_summary'] = array('link'=>"../out/out.RevisionSummary.php", 'label'=>getMLText('revision_summary'));
|
$menuitems['revision_summary'] = array('link'=>$this->params['settings']->_httpRoot."out/out.RevisionSummary.php", 'label'=>getMLText('revision_summary'));
|
||||||
|
|
||||||
/* Do not use $this->callHook() because $menuitems must be returned by the the
|
/* Do not use $this->callHook() because $menuitems must be returned by the the
|
||||||
* first hook and passed to next hook. $this->callHook() will just pass
|
* first hook and passed to next hook. $this->callHook() will just pass
|
||||||
|
@ -1057,11 +1057,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'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -818,7 +818,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
||||||
if ($accessobject->check_view_access('ManageNotify'))
|
if ($accessobject->check_view_access('ManageNotify'))
|
||||||
$menuitems['edit_notify'] = array('link'=>$this->params['settings']->_httpRoot."out/out.ManageNotify.php", 'label'=>getMLText('edit_existing_notify'));
|
$menuitems['edit_notify'] = array('link'=>$this->params['settings']->_httpRoot."out/out.ManageNotify.php", 'label'=>getMLText('edit_existing_notify'));
|
||||||
|
|
||||||
$menuitems['2_factor_auth'] = array('link'=>"../out/out.Setup2Factor.php", 'label'=>getMLText('2_factor_auth'));
|
$menuitems['2_factor_auth'] = array('link'=>$this->params['settings']->_httpRoot."out/out.Setup2Factor.php", 'label'=>getMLText('2_factor_auth'));
|
||||||
|
|
||||||
if ($this->params['enableusersview']){
|
if ($this->params['enableusersview']){
|
||||||
if ($accessobject->check_view_access('UsrView'))
|
if ($accessobject->check_view_access('UsrView'))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user