aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2009-06-23 12:10:50 +0000
committerHenry Sudhof <kellanved@phpbb.com>2009-06-23 12:10:50 +0000
commit6c9ddcf1df1d4255867ef1d34eb4498ba908338c (patch)
tree649f047559f0e610031b2785f3846a1b13e7059a
parent6dec355d1cb0e139fc0cff6af67588d7e5735823 (diff)
downloadforums-6c9ddcf1df1d4255867ef1d34eb4498ba908338c.tar
forums-6c9ddcf1df1d4255867ef1d34eb4498ba908338c.tar.gz
forums-6c9ddcf1df1d4255867ef1d34eb4498ba908338c.tar.bz2
forums-6c9ddcf1df1d4255867ef1d34eb4498ba908338c.tar.xz
forums-6c9ddcf1df1d4255867ef1d34eb4498ba908338c.zip
fix previews
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9659 89ea8834-ac86-4346-8a33-228a782c2dd0
-rwxr-xr-xphpBB/adm/style/captcha_gd_acp.html8
-rw-r--r--phpBB/adm/style/captcha_recaptcha_acp.html2
-rw-r--r--phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php2
3 files changed, 4 insertions, 8 deletions
diff --git a/phpBB/adm/style/captcha_gd_acp.html b/phpBB/adm/style/captcha_gd_acp.html
index f4755a37da..d1f50bc899 100755
--- a/phpBB/adm/style/captcha_gd_acp.html
+++ b/phpBB/adm/style/captcha_gd_acp.html
@@ -49,13 +49,9 @@
</fieldset>
<fieldset>
<legend>{L_PREVIEW}</legend>
-<!-- IF PREVIEW -->
- <div class="successbox">
- <h3>{L_WARNING}</h3>
- <p>{L_CAPTCHA_PREVIEW_MSG}</p>
- </div>
+ <!-- IF CAPTCHA_PREVIEW -->
<!-- INCLUDE {CAPTCHA_PREVIEW} -->
-<!-- ENDIF -->
+ <!-- ENDIF -->
</fieldset>
diff --git a/phpBB/adm/style/captcha_recaptcha_acp.html b/phpBB/adm/style/captcha_recaptcha_acp.html
index 78f035a01d..fba59a9647 100644
--- a/phpBB/adm/style/captcha_recaptcha_acp.html
+++ b/phpBB/adm/style/captcha_recaptcha_acp.html
@@ -31,7 +31,7 @@
<p>{L_CAPTCHA_PREVIEW_MSG}</p>
</div>
<!-- ENDIF -->
-<!-- include {CAPTCHA_PREVIEW} -->
+<!-- INCLUDE {CAPTCHA_PREVIEW} -->
</fieldset>
<fieldset class="submit-buttons">
diff --git a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
index 50a456179b..bd8fbce0fa 100644
--- a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
+++ b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
@@ -107,7 +107,7 @@ class phpbb_recaptcha extends phpbb_default_captcha
}
$template->assign_vars(array(
- 'CAPTCHA_PREVIEW' => $this->get_demo_template(),
+ 'CAPTCHA_PREVIEW' => $this->get_demo_template($id),
'CAPTCHA_NAME' => $this->get_class_name(),
));