From 4d7fc304ea9dd9b756aba406601739652c54f72d Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 21 May 2014 21:47:09 -0700 Subject: Add the admin app --- include/apps.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/apps.php b/include/apps.php index e632ae3d6..bf5b292d0 100644 --- a/include/apps.php +++ b/include/apps.php @@ -79,6 +79,10 @@ function parse_app_description($f) { if(local_user()) unset($ret); break; + case 'admin': + if(! is_site_admin()) + unset($ret); + break; case 'local_user': if(! local_user()) unset($ret); @@ -105,6 +109,7 @@ function parse_app_description($f) { function translate_system_apps(&$arr) { $apps = array( + 'Site Admin' => t('Site Admin'), 'Bookmarks' => t('Bookmarks'), 'Address Book' => t('Address Book'), 'Login' => t('Login'), -- cgit v1.2.3