]> git.mxchange.org Git - friendica.git/blobdiff - include/nav.php
Merge remote-tracking branch 'friendika-master/master' into admin
[friendica.git] / include / nav.php
index b37863aa1eb5bc606b70ceabceb976e59673a329..238d87035dd72e490097d3ad7025d0ec89f82d46 100644 (file)
@@ -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'), "");
+        }
+
 
        /**
         *