diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index e42c634e93..a24f91c752 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -140,11 +140,17 @@ if ($_SESSION['userlevel'] >= '10') { '); } - echo(' + echo ' -
  • Manage Groups
  • + '; + + if ($config['navbar']['manage_groups']['hide'] === 0) { + echo '
  • Manage Groups
  • '; + } + + echo '
  • Add Device
  • -
  • Delete Device
  • '); +
  • Delete Device
  • '; } ?> diff --git a/includes/defaults.inc.php b/includes/defaults.inc.php index ff52c59abe..332c758c43 100644 --- a/includes/defaults.inc.php +++ b/includes/defaults.inc.php @@ -780,3 +780,6 @@ $config['mapael']['default_map'] = 'maps/world_countries. $config['leaflet']['default_lat'] = '50.898482'; $config['leaflet']['default_lng'] = '-3.401402'; $config['leaflet']['default_zoom'] = 2; + +// Navbar variables +$config['navbar']['manage_groups']['hide'] = 0;