mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 01:32:59 +02:00
merge -r2088 from branch-1_7 to trunk
- urls used in http redirections must not be html escaped (eg. should use & instead of &) git-svn-id: http://piwigo.org/svn/trunk@2089 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+2
-8
@@ -440,11 +440,7 @@ DELETE FROM '.USER_GROUP_TABLE.'
|
||||
redirect(
|
||||
PHPWG_ROOT_PATH.
|
||||
'admin.php'.
|
||||
get_query_string_diff(
|
||||
array(
|
||||
'start'
|
||||
)
|
||||
)
|
||||
get_query_string_diff(array(), false)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -834,12 +830,11 @@ foreach ($visible_user_list as $num => $local_user)
|
||||
}
|
||||
|
||||
$properties = array();
|
||||
$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'];
|
||||
|
||||
$properties[] = l10n( sprintf('Level %d', $local_user['level']) );
|
||||
|
||||
$template->assign_block_vars(
|
||||
'user',
|
||||
array(
|
||||
@@ -859,7 +854,6 @@ foreach ($visible_user_list as $num => $local_user)
|
||||
'EMAIL' => get_email_address_as_display_text($local_user['email']),
|
||||
'GROUPS' => $groups_string,
|
||||
'PROPERTIES' => implode( ',', $properties),
|
||||
|
||||
)
|
||||
);
|
||||
trigger_action('loc_assign_block_var_local_user_list', $local_user);
|
||||
|
||||
Reference in New Issue
Block a user