diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php
index f99a2f8a73..b0d41f94e4 100644
--- a/phpBB/adm/index.php
+++ b/phpBB/adm/index.php
@@ -205,7 +205,10 @@ function adm_page_footer($copyright_html = true)
garbage_collection();
- exit;
+ if (!defined('PHPBB_EMBEDDED'))
+ {
+ exit;
+ }
}
/**
@@ -477,7 +480,7 @@ function validate_config_vars($config_vars, &$cfg_array, &$error)
$cfg_array[$config_name] = trim($cfg_array[$config_name]);
// Make sure no NUL byte is present...
- if (strpos($cfg_array[$config_name], '\0') !== false || strpos($cfg_array[$config_name], '%00') !== false)
+ if (strpos($cfg_array[$config_name], "\0") !== false || strpos($cfg_array[$config_name], '%00') !== false)
{
$cfg_array[$config_name] = '';
break;
diff --git a/phpBB/adm/style/acp_ban.html b/phpBB/adm/style/acp_ban.html
index 334d245edf..e371d48bfc 100644
--- a/phpBB/adm/style/acp_ban.html
+++ b/phpBB/adm/style/acp_ban.html
@@ -31,9 +31,9 @@
function display_details(option)
{
- document.getElementById('acp_ban').unbangivereason.value = ban_give_reason[option];
- document.getElementById('acp_ban').unbanreason.value = ban_reason[option];
- document.getElementById('acp_ban').unbanlength.value = ban_length[option];
+ document.getElementById('acp_unban').unbangivereason.value = ban_give_reason[option];
+ document.getElementById('acp_unban').unbanreason.value = ban_reason[option];
+ document.getElementById('acp_unban').unbanlength.value = ban_length[option];
}
//-->
diff --git a/phpBB/adm/style/acp_icons.html b/phpBB/adm/style/acp_icons.html
index 9c488c9f90..5100de32d8 100644
--- a/phpBB/adm/style/acp_icons.html
+++ b/phpBB/adm/style/acp_icons.html
@@ -4,10 +4,10 @@
+
+
+
+ function toggle_select(icon, display, select)
+ {
+ var disp = document.getElementById('order_disp[' + icon + ']');
+ var nodisp = document.getElementById('order_no_disp[' + icon + ']');
+ disp.disabled = !display;
+ nodisp.disabled = display;
+ if (display)
+ {
+ document.getElementById(select).selectedIndex = 0;
+ nodisp.className = 'disabled-options';
+ disp.className = '';
+ }
+ else
+ {
+ document.getElementById(select).selectedIndex = {S_ORDER_LIST_DISPLAY_COUNT};
+ disp.className = 'disabled-options';
+ nodisp.className = '';
+ }
+ }
+ //-->
+
+
+
« {L_BACK}
{L_TITLE}
@@ -89,13 +112,16 @@
|
|
-
+
|
- |
+ |
|
@@ -113,8 +139,11 @@
|
|
|
- |
- |
+ |
+ |
|
diff --git a/phpBB/adm/style/acp_users_profile.html b/phpBB/adm/style/acp_users_profile.html
index 69edb1159b..6a50887141 100644
--- a/phpBB/adm/style/acp_users_profile.html
+++ b/phpBB/adm/style/acp_users_profile.html
@@ -49,7 +49,7 @@
-
{profile_fields.LANG_EXPLAIN}
+
{profile_fields.LANG_EXPLAIN}
- {profile_fields.FIELD}
- {profile_fields.ERROR}
diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css
index 4d30bb0b91..489b22a7d4 100644
--- a/phpBB/adm/style/admin.css
+++ b/phpBB/adm/style/admin.css
@@ -726,6 +726,11 @@ optgroup {
font-weight: bold;
}
+optgroup.disabled-options {
+ display: none;
+ background-color: gray;
+}
+
option {
padding: 0 1em 0 0;
color: #000;
diff --git a/phpBB/adm/style/custom_profile_fields.html b/phpBB/adm/style/custom_profile_fields.html
index 1aba162d00..351397d3c7 100644
--- a/phpBB/adm/style/custom_profile_fields.html
+++ b/phpBB/adm/style/custom_profile_fields.html
@@ -1,32 +1,32 @@
-