aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/captcha/plugins/phpbb_captcha_nogd_plugin.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-09-22 17:51:43 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-09-22 17:51:43 +0000
commitaa9dbcec3c95efda6b3087c4bc6a48a0cef48774 (patch)
tree55da5b5b2da384919b8f315bbb54c1dd002e0de4 /phpBB/includes/captcha/plugins/phpbb_captcha_nogd_plugin.php
parent08428f8fa133c43c05066ff0e307abe01d943fa0 (diff)
downloadforums-aa9dbcec3c95efda6b3087c4bc6a48a0cef48774.tar
forums-aa9dbcec3c95efda6b3087c4bc6a48a0cef48774.tar.gz
forums-aa9dbcec3c95efda6b3087c4bc6a48a0cef48774.tar.bz2
forums-aa9dbcec3c95efda6b3087c4bc6a48a0cef48774.tar.xz
forums-aa9dbcec3c95efda6b3087c4bc6a48a0cef48774.zip
short php open tags should not be used. :) A lot of users (including myself) do not allow them.
git-svn-id: file:///svn/phpbb/trunk@8907 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/captcha/plugins/phpbb_captcha_nogd_plugin.php')
-rw-r--r--phpBB/includes/captcha/plugins/phpbb_captcha_nogd_plugin.php25
1 files changed, 13 insertions, 12 deletions
diff --git a/phpBB/includes/captcha/plugins/phpbb_captcha_nogd_plugin.php b/phpBB/includes/captcha/plugins/phpbb_captcha_nogd_plugin.php
index a2521a330e..ac09e4f3c7 100644
--- a/phpBB/includes/captcha/plugins/phpbb_captcha_nogd_plugin.php
+++ b/phpBB/includes/captcha/plugins/phpbb_captcha_nogd_plugin.php
@@ -1,8 +1,8 @@
-<?
+<?php
/**
*
* @package VC
-* @version $Id: $
+* @version $Id$
* @copyright (c) 2006 2008 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
@@ -15,16 +15,16 @@ if (!defined('IN_PHPBB'))
exit;
}
-include_once(PHPBB_ROOT_PATH . "includes/captcha/plugins/captcha_abstract." . PHP_EXT);
+include_once(PHPBB_ROOT_PATH . 'includes/captcha/plugins/captcha_abstract.' . PHP_EXT);
class phpbb_captcha_nogd extends phpbb_default_captcha implements phpbb_captcha_plugin
{
function __construct()
{
- include_once(PHPBB_ROOT_PATH . "includes/captcha/captcha_non_gd." . PHP_EXT);
+ include_once(PHPBB_ROOT_PATH . 'includes/captcha/captcha_non_gd.' . PHP_EXT);
}
-
+
public static function get_instance()
{
return new phpbb_captcha_nogd();
@@ -34,25 +34,26 @@ class phpbb_captcha_nogd extends phpbb_default_captcha implements phpbb_captcha_
{
return true;
}
-
+
static function get_name()
{
global $user;
-
- return 'CAPTCHA_NO_GD';
+
+ return 'CAPTCHA_NO_GD';
}
-
+
static function get_class_name()
{
return 'phpbb_captcha_nogd';
}
-
-
+
+
function acp_page($id, &$module)
{
global $user;
-
+
trigger_error($user->lang['CAPTCHA_NO_OPTIONS'] . adm_back_link($module->u_action));
}
}
+?> \ No newline at end of file