diff options
-rw-r--r-- | htdocs/index.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/htdocs/index.php b/htdocs/index.php index 981dea6..c1ac7d7 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -59,10 +59,14 @@ foreach($ps as $p) { <?php $menu = $config->value('menu'); if(sizeof($menu)) { + $idx = 1; foreach($menu as $_m => $_t) { + if($idx != 1) { + echo " <div class=\"seperator\"></div>\n"; + } echo " <a href=\"?page=".$_m."\" class=\"menu_entry_".$_m."\"></a>\n"; echo " <a href=\"?page=".$_m."\" class=\"menutitle\">".$_t."</a>\n"; - echo "\n"; + $idx++; } } ?> |