aboutsummaryrefslogtreecommitdiffstats
path: root/admin/user_list.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-01-30 22:07:07 +0000
committerrub <rub@piwigo.org>2008-01-30 22:07:07 +0000
commit69159c0e9238fd369dca2181af6fb9de47b14440 (patch)
tree545ea813c006506d1bde84e0da8cc5f7b686cd03 /admin/user_list.php
parentd5015da6ec45bbb08732b28dfbfe9e089504c08d (diff)
Replace old use of $lang by l10n function.
git-svn-id: http://piwigo.org/svn/trunk@2201 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/user_list.php')
-rw-r--r--admin/user_list.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/admin/user_list.php b/admin/user_list.php
index 44da05558..6e648101f 100644
--- a/admin/user_list.php
+++ b/admin/user_list.php
@@ -178,15 +178,15 @@ include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
check_status(ACCESS_ADMINISTRATOR);
$page['order_by_items'] = array(
- 'id' => $lang['registration_date'],
- 'username' => $lang['Username'],
+ 'id' => l10n('registration_date'),
+ 'username' => l10n('Username'),
'level' => l10n('Privacy level'),
'language' => l10n('language'),
);
$page['direction_items'] = array(
- 'asc' => $lang['ascending'],
- 'desc' => $lang['descending']
+ 'asc' => l10n('ascending'),
+ 'desc' => l10n('descending')
);
// +-----------------------------------------------------------------------+
@@ -568,7 +568,7 @@ foreach (get_enums(USER_INFOS_TABLE, 'status') as $status)
$blockname,
array(
'VALUE' => $status,
- 'CONTENT' => $lang['user_status_'.$status],
+ 'CONTENT' => l10n('user_status_'.$status),
'SELECTED' => $selected
));
}
@@ -688,7 +688,7 @@ foreach (get_enums(USER_INFOS_TABLE, 'status') as $status)
$blockname,
array(
'VALUE' => $status,
- 'CONTENT' => $lang['user_status_'.$status],
+ 'CONTENT' => l10n('user_status_'.$status),
'SELECTED' => $selected
));
}
@@ -838,7 +838,7 @@ foreach ($visible_user_list as $num => $local_user)
}
$properties[] =
(isset($local_user['enabled_high']) and ($local_user['enabled_high'] == 'true'))
- ? $lang['is_high_enabled'] : $lang['is_high_disabled'];
+ ? l10n('is_high_enabled') : l10n('is_high_disabled');
$template->assign_block_vars(
'user',
@@ -853,8 +853,8 @@ foreach ($visible_user_list as $num => $local_user)
? '<BR />['.l10n('is_the_guest').']' : '')
.($local_user['id'] == $conf['default_user_id']
? '<BR />['.l10n('is_the_default').']' : ''),
- 'STATUS' => $lang['user_status_'.
- $local_user['status']].(($local_user['adviser'] == 'true')
+ 'STATUS' => l10n('user_status_'.
+ $local_user['status']).(($local_user['adviser'] == 'true')
? '<BR />['.l10n('adviser').']' : ''),
'EMAIL' => get_email_address_as_display_text($local_user['email']),
'GROUPS' => $groups_string,