diff --git a/phpBB/adm/style/acp_attachments.html b/phpBB/adm/style/acp_attachments.html
index 2cba5774f6..a8d6f92d71 100644
--- a/phpBB/adm/style/acp_attachments.html
+++ b/phpBB/adm/style/acp_attachments.html
@@ -59,10 +59,12 @@
-
+
+
+
+
+
+
{S_FORM_TOKEN}
@@ -311,10 +316,14 @@
-
-
-
-
+
+
+
+
+
+
+
+
{S_FORM_TOKEN}
@@ -385,10 +394,13 @@
-
-
-
-
+
+
+
+
+
+
+
{S_FORM_TOKEN}
diff --git a/phpBB/adm/style/acp_ban.html b/phpBB/adm/style/acp_ban.html
index d0eab75ad8..ffea40027e 100644
--- a/phpBB/adm/style/acp_ban.html
+++ b/phpBB/adm/style/acp_ban.html
@@ -73,12 +73,14 @@
-
-
-
-
-
-{S_FORM_TOKEN}
+
+
+
+
+
+
+
+ {S_FORM_TOKEN}
diff --git a/phpBB/adm/style/acp_contact.html b/phpBB/adm/style/acp_contact.html
index c46a2d7fed..9884e96aa3 100644
--- a/phpBB/adm/style/acp_contact.html
+++ b/phpBB/adm/style/acp_contact.html
@@ -66,9 +66,12 @@
-
-
-
+
+
+
+
+
+
{S_FORM_TOKEN}
diff --git a/phpBB/adm/style/acp_database.html b/phpBB/adm/style/acp_database.html
index d3433a8aa6..cb2b6d0d39 100644
--- a/phpBB/adm/style/acp_database.html
+++ b/phpBB/adm/style/acp_database.html
@@ -76,12 +76,15 @@
{L_SELECT_ALL} :: {L_DESELECT_ALL}
+
-
-
-
-
- {S_FORM_TOKEN}
+
+
+
+
+
+
+ {S_FORM_TOKEN}
diff --git a/phpBB/adm/style/acp_groups_position.html b/phpBB/adm/style/acp_groups_position.html
index 20ed9521f0..8e56b7b5d9 100644
--- a/phpBB/adm/style/acp_groups_position.html
+++ b/phpBB/adm/style/acp_groups_position.html
@@ -15,13 +15,15 @@
-
-
-
-
-
- {S_FORM_TOKEN}
-
+
+
+
+
+
+
+
+ {S_FORM_TOKEN}
+
diff --git a/phpBB/adm/style/acp_help_phpbb.html b/phpBB/adm/style/acp_help_phpbb.html
index 7d3c503e77..c88ed21dfa 100644
--- a/phpBB/adm/style/acp_help_phpbb.html
+++ b/phpBB/adm/style/acp_help_phpbb.html
@@ -43,6 +43,7 @@
+
@@ -53,6 +54,7 @@
diff --git a/phpBB/adm/style/acp_permissions.html b/phpBB/adm/style/acp_permissions.html
index 7766052c59..8042053028 100644
--- a/phpBB/adm/style/acp_permissions.html
+++ b/phpBB/adm/style/acp_permissions.html
@@ -340,9 +340,12 @@
-
-
- {S_FORM_TOKEN}
+
+
+
+
+ {S_FORM_TOKEN}
+
diff --git a/phpBB/adm/style/acp_prune_users.html b/phpBB/adm/style/acp_prune_users.html
index 6e8b2e4214..ecd1839250 100644
--- a/phpBB/adm/style/acp_prune_users.html
+++ b/phpBB/adm/style/acp_prune_users.html
@@ -7,7 +7,7 @@
{L_ACP_PRUNE_USERS_EXPLAIN}
diff --git a/phpBB/adm/style/acp_search.html b/phpBB/adm/style/acp_search.html
index 99620058dc..deae1234bb 100644
--- a/phpBB/adm/style/acp_search.html
+++ b/phpBB/adm/style/acp_search.html
@@ -59,10 +59,12 @@
-
-
-
-
+
+
+
+
+
+
{S_FORM_TOKEN}
@@ -89,10 +91,12 @@
{L_CONTINUE_EXPLAIN}
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php
index 389ea70e68..70d0c8cf58 100644
--- a/phpBB/includes/acp/acp_board.php
+++ b/phpBB/includes/acp/acp_board.php
@@ -134,12 +134,10 @@ class acp_board
'title' => 'ACP_AVATAR_SETTINGS',
'vars' => array(
'legend1' => 'ACP_AVATAR_SETTINGS',
-
'avatar_min_width' => array('lang' => 'MIN_AVATAR_SIZE', 'validate' => 'int:0', 'type' => false, 'method' => false, 'explain' => false),
'avatar_min_height' => array('lang' => 'MIN_AVATAR_SIZE', 'validate' => 'int:0', 'type' => false, 'method' => false, 'explain' => false),
'avatar_max_width' => array('lang' => 'MAX_AVATAR_SIZE', 'validate' => 'int:0', 'type' => false, 'method' => false, 'explain' => false),
'avatar_max_height' => array('lang' => 'MAX_AVATAR_SIZE', 'validate' => 'int:0', 'type' => false, 'method' => false, 'explain' => false),
-
'allow_avatar' => array('lang' => 'ALLOW_AVATARS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'avatar_min' => array('lang' => 'MIN_AVATAR_SIZE', 'validate' => 'int:0', 'type' => 'dimension:0', 'explain' => true, 'append' => ' ' . $user->lang['PIXEL']),
'avatar_max' => array('lang' => 'MAX_AVATAR_SIZE', 'validate' => 'int:0', 'type' => 'dimension:0', 'explain' => true, 'append' => ' ' . $user->lang['PIXEL']),
@@ -151,9 +149,7 @@ class acp_board
$display_vars['vars'] += $avatar_vars;
}
- $display_vars['vars'] += [
- 'legend2' => 'ACP_SUBMIT_CHANGES'
- ];
+ $display_vars['vars']['legend2'] = 'ACP_SUBMIT_CHANGES';
break;
case 'message':