mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
add Dashboard to menu
This commit is contained in:
parent
8b7eae47d3
commit
ed695a6e49
|
@ -347,6 +347,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
echo " <ul class=\"dropdown-menu\" role=\"menu\">\n";
|
||||
if (!$this->params['user']->isGuest()) {
|
||||
$menuitems = array();
|
||||
if ($accessobject->check_view_access('Dashboard'))
|
||||
$menuitems['dashboard'] = array('link'=>$this->params['settings']->_httpRoot."out/out.Dashboard.php", 'label'=>getMLText('dashboard'));
|
||||
if ($accessobject->check_view_access('MyDocuments'))
|
||||
$menuitems['my_documents'] = array('link'=>$this->params['settings']->_httpRoot."out/out.MyDocuments.php?inProcess=1", 'label'=>getMLText('my_documents'));
|
||||
if ($accessobject->check_view_access('MyAccount'))
|
||||
|
|
|
@ -415,6 +415,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
echo " <div class=\"dropdown-menu dropdown-menu-right\" aria-labelledby=\"navbarMainUser\">\n";
|
||||
if (!$this->params['user']->isGuest()) {
|
||||
$menuitems = array();
|
||||
if ($accessobject->check_view_access('Dashboard'))
|
||||
$menuitems['dashboard'] = array('link'=>$this->params['settings']->_httpRoot."out/out.Dashboard.php", 'label'=>getMLText('dashboard'));
|
||||
if ($accessobject->check_view_access('MyDocuments'))
|
||||
$menuitems['my_documents'] = array('link'=>$this->params['settings']->_httpRoot."out/out.MyDocuments.php?inProcess=1", 'label'=>getMLText('my_documents'));
|
||||
if ($accessobject->check_view_access('MyAccount'))
|
||||
|
|
Loading…
Reference in New Issue
Block a user