From e5a56f5ebae5b5e7b7b7e7121cddce52fa82ae6a Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 21 Apr 2020 15:51:40 +0200 Subject: [PATCH] allow menu children in globalNavigationBar --- views/bootstrap/class.Bootstrap.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index a508ff308..0b1e12c81 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -394,7 +394,17 @@ background-image: linear-gradient(to bottom, #882222, #111111);; } } foreach($menuitems as $menuitem) { - echo "
  • ".getMLText($menuitem['label'])."
  • "; + if(!empty($menuitem['children'])) { + echo "
  • \n"; + echo " ".getMLText($menuitem['label'])." \n"; + echo " \n"; + } else { + echo "
  • ".getMLText($menuitem['label'])."
  • "; + } } echo " \n"; echo "
    ";