diff options
author | Nils Adermann <naderman@naderman.de> | 2011-08-22 03:51:03 -0400 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2011-09-29 15:42:47 +0200 |
commit | 61df8a87d19c062f5284f06047c1a9093c664cdf (patch) | |
tree | f7b2bbe8e1b8a339c71f24e182ff9c176f01f7ba /phpBB/includes/acp/acp_captcha.php | |
parent | d5a5cdd0d712ff7997f98659525ab98ee45fbe1f (diff) | |
download | forums-61df8a87d19c062f5284f06047c1a9093c664cdf.tar forums-61df8a87d19c062f5284f06047c1a9093c664cdf.tar.gz forums-61df8a87d19c062f5284f06047c1a9093c664cdf.tar.bz2 forums-61df8a87d19c062f5284f06047c1a9093c664cdf.tar.xz forums-61df8a87d19c062f5284f06047c1a9093c664cdf.zip |
[feature/extension-manager] Allow extensions to define captcha plugins.
The base class for captcha plugins has been renamed, but the old name continues
to exist as an empty subclass of it for backwards compatability.
PHPBB3-10323
Diffstat (limited to 'phpBB/includes/acp/acp_captcha.php')
-rw-r--r-- | phpBB/includes/acp/acp_captcha.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_captcha.php b/phpBB/includes/acp/acp_captcha.php index bef8ae0ea9..f051781547 100644 --- a/phpBB/includes/acp/acp_captcha.php +++ b/phpBB/includes/acp/acp_captcha.php @@ -104,13 +104,13 @@ class acp_captcha foreach ($captchas['available'] as $value => $title) { $current = ($selected !== false && $value == $selected) ? ' selected="selected"' : ''; - $captcha_select .= '<option value="' . $value . '"' . $current . '>' . $user->lang[$title] . '</option>'; + $captcha_select .= '<option value="' . $value . '"' . $current . '>' . $user->lang($title) . '</option>'; } foreach ($captchas['unavailable'] as $value => $title) { $current = ($selected !== false && $value == $selected) ? ' selected="selected"' : ''; - $captcha_select .= '<option value="' . $value . '"' . $current . ' class="disabled-option">' . $user->lang[$title] . '</option>'; + $captcha_select .= '<option value="' . $value . '"' . $current . ' class="disabled-option">' . $user->lang($title) . '</option>'; } $demo_captcha = phpbb_captcha_factory::get_instance($selected); |