diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php
index c0b200ac1..7237b1420 100644
--- a/views/bootstrap/class.Bootstrap.php
+++ b/views/bootstrap/class.Bootstrap.php
@@ -372,10 +372,27 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
echo " \n";
echo " \n";
echo " \n";
- echo " params['dms']->getRootFolder()->getId()."\">".(strlen($this->params['sitename'])>0 ? $this->params['sitename'] : "SeedDMS")."\n";
+ echo " params['dms']->getRootFolder()->getId()."\">
";
+ echo " params['dms']->getRootFolder()->getId()."\">".(strlen($this->params['sitename'])>0 ? $this->params['sitename'] : "SeedDMS")."\n";
/* user profile menu {{{ */
if(isset($this->params['session']) && isset($this->params['user']) && $this->params['user']) {
+ /* search form {{{ */
+ echo "
\n";
+ /* }}} End of search form */
+
echo " \n";
echo "
\n";
echo " - \n";
@@ -485,12 +502,15 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
echo "
\n";
$menuitems = array();
+ /* calendar {{{ */
if ($this->params['enablecalendar'] && $accessobject->check_view_access('Calendar')) $menuitems['calendar'] = array('link'=>'../out/out.Calendar.php?mode='.$this->params['calendardefaultview'], 'label'=>"calendar");
if ($accessobject->check_view_access('AdminTools')) $menuitems['admintools'] = array('link'=>'../out/out.AdminTools.php', 'label'=>"admin_tools");
if($this->params['enablehelp']) {
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
$menuitems['help'] = array('link'=>'../out/out.Help.php?context='.$tmp[1], 'label'=>"help");
}
+ /* }}} End of calendar */
+
/* Check if hook exists because otherwise callHook() will override $menuitems */
if($this->hasHook('globalNavigationBar'))
$menuitems = $this->callHook('globalNavigationBar', $menuitems);
@@ -508,22 +528,6 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
}
}
echo "
\n";
-
- /* search form {{{ */
- echo " \n";
- /* }}} End of search form */
echo "
\n";
}
echo " \n";
diff --git a/views/bootstrap4/class.Bootstrap4.php b/views/bootstrap4/class.Bootstrap4.php
index 76956aa6c..f3d6de993 100644
--- a/views/bootstrap4/class.Bootstrap4.php
+++ b/views/bootstrap4/class.Bootstrap4.php
@@ -306,6 +306,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
$accessobject = $this->params['accessobject'];
echo "