aboutsummaryrefslogtreecommitdiffstats
path: root/admin/user_list_backend.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2013-12-20 12:36:59 +0000
committerplegall <plg@piwigo.org>2013-12-20 12:36:59 +0000
commit76315b650cf01ab577c190771869afbbc61f5827 (patch)
treeaffdcd4dd64b92c4757907b86992b08d0cc84f51 /admin/user_list_backend.php
parent6e058da6b3cf83072a6425609d662bc66f225300 (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 'admin/user_list_backend.php')
-rw-r--r--admin/user_list_backend.php5
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] != ' ' )
{