aboutsummaryrefslogtreecommitdiffstats
path: root/admin/user_list.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-09-13 01:06:34 +0000
committerrvelices <rv-github@modusoptimus.com>2007-09-13 01:06:34 +0000
commit98c804aba2dae42e0f3685990a9f505176102f08 (patch)
tree1b32a9a46cfeafb70aab1a8bd6deb01f54513d44 /admin/user_list.php
parent69d0dae55d52338e5ef96074e2af2215a93b63fa (diff)
feature 731: permissions at image level
- possibility to change image level from picture_modify - language change "Public" to "---" - possibility to sort users by level on user_list page git-svn-id: http://piwigo.org/svn/trunk@2090 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/user_list.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/admin/user_list.php b/admin/user_list.php
index 8845f4ebe..f9f92cbad 100644
--- a/admin/user_list.php
+++ b/admin/user_list.php
@@ -179,7 +179,9 @@ check_status(ACCESS_ADMINISTRATOR);
$page['order_by_items'] = array(
'id' => $lang['registration_date'],
- 'username' => $lang['Username']
+ 'username' => $lang['Username'],
+ 'level' => l10n('Privacy level'),
+ 'language' => l10n('language'),
);
$page['direction_items'] = array(
@@ -830,7 +832,10 @@ foreach ($visible_user_list as $num => $local_user)
}
$properties = array();
- $properties[] = l10n( sprintf('Level %d', $local_user['level']) );
+ if ( $local_user['level'] != 0 )
+ {
+ $properties[] = l10n( sprintf('Level %d', $local_user['level']) );
+ }
$properties[] =
(isset($local_user['enabled_high']) and ($local_user['enabled_high'] == 'true'))
? $lang['is_high_enabled'] : $lang['is_high_disabled'];
@@ -853,7 +858,7 @@ foreach ($visible_user_list as $num => $local_user)
? '<BR />['.l10n('adviser').']' : ''),
'EMAIL' => get_email_address_as_display_text($local_user['email']),
'GROUPS' => $groups_string,
- 'PROPERTIES' => implode( ',', $properties),
+ 'PROPERTIES' => implode( ', ', $properties),
)
);
trigger_action('loc_assign_block_var_local_user_list', $local_user);