summaryrefslogtreecommitdiff
path: root/includes/sys_menu.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-02 17:09:19 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-02 17:09:19 +0200
commitde66e87c6f0c81d73a27d62a38c162a7aba905ad (patch)
tree2ce9ebf15c660e3d54b495df429cfa2f1bb3e6df /includes/sys_menu.php
parented3a22e87e6481447c0fd718aa3cf83861cd18bc (diff)
fix register
Diffstat (limited to 'includes/sys_menu.php')
-rw-r--r--includes/sys_menu.php16
1 files changed, 15 insertions, 1 deletions
diff --git a/includes/sys_menu.php b/includes/sys_menu.php
index 6a24deaf..a2f8c577 100644
--- a/includes/sys_menu.php
+++ b/includes/sys_menu.php
@@ -8,8 +8,22 @@ function make_navigation() {
global $privileges;
$menu_items = $privileges;
$menu_items[] = "faq";
+ $menu = "";
- $menu = '<nav class="container"><h4>' . Get_Text('/') . '</h4><ul class="content">';
+ // Standard Navigation
+ $menu .= '<nav class="container"><h4>' . Get_Text('/') . '</h4><ul class="content">';
+ foreach ($menu_items as $item)
+ $menu .= '<li' . ($item == $p ? ' class="selected"' : '') . '><a href="' . page_link_to($item) . '">' . Get_Text($item) . '</a></li>';
+ $menu .= '</ul></nav>';
+
+ // Engel Navigation
+ $menu .= '<nav class="container"><h4>' . Get_Text('inc_schicht_engel') . '</h4><ul class="content">';
+ foreach ($menu_items as $item)
+ $menu .= '<li' . ($item == $p ? ' class="selected"' : '') . '><a href="' . page_link_to($item) . '">' . Get_Text($item) . '</a></li>';
+ $menu .= '</ul></nav>';
+
+ // Admin Navigation
+ $menu .= '<nav class="container"><h4>' . Get_Text('admin/') . '</h4><ul class="content">';
foreach ($menu_items as $item)
$menu .= '<li' . ($item == $p ? ' class="selected"' : '') . '><a href="' . page_link_to($item) . '">' . Get_Text($item) . '</a></li>';
$menu .= '</ul></nav>';