diff options
author | deva <deva> | 2009-04-29 06:33:06 +0000 |
---|---|---|
committer | deva <deva> | 2009-04-29 06:33:06 +0000 |
commit | 67b56b8509114d42fab71a190a19534c23313319 (patch) | |
tree | f2160aa30c791bf33186da94ae8fbc5c40761934 | |
parent | e576c5f8ee44d1acfbac128631f9c203fdc26e27 (diff) |
Added menu seperator.
-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++; } } ?> |