aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-16 15:27:12 -0700
committerFriendika <info@friendika.com>2011-06-16 15:27:12 -0700
commitb61a7158da4c8a0b41651a082f0ce2f9ad431f14 (patch)
tree04257f59cd49725522aee9e210ab740970ab48f4 /include/nav.php
parentc92e6ed929ddb12a3020eecf419a30b680fe4240 (diff)
parenta652cd5095fcff6ed9c72063ab19107e970e2b8d (diff)
downloadvolse-hubzilla-b61a7158da4c8a0b41651a082f0ce2f9ad431f14.tar.gz
volse-hubzilla-b61a7158da4c8a0b41651a082f0ce2f9ad431f14.tar.bz2
volse-hubzilla-b61a7158da4c8a0b41651a082f0ce2f9ad431f14.zip
Merge pull request #116 from fabrixxm/admin
Admin pages
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/nav.php b/include/nav.php
index b37863aa1..238d87035 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'), "");
+ }
+
/**
*