X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fadmin.php;h=ee048305483ab0ae98d60b9cabcf3cb7f3233c91;hb=31064a15eca8c70ff154e91116bb5928c99f7143;hp=5edb927559c87e220f4795aa0e5e27f2c30c2da1;hpb=e581c3476090d5d2e63c5a3a62d4ebd9d4bf2247;p=friendica.git diff --git a/mod/admin.php b/mod/admin.php index 5edb927559..ee04830548 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -664,6 +664,7 @@ function admin_page_users(&$a){ ); function _setup_users($e){ + $a = get_app(); $accounts = Array( t('Normal Account'), t('Soapbox Account'), @@ -674,6 +675,7 @@ function admin_page_users(&$a){ $e['register_date'] = relative_date($e['register_date']); $e['login_date'] = relative_date($e['login_date']); $e['lastitem_date'] = relative_date($e['lastitem_date']); + $e['is_admin'] = ($e['email'] === $a->config['admin_email']); return $e; } $users = array_map("_setup_users", $users); @@ -694,6 +696,7 @@ function admin_page_users(&$a){ '$delete' => t('Delete'), '$block' => t('Block'), '$unblock' => t('Unblock'), + '$siteadmin' => t('Site admin'), '$h_users' => t('Users'), '$th_users' => array( t('Name'), t('Email'), t('Register date'), t('Last login'), t('Last item'), t('Account') ),