aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-12 10:49:52 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-12 10:49:52 +0200
commit1d4c20b3d2222502ed495212668f6fca8d67e52d (patch)
tree3217ab2af16aebe6a79d44f93cda3e9c42490857
parent34e93b0e1511611c7103b98e2dec8e630317748b (diff)
downloadforums-1d4c20b3d2222502ed495212668f6fca8d67e52d.tar
forums-1d4c20b3d2222502ed495212668f6fca8d67e52d.tar.gz
forums-1d4c20b3d2222502ed495212668f6fca8d67e52d.tar.bz2
forums-1d4c20b3d2222502ed495212668f6fca8d67e52d.tar.xz
forums-1d4c20b3d2222502ed495212668f6fca8d67e52d.zip
[ticket/12534] Do not abuse errorbox for en/disable confirmation of extensions
PHPBB3-12534
-rw-r--r--phpBB/adm/style/acp_ext_disable.html6
-rw-r--r--phpBB/adm/style/acp_ext_enable.html6
-rw-r--r--phpBB/adm/style/admin.css4
3 files changed, 10 insertions, 6 deletions
diff --git a/phpBB/adm/style/acp_ext_disable.html b/phpBB/adm/style/acp_ext_disable.html
index d650544ff7..3b09177a76 100644
--- a/phpBB/adm/style/acp_ext_disable.html
+++ b/phpBB/adm/style/acp_ext_disable.html
@@ -8,13 +8,13 @@
<p>{L_EXTENSION_DISABLE_EXPLAIN}</p>
<!-- IF PRE -->
- <div class="errorbox">
+ <fieldset>
+ <h2>{L_CONFIRM}</h2>
<p>{L_CONFIRM_MESSAGE}</p>
- </div>
+ </fieldset>
<form id="acp_extensions" method="post" action="{U_DISABLE}">
<fieldset class="submit-buttons">
- <legend>{L_EXTENSION_DISABLE}</legend>
<input class="button1" type="submit" name="disable" value="{L_EXTENSION_DISABLE}" />
<input class="button2" type="submit" name="cancel" value="{L_CANCEL}" />
</fieldset>
diff --git a/phpBB/adm/style/acp_ext_enable.html b/phpBB/adm/style/acp_ext_enable.html
index 42523f1f58..6bbd8c245b 100644
--- a/phpBB/adm/style/acp_ext_enable.html
+++ b/phpBB/adm/style/acp_ext_enable.html
@@ -14,13 +14,13 @@
<p><a href="{U_RETURN}">{L_RETURN_TO_EXTENSION_LIST}</a></p>
</div>
<!-- ELSEIF PRE -->
- <div class="errorbox">
+ <fieldset>
+ <h2>{L_CONFIRM}</h2>
<p>{L_CONFIRM_MESSAGE}</p>
- </div>
+ </fieldset>
<form id="acp_extensions" method="post" action="{U_ENABLE}">
<fieldset class="submit-buttons">
- <legend>{L_EXTENSION_ENABLE}</legend>
<input class="button1" type="submit" name="enable" value="{L_EXTENSION_ENABLE}" />
<input class="button2" type="submit" name="cancel" value="{L_CANCEL}" />
</fieldset>
diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css
index 60a5cd9472..a61890bc75 100644
--- a/phpBB/adm/style/admin.css
+++ b/phpBB/adm/style/admin.css
@@ -1076,6 +1076,10 @@ fieldset {
border-radius: 3px;
}
+fieldset h2 {
+ margin-top: 0;
+}
+
.rtl fieldset {
border-top: 1px solid #D7D7D7;
border-right: 1px solid #D7D7D7;