diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-12-18 13:31:38 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-12-18 13:50:56 +0100 |
commit | 0d7f61dc7ab8b875b288b2d41ef27aa360973e57 (patch) | |
tree | cd5f91d536998e57251a906b61f75874689e8b70 /phpBB/styles/prosilver | |
parent | 3af5531d0d8df7ed734e688780407014ff1840f8 (diff) | |
download | forums-0d7f61dc7ab8b875b288b2d41ef27aa360973e57.tar forums-0d7f61dc7ab8b875b288b2d41ef27aa360973e57.tar.gz forums-0d7f61dc7ab8b875b288b2d41ef27aa360973e57.tar.bz2 forums-0d7f61dc7ab8b875b288b2d41ef27aa360973e57.tar.xz forums-0d7f61dc7ab8b875b288b2d41ef27aa360973e57.zip |
[ticket/11166] Use provided custom templates on AJAX confirm box
PHPBB3-11166
Diffstat (limited to 'phpBB/styles/prosilver')
-rw-r--r-- | phpBB/styles/prosilver/template/confirm_body.html | 17 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/overall_footer.html | 4 | ||||
-rw-r--r-- | phpBB/styles/prosilver/theme/common.css | 7 |
3 files changed, 20 insertions, 8 deletions
diff --git a/phpBB/styles/prosilver/template/confirm_body.html b/phpBB/styles/prosilver/template/confirm_body.html index cddbdee391..4a3de01091 100644 --- a/phpBB/styles/prosilver/template/confirm_body.html +++ b/phpBB/styles/prosilver/template/confirm_body.html @@ -1,3 +1,14 @@ +<!-- IF S_AJAX_REQUEST --> + + <p>{MESSAGE_TEXT}</p> + + <fieldset class="submit-buttons"> + <input type="button" name="confirm" value="{L_YES}" class="button1" /> + <input type="button" name="cancel" value="{L_NO}" class="button2" /> + </fieldset> + +<!-- ELSE --> + <!-- INCLUDE overall_header.html --> <form id="confirm" action="{S_CONFIRM_ACTION}" method="post"> @@ -6,10 +17,10 @@ <h2>{MESSAGE_TITLE}</h2> <p>{MESSAGE_TEXT}</p> - + <fieldset class="submit-buttons"> {S_HIDDEN_FIELDS} - <input type="submit" name="confirm" value="{L_YES}" class="button2" /> + <input type="submit" name="confirm" value="{L_YES}" class="button2" /> <input type="submit" name="cancel" value="{L_NO}" class="button2" /> </fieldset> @@ -18,3 +29,5 @@ </form> <!-- INCLUDE overall_footer.html --> + +<!-- ENDIF --> diff --git a/phpBB/styles/prosilver/template/overall_footer.html b/phpBB/styles/prosilver/template/overall_footer.html index 7e43ff2d0a..97083b144b 100644 --- a/phpBB/styles/prosilver/template/overall_footer.html +++ b/phpBB/styles/prosilver/template/overall_footer.html @@ -36,9 +36,7 @@ </div> <div id="phpbb_confirm" class="phpbb_alert"> <a href="#" class="alert_close"></a> - <p class="alert_text"></p> - <input type="button" class="button1" value="{L_YES}" /> - <input type="button" class="button2" value="{L_NO}" /> + <div class="alert_text"></div> </div> </div> diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css index 50b22f44df..416c660a2c 100644 --- a/phpBB/styles/prosilver/theme/common.css +++ b/phpBB/styles/prosilver/theme/common.css @@ -548,9 +548,9 @@ li.pagination ul { border: 1px solid transparent; position: fixed; display: none; - top: 40%; - left: 35%; - width: 30%; + top: 30%; + left: 25%; + width: 50%; z-index: 50; padding: 25px; padding: 0 25px 20px 25px; @@ -574,6 +574,7 @@ li.pagination ul { .phpbb_alert p { margin: 8px 0; padding-bottom: 8px; + font-size: 1.2em; } #darkenwrapper { |