diff options
author | Nils Adermann <naderman@naderman.de> | 2011-06-07 03:46:38 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-05-29 02:14:28 +0200 |
commit | 389bc0b8dd5594a9f66c1026df408dfe73eb65b0 (patch) | |
tree | 5bf933be6fc4d6455a60005a7e1070b7e1b19979 /phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php | |
parent | d52f34f5ec5d006ec7e610e1c72266df21e70ac7 (diff) | |
download | forums-389bc0b8dd5594a9f66c1026df408dfe73eb65b0.tar forums-389bc0b8dd5594a9f66c1026df408dfe73eb65b0.tar.gz forums-389bc0b8dd5594a9f66c1026df408dfe73eb65b0.tar.bz2 forums-389bc0b8dd5594a9f66c1026df408dfe73eb65b0.tar.xz forums-389bc0b8dd5594a9f66c1026df408dfe73eb65b0.zip |
[ticket/10073] Replace board_contact mail with links to contact page
Error pages still contain the email address.
PHPBB3-10073
Diffstat (limited to 'phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php')
-rw-r--r-- | phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php index 0568cb7c51..f7078b49c0 100644 --- a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php +++ b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php @@ -150,7 +150,7 @@ class phpbb_recaptcha extends phpbb_default_captcha function get_template() { - global $config, $user, $template; + global $config, $user, $template, $phpbb_root_path, $phpEx; if ($this->is_solved()) { @@ -158,7 +158,7 @@ class phpbb_recaptcha extends phpbb_default_captcha } else { - $explain = $user->lang(($this->type != CONFIRM_POST) ? 'CONFIRM_EXPLAIN' : 'POST_CONFIRM_EXPLAIN', '<a href="mailto:' . htmlspecialchars($config['board_contact']) . '">', '</a>'); + $explain = $user->lang(($this->type != CONFIRM_POST) ? 'CONFIRM_EXPLAIN' : 'POST_CONFIRM_EXPLAIN', '<a href="' . append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=contactadmin') . '">', '</a>'); $template->assign_vars(array( 'RECAPTCHA_SERVER' => $this->recaptcha_server, |