diff options
author | plegall <plg@piwigo.org> | 2013-12-20 12:36:59 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2013-12-20 12:36:59 +0000 |
commit | 76315b650cf01ab577c190771869afbbc61f5827 (patch) | |
tree | affdcd4dd64b92c4757907b86992b08d0cc84f51 /admin/user_list_backend.php | |
parent | 6e058da6b3cf83072a6425609d662bc66f225300 (diff) |
feature 1668: translate user status in user list
git-svn-id: http://piwigo.org/svn/trunk@26049 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/user_list_backend.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/admin/user_list_backend.php b/admin/user_list_backend.php index 8bafde6df..7ccdb96d3 100644 --- a/admin/user_list_backend.php +++ b/admin/user_list_backend.php @@ -140,10 +140,9 @@ while ( $aRow = pwg_db_fetch_array( $rResult ) ) $row = array(); for ( $i=0 ; $i<count($aColumns) ; $i++ ) { - if ( $aColumns[$i] == "version" ) + if ( $aColumns[$i] == "status" ) { - /* Special output formatting for 'version' column */ - $row[] = ($aRow[ $aColumns[$i] ]=="0") ? '-' : $aRow[ $aColumns[$i] ]; + $row[] = l10n('user_status_'.$aRow[ $aColumns[$i] ]); } else if ( $aColumns[$i] != ' ' ) { |