From 74fbb0451c11eb4dd3a7f4974abfbff1c7568232 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Mon, 25 Jan 2010 22:45:52 +0000 Subject: [PATCH] enable hiding of services on menu bar if wanted git-svn-id: http://www.observium.org/svn/observer/trunk@725 61d68cd4-352d-0410-923a-c4978735b2b8 --- config.php.default | 1 + html/includes/print-menubar.php | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/config.php.default b/config.php.default index fd96bde62..2f30e48ce 100755 --- a/config.php.default +++ b/config.php.default @@ -86,6 +86,7 @@ $config['int_core'] = 1; # Enable Core Port Types $config['int_l2tp'] = 0; # Enable L2TP Port Types $config['show_locations'] = 1; # Enable Locations on menu +$config['show_services'] = 1; # Enable Services on menu $config['ports_page_default'] = "details/"; # Default devices ports page display type. "details/", "graphs/bits/", etc diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index a9d9cb944..07de735be 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -64,6 +64,11 @@ if ($_SESSION['userlevel'] >= '10') { +
  • Services
      @@ -86,6 +91,8 @@ if ($_SESSION['userlevel'] >= '10') { Locations'); } ?>