use httpRoot to create absolute links instead of relative links

This commit is contained in:
Uwe Steinmann 2023-05-11 17:33:09 +02:00
parent 403d391d72
commit 5bd93d4efe

View File

@ -860,9 +860,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'));
}
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'))
$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
* first hook and passed to next hook. $this->callHook() will just pass