summaryrefslogtreecommitdiff
path: root/includes/sys_menu.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-03 00:22:11 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-03 00:22:11 +0200
commit32b3ce5f900cf0d378f77a6675b989ee0e641f13 (patch)
tree2fa10cafaf731ffd8ba1e795b72cd72f73e6ae8b /includes/sys_menu.php
parent576c9680cf8650b6120bbb1e8ae3befdeae4155e (diff)
admin questions
Diffstat (limited to 'includes/sys_menu.php')
-rw-r--r--includes/sys_menu.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/sys_menu.php b/includes/sys_menu.php
index 6cddf66a..c3dfa041 100644
--- a/includes/sys_menu.php
+++ b/includes/sys_menu.php
@@ -29,6 +29,7 @@ function make_navigation() {
// Admin Navigation
$menu .= make_navigation_for(Get_Text('admin/'), array (
+ "admin_questions",
"admin_angel_types",
"admin_rooms",
"admin_groups"
@@ -39,9 +40,13 @@ function make_navigation() {
function make_navigation_for($name, $pages) {
global $privileges, $p;
+ $specials = array (
+ "faq"
+ );
+
$menu = "";
foreach ($pages as $page)
- if (in_array($page, $privileges))
+ if (in_array($page, $privileges) || in_array($page, $specials))
$menu .= '<li' . ($page == $p ? ' class="selected"' : '') . '><a href="' . page_link_to($page) . '">' . Get_Text($page) . '</a></li>';
if ($menu != "")