diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index ac7a58bfbc..2091f81a5c 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++; +} ?>