aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2009-06-17 13:29:26 +0000
committerHenry Sudhof <kellanved@phpbb.com>2009-06-17 13:29:26 +0000
commitc6c6841cfbc0b5e342fb2dc5cbdea1834c4b47e9 (patch)
tree6229f2126144dbfe99ea39239dfb5ba2bd1510ea /phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
parent2a079ecb52305cdeaac046a0f1298b18b9f7bcb3 (diff)
downloadforums-c6c6841cfbc0b5e342fb2dc5cbdea1834c4b47e9.tar
forums-c6c6841cfbc0b5e342fb2dc5cbdea1834c4b47e9.tar.gz
forums-c6c6841cfbc0b5e342fb2dc5cbdea1834c4b47e9.tar.bz2
forums-c6c6841cfbc0b5e342fb2dc5cbdea1834c4b47e9.tar.xz
forums-c6c6841cfbc0b5e342fb2dc5cbdea1834c4b47e9.zip
Use dynamic includes, fix some style bugs, make the old default captcha family backwards compatible to 3.0.5 styles
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9609 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php')
-rw-r--r--phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
index 2a20b4b78d..bd8fbce0fa 100644
--- a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
+++ b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
@@ -128,10 +128,6 @@ class phpbb_recaptcha extends phpbb_default_captcha
{
global $config, $user, $template;
- $template->set_filenames(array(
- 'captcha' => 'captcha_recaptcha.html')
- );
-
$template->assign_vars(array(
'RECAPTCHA_SERVER' => $this->recaptcha_server,
'RECAPTCHA_PUBKEY' => isset($config['recaptcha_pubkey']) ? $config['recaptcha_pubkey'] : '',
@@ -139,7 +135,7 @@ class phpbb_recaptcha extends phpbb_default_captcha
'S_RECAPTCHA_AVAILABLE' => $this->is_available(),
));
- return $template->assign_display('captcha');
+ return 'captcha_recaptcha.html';
}
function get_demo_template($id)