diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-06-13 12:52:52 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-06-13 12:52:52 +0200 |
commit | 494288ab9f9370bdf4f7b4ab9990b64f05adbd9d (patch) | |
tree | febd0240d162c61ffd4b1c17a6afd13e0b2fedf9 /include/nav.php | |
parent | 3364c2a2d8ab88703c5566a39df13ef1042f8644 (diff) | |
download | volse-hubzilla-494288ab9f9370bdf4f7b4ab9990b64f05adbd9d.tar.gz volse-hubzilla-494288ab9f9370bdf4f7b4ab9990b64f05adbd9d.tar.bz2 volse-hubzilla-494288ab9f9370bdf4f7b4ab9990b64f05adbd9d.zip |
Add admin page in nav
Diffstat (limited to 'include/nav.php')
-rw-r--r-- | include/nav.php | 9 |
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'), ""); + } + /** * |