]> git.mxchange.org Git - friendica.git/blobdiff - mod/admin.php
Admin panel: show if an account has expired
[friendica.git] / mod / admin.php
index fb333c3e5c389bfe69b8701f519ab7cdb4e45ba5..ecca0b8be3bf5cec455945d7ef98d2b4fcf7452f 100644 (file)
@@ -694,7 +694,7 @@ function admin_page_users(&$a){
        }
        
        
-       $users = q("SELECT `user` . * , `contact`.`name` , `contact`.`url` , `contact`.`micro`, `lastitem`.`lastitem_date`
+       $users = q("SELECT `user` . * , `contact`.`name` , `contact`.`url` , `contact`.`micro`, `lastitem`.`lastitem_date`, `user`.`account_expired`
                                FROM
                                        (SELECT MAX(`item`.`changed`) as `lastitem_date`, `item`.`uid`
                                        FROM `item`
@@ -718,7 +718,7 @@ function admin_page_users(&$a){
                        t('Normal Account'), 
                        t('Soapbox Account'),
                        t('Community/Celebrity Account'),
-                       t('Automatic Friend Account')
+                        t('Automatic Friend Account')
                );
                $e['page-flags'] = $accounts[$e['page-flags']];
                $e['register_date'] = relative_date($e['register_date']);
@@ -756,6 +756,7 @@ function admin_page_users(&$a){
                '$block' => t('Block'),
                '$unblock' => t('Unblock'),
         '$siteadmin' => t('Site admin'),
+        '$accountexpired' => t('Account expired'),
                
                '$h_users' => t('Users'),
                '$th_users' => array( t('Name'), t('Email'), t('Register date'), t('Last login'), t('Last item'),  t('Account') ),