diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index e4b27e781..6dfc28185 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -184,7 +184,9 @@ background-image: linear-gradient(to bottom, #882222, #111111);; echo "
  • ".getMLText("my_account")."
  • \n"; echo "
  • \n"; } + $showdivider = false; if($this->params['enablelanguageselector']) { + $showdivider = true; echo "
  • \n"; echo " ".getMLText("language")."\n"; echo " \n"; echo "
  • \n"; } - if($this->params['user']->isAdmin()) + if($this->params['user']->isAdmin()) { + $showdivider = true; echo "
  • ".getMLText("substitute_user")."
  • \n"; - echo "
  • \n"; + } + if($showdivider) + echo "
  • \n"; if($this->params['session']->getSu()) { echo "
  • ".getMLText("sign_out_user")."
  • \n"; } else {