aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-16 15:29:04 -0700
committerFriendika <info@friendika.com>2011-06-16 15:29:04 -0700
commitbb73c0b9f307accaa284820aaa11852c8481682f (patch)
treecc192702c535f5a477e72cd873ecf4f80c4568dc /include/nav.php
parent0f3292fefb96016ad98b8f25746824d9e3cff31e (diff)
parent6709beb2ac776bb06bd0d9d7749faac9a065863c (diff)
downloadvolse-hubzilla-bb73c0b9f307accaa284820aaa11852c8481682f.tar.gz
volse-hubzilla-bb73c0b9f307accaa284820aaa11852c8481682f.tar.bz2
volse-hubzilla-bb73c0b9f307accaa284820aaa11852c8481682f.zip
Merge branch 'pull'
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'), "");
+ }
+
/**
*