Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feature 1668: translate user status in user list
git-svn-id: http://piwigo.org/svn/trunk@26049 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Dec 20, 2013
1 parent 6e058da commit 76315b6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions admin/user_list_backend.php
Expand Up @@ -140,10 +140,9 @@
$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] != ' ' )
{
Expand Down

0 comments on commit 76315b6

Please sign in to comment.