From 75e80d8feef5e03bd44998c516c354c570d386e5 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Tue, 26 Apr 2011 15:18:59 +0000 Subject: [PATCH] remove broken entries from the bottom of health dropdown (?!) git-svn-id: http://www.observium.org/svn/observer/trunk@2169 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/print-menubar.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 2091f81a5..ac7a58bfb 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -252,17 +252,17 @@ foreach (array('current','frequency','power','voltage') as $item) } # Show remaining/custom sensor types if there are any in the database -if ($menu_sensors && $sep) -{ - echo('

  • '); - $sep = 0; -} +#if ($menu_sensors && $sep) +#{ +# echo('

  • '); +# $sep = 0; +#} -foreach (array_keys($menu_sensors) as $item) -{ - echo ('
  • '.ucfirst($item).'
  • '); - unset($menu_sensors[$item]);$sep++; -} +#foreach (array_keys($menu_sensors) as $item) +#{ +# echo ('
  • '.ucfirst($item).'
  • '); +# unset($menu_sensors[$item]);$sep++; +#} ?>