diff --git a/Weathermap.php b/Weathermap.php index 688a5d79..20b10516 100644 --- a/Weathermap.php +++ b/Weathermap.php @@ -1,7 +1,5 @@ '; $count = 0; + + $short = __CLASS__; + foreach ($files as $file=>$data) { $nicefile = htmlspecialchars($file); - $submenu .= '
  • '.htmlspecialchars($data['title']).'
  • '; + $submenu .= '
  • '.htmlspecialchars($data['title']).'
  • '; $count ++; } $submenu .= ' '; //Display it if not empty if ($count > 0) { - echo(''); } else { //Create menu without submenu - echo('
  • Weathermap
  • '); + echo('
  • '.$short.'
  • '); } } }