Add the admin app

This commit is contained in:
friendica
2014-05-21 21:47:09 -07:00
parent 71a4abe293
commit 4d7fc304ea
3 changed files with 9 additions and 0 deletions

View File

@@ -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'),