aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-06-13 12:52:52 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-06-13 12:52:52 +0200
commit494288ab9f9370bdf4f7b4ab9990b64f05adbd9d (patch)
treefebd0240d162c61ffd4b1c17a6afd13e0b2fedf9 /include
parent3364c2a2d8ab88703c5566a39df13ef1042f8644 (diff)
downloadvolse-hubzilla-494288ab9f9370bdf4f7b4ab9990b64f05adbd9d.tar.gz
volse-hubzilla-494288ab9f9370bdf4f7b4ab9990b64f05adbd9d.tar.bz2
volse-hubzilla-494288ab9f9370bdf4f7b4ab9990b64f05adbd9d.zip
Add admin page in nav
Diffstat (limited to 'include')
-rw-r--r--include/nav.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/nav.php b/include/nav.php
index 66fdbc49b..5e50a8b79 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -107,10 +107,15 @@ function nav(&$a) {
$nav['settings'] = array('settings', t('Settings'),"");
$nav['profiles'] = array('profiles', t('Profiles'),"");
$nav['contacts'] = array('contacts', t('Contacts'),"");
-
-
}
+ /**
+ * Admin page
+ */
+ if (is_site_admin()){
+ $nav['admin'] = array('admin/', t('Admin'), "");
+ }
+
/**
*