From 2d35e6044300293916f26df4495af542b24c63a8 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Mon, 9 May 2011 22:53:08 +0200 Subject: [ticket/10154] Move "copy permissions from" to below "parent" on forum creation Move "copy permissions from" to below "parent forum" in forum creation form. PHPBB3-10154 --- phpBB/adm/style/acp_forums.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'phpBB/adm') diff --git a/phpBB/adm/style/acp_forums.html b/phpBB/adm/style/acp_forums.html index d27cea28f7..9201736085 100644 --- a/phpBB/adm/style/acp_forums.html +++ b/phpBB/adm/style/acp_forums.html @@ -140,6 +140,12 @@
+ +
+

{L_COPY_PERMISSIONS_EXPLAIN}
+
+
+
@@ -176,12 +182,6 @@
- -
-

{L_COPY_PERMISSIONS_EXPLAIN}
-
-
-
-- cgit v1.2.1 From 8fa44cc3b9778f84ca20eab1c1d404c4f848eab4 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 19 Oct 2010 17:06:23 +0200 Subject: [ticket/8542] Display custom profile fields in private messages Introduce an option to display the cpf in the PM view. PHPBB3-8542 --- phpBB/adm/style/acp_profile.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'phpBB/adm') diff --git a/phpBB/adm/style/acp_profile.html b/phpBB/adm/style/acp_profile.html index 85d37568c2..c1143e9ba4 100644 --- a/phpBB/adm/style/acp_profile.html +++ b/phpBB/adm/style/acp_profile.html @@ -55,6 +55,10 @@

{L_DISPLAY_AT_REGISTER_EXPLAIN}
checked="checked" />
+
+

{L_DISPLAY_ON_PM_EXPLAIN}
+
checked="checked" />
+

{L_DISPLAY_ON_VT_EXPLAIN}
checked="checked" />
-- cgit v1.2.1 From 4ddd116cd436f273fea04bd9f81d0a77b58e9d0e Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Fri, 3 Jun 2011 18:54:13 +0200 Subject: [ticket/8138] Add autocomplete="off" to a user and forum ACP. PHPBB3-8138 --- phpBB/adm/style/acp_forums.html | 4 ++-- phpBB/adm/style/acp_users_overview.html | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'phpBB/adm') diff --git a/phpBB/adm/style/acp_forums.html b/phpBB/adm/style/acp_forums.html index 9201736085..8577c08860 100644 --- a/phpBB/adm/style/acp_forums.html +++ b/phpBB/adm/style/acp_forums.html @@ -166,11 +166,11 @@

{L_FORUM_PASSWORD_EXPLAIN}
-
+

{L_FORUM_PASSWORD_CONFIRM_EXPLAIN}
-
+
diff --git a/phpBB/adm/style/acp_users_overview.html b/phpBB/adm/style/acp_users_overview.html index 911dcad293..9237e45daf 100644 --- a/phpBB/adm/style/acp_users_overview.html +++ b/phpBB/adm/style/acp_users_overview.html @@ -43,19 +43,19 @@
-
+

{L_CONFIRM_EMAIL_EXPLAIN}
-
+

{L_CHANGE_PASSWORD_EXPLAIN}
-
+

{L_CONFIRM_PASSWORD_EXPLAIN}
-
+

-- cgit v1.2.1 From f11ef89c657b0386ea5686dd8cc35dff79690adb Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Fri, 3 Jun 2011 19:06:12 +0200 Subject: [ticket/8138] Add autocomplete="off" to acp_board and ldap settings PHPBB3-8138 --- phpBB/adm/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/adm') diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index dd8f4c279d..f673e2af05 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -276,7 +276,7 @@ function build_cfg_template($tpl_type, $key, &$new, $config_key, $vars) $size = (int) $tpl_type[1]; $maxlength = (int) $tpl_type[2]; - $tpl = ''; + $tpl = ''; break; case 'dimension': -- cgit v1.2.1 From 26e052bb26a683bff17d86ae2beecc66ffcd93cf Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Sun, 5 Jun 2011 09:52:17 +0200 Subject: [ticket/10067] Add separator to h_radio to place options on individual lines The previous mechanism for account activation resulted in two h_radio calls with identical id attributes for two elements. PHPBB3/10067 --- phpBB/adm/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/adm') diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index dd8f4c279d..74e51a8696 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -237,7 +237,7 @@ function build_select($option_ary, $option_default = false) /** * Build radio fields in acp pages */ -function h_radio($name, &$input_ary, $input_default = false, $id = false, $key = false) +function h_radio($name, $input_ary, $input_default = false, $id = false, $key = false, $separator = '') { global $user; @@ -246,7 +246,7 @@ function h_radio($name, &$input_ary, $input_default = false, $id = false, $key = foreach ($input_ary as $value => $title) { $selected = ($input_default !== false && $value == $input_default) ? ' checked="checked"' : ''; - $html .= ''; + $html .= '' . $separator; $id_assigned = true; } -- cgit v1.2.1 From eb0ffd350386b7706f414e793da047c225822828 Mon Sep 17 00:00:00 2001 From: rxu Date: Sun, 5 Jun 2011 23:02:56 +0800 Subject: [ticket/10198] validate_config_vars() improperly validates multibyte strings PHPBB3-10198 --- phpBB/adm/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/adm') diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index dd8f4c279d..3b93c9ea72 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -402,7 +402,7 @@ function validate_config_vars($config_vars, &$cfg_array, &$error) switch ($validator[$type]) { case 'string': - $length = strlen($cfg_array[$config_name]); + $length = utf8_strlen($cfg_array[$config_name]); // the column is a VARCHAR $validator[$max] = (isset($validator[$max])) ? min(255, $validator[$max]) : 255; -- cgit v1.2.1 From 72479e13ab41444db532f8d8e238796e419e07c3 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Fri, 10 Jun 2011 01:07:41 +0200 Subject: [ticket/10198] range validation for strings should limit characters not bytes PHPBB3-10198 --- phpBB/adm/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/adm') diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index 3b93c9ea72..5498e6bff7 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -600,7 +600,7 @@ function validate_range($value_ary, &$error) { case 'string' : $max = (isset($column[1])) ? min($column[1],$type['max']) : $type['max']; - if (strlen($value['value']) > $max) + if (utf8_strlen($value['value']) > $max) { $error[] = sprintf($user->lang['SETTING_TOO_LONG'], $user->lang[$value['lang']], $max); } -- cgit v1.2.1 From a275d17625325e0353b67fabf5a9b0c4fb35877e Mon Sep 17 00:00:00 2001 From: Yuriy Rusko Date: Wed, 6 Jul 2011 20:38:02 -0400 Subject: [ticket/9859] Changing all phpBB footers to match the new credit line PHPBB3-9859 --- phpBB/adm/style/install_footer.html | 2 +- phpBB/adm/style/overall_footer.html | 2 +- phpBB/adm/style/simple_footer.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/adm') diff --git a/phpBB/adm/style/install_footer.html b/phpBB/adm/style/install_footer.html index 9b5494b8b6..26a3c6ab3d 100644 --- a/phpBB/adm/style/install_footer.html +++ b/phpBB/adm/style/install_footer.html @@ -8,7 +8,7 @@

diff --git a/phpBB/adm/style/overall_footer.html b/phpBB/adm/style/overall_footer.html index 03ca369562..b48b449597 100644 --- a/phpBB/adm/style/overall_footer.html +++ b/phpBB/adm/style/overall_footer.html @@ -9,7 +9,7 @@