diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php
index c7878b6af..1b1ba936f 100644
--- a/views/bootstrap/class.Bootstrap.php
+++ b/views/bootstrap/class.Bootstrap.php
@@ -100,7 +100,7 @@ class SeedDMS_Theme_Style extends SeedDMS_View_Common {
echo ''."\n";
$sitename = trim(strip_tags($this->params['sitename']));
if($this->params['session'])
- echo ''."\n";
+ echo ''."\n";
echo ''."\n";
echo ''."\n";
echo ''."\n";
@@ -301,7 +301,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
echo "
\n";
echo "\n";
@@ -320,7 +320,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
echo " \n";
echo " \n";
echo " extraheader['logolink']) ? $this->extraheader['logolink'] : $this->params['settings']->_httpRoot."out/out.ViewFolder.php")."\">".(!empty($this->extraheader['logo']) ? '
' : '
')."";
- echo " extraheader['logolink']) ? $this->extraheader['logolink'] : $this->params['settings']->_httpRoot."out/out.ViewFolder.php")."\">".(strlen($this->params['sitename'])>0 ? $this->params['sitename'] : "SeedDMS")."\n";
+ echo " extraheader['logolink']) ? $this->extraheader['logolink'] : $this->params['settings']->_httpRoot."out/out.ViewFolder.php")."\">".(strlen($this->params['sitename'])>0 ? $this->params['sitename'] : "")."\n";
/* user profile menu {{{ */
if(isset($this->params['session']) && isset($this->params['user']) && $this->params['user']) {
diff --git a/views/bootstrap4/class.Bootstrap4.php b/views/bootstrap4/class.Bootstrap4.php
index 3388e9151..da399b0b1 100644
--- a/views/bootstrap4/class.Bootstrap4.php
+++ b/views/bootstrap4/class.Bootstrap4.php
@@ -102,7 +102,7 @@ class SeedDMS_Theme_Style extends SeedDMS_View_Common {
echo ''."\n";
$sitename = trim(strip_tags($this->params['sitename']));
if($this->params['session'])
- echo ''."\n";
+ echo ''."\n";
$parenttheme = 'bootstrap';
echo ''."\n";
echo ''."\n";
@@ -314,7 +314,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
function globalBanner() { /* {{{ */
echo "\n";
} /* }}} */
@@ -322,7 +322,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
$dms = $this->params['dms'];
$accessobject = $this->params['accessobject'];
echo "