diff --git a/phpBB/adm/admin_board.php b/phpBB/adm/admin_board.php
index 7217a70113..64dca4d6e4 100644
--- a/phpBB/adm/admin_board.php
+++ b/phpBB/adm/admin_board.php
@@ -238,7 +238,7 @@ if (isset($display_vars['lang']))
}
$new = $config;
-$cfg_array = (isset($_REQUEST['config'])) ? request_var('config', '') : $new;
+$cfg_array = (isset($_REQUEST['config'])) ? request_var('config', array('' => '')) : $new;
// We go through the display_vars to make sure no one is trying to set variables he/she is not allowed to...
foreach ($display_vars['vars'] as $config_name => $null)
diff --git a/phpBB/adm/admin_groups.php b/phpBB/adm/admin_groups.php
index 9187b66ddc..c758f4978d 100644
--- a/phpBB/adm/admin_groups.php
+++ b/phpBB/adm/admin_groups.php
@@ -42,7 +42,7 @@ $mode = request_var('mode', '');
$action = (isset($_POST['add'])) ? 'add' : ((isset($_POST['addusers'])) ? 'addusers' : request_var('action', ''));
$group_id = request_var('g', 0);
$mark_ary = request_var('mark', array(0));
-$name_ary = request_var('usernames', array('' => 0));
+$name_ary = request_var('usernames', '');
$leader = request_var('leader', 0);
$default = request_var('default', 0);
$start = request_var('start', 0);
@@ -235,6 +235,9 @@ function marklist(match, status)
trigger_error($user->lang['NO_GROUP']);
}
+ $error = array();
+ $user->add_lang('ucp');
+
// Did we submit?
if ($update)
{
@@ -251,6 +254,8 @@ function marklist(match, status)
$receive_pm = isset($_REQUEST['group_receive_pm']) ? 1 : 0;
$message_limit = request_var('group_message_limit', 0);
+ $avatar = '';
+
if (!empty($_FILES['uploadfile']['tmp_name']) || $data['uploadurl'] || $data['remotelink'])
{
$data['width'] = request_var('width', '');
@@ -361,6 +366,8 @@ function marklist(match, status)
$avatar_img = '';
}
+ $display_gallery = (isset($_POST['displaygallery'])) ? true : false;
+
?>
-
lang['USERNAME']; ?> | -lang['DEFAULT']; ?> | +lang['GROUP_DEFAULT']; ?> | lang['JOINED']; ?> | lang['POSTS']; ?> | lang['MARK']; ?> | @@ -627,6 +640,7 @@ function swatch() if (sizeof($group_data['leader'])) { + $row_class = ''; foreach ($group_data['leader'] as $row) { $row_class = ($row_class == 'row1') ? 'row2' : 'row1'; @@ -664,6 +678,7 @@ function swatch() { $pending = $group_data['member'][0]['user_pending']; + $row_class = ''; foreach ($group_data['member'] as $row) { if ($pending) @@ -680,12 +695,12 @@ function swatch() $row_class = ($row_class == 'row1') ? 'row2' : 'row1'; ?> -
---|---|---|---|---|---|
"> | -lang['YES'] : $user->lang['NO']; ?> | -format_date($row['user_regdate'], $user->lang['DATE_FORMAT']) : '-'; ?> | -- | + | |
"> | +lang['YES'] : $user->lang['NO']; ?> | +format_date($row['user_regdate'], $user->lang['DATE_FORMAT']) : '-'; ?> | ++ |
- | lang['MARK_ALL']; ?> :: lang['UNMARK_ALL']; ?> |
+
+ lang['MARK_ALL']; ?> :: lang['UNMARK_ALL']; ?> + + |
lang['ADD_USERS_EXPLAIN']; ?>
-lang['ADD_USERS']; ?> | lang['YES']; ?> lang['NO']; ?> | |
---|---|---|
lang['USERNAME']; ?>: lang['USERNAMES_EXPLAIN']; ?> [ ">lang['FIND_USERNAME']; ?> ] |
+ lang['USERNAME']; ?>: lang['USERNAMES_EXPLAIN']; ?> [ " target="usersearch">lang['FIND_USERNAME']; ?> ] |
|
lang['GROUP_MANAGE_EXPLAIN']; ?>
@@ -766,7 +784,9 @@ function swatch()lang['USER_DEF_GROUPS_EXPLAIN']; ?>
-lang['MANAGE']; ?> | lang['TOTAL_MEMBERS']; ?> | @@ -806,13 +826,13 @@ function swatch()|||
---|---|---|---|---|
lang['CREATE_GROUP']; ?>: |
lang['SPECIAL_GROUPS_EXPLAIN']; ?>
-lang['MANAGE']; ?> | lang['TOTAL_MEMBERS']; ?> | @@ -822,6 +842,7 @@ function swatch() } + $row_class = ''; foreach ($row_ary as $row) { $row_class = ($row_class != 'row1') ? 'row1' : 'row2'; @@ -830,12 +851,12 @@ function swatch() $group_name = (!empty($user->lang['G_' . $row['group_name']]))? $user->lang['G_' . $row['group_name']] : $row['group_name']; ?> -||||||||
---|---|---|---|---|---|---|---|---|---|
"> | -- | ">Defaultlang['']; ?> | -">lang['EDIT']; ?> | -"> + | "> | ++ | ">lang['GROUP_DEFAULT']; ?> | +">lang['EDIT']; ?> | +" . $user->lang['DELETE'] . '' : $user->lang['DELETE']; @@ -850,7 +871,8 @@ function swatch() |