aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-06-28 02:43:44 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-06-28 02:43:44 +0000
commitc748c31fe5ea4983c66ab3b41ff359b0425f1fa5 (patch)
treeeb7697cbf0b489134168de41c949b6ab4362fbe1 /phpBB/includes/acp/info
parentTry and protect against people trying to select an inappropriate DBAL (diff)
downloadphpbb-c748c31fe5ea4983c66ab3b41ff359b0425f1fa5.tar.gz
phpbb-c748c31fe5ea4983c66ab3b41ff359b0425f1fa5.tar.bz2
phpbb-c748c31fe5ea4983c66ab3b41ff359b0425f1fa5.zip
ketchup? catcher? catheter? no. CAPTCHA
- New CAPTCHA ACP, only lets you enable what you can actually use :D - CAPTCHA ACP also has a nifty demo link that lets you preview a CAPTCHA with the current settings that you enable. I hope it all works... git-svn-id: file:///svn/phpbb/trunk@6129 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/info')
-rw-r--r--phpBB/includes/acp/info/acp_board.php1
-rw-r--r--phpBB/includes/acp/info/acp_captcha.php38
2 files changed, 38 insertions, 1 deletions
diff --git a/phpBB/includes/acp/info/acp_board.php b/phpBB/includes/acp/info/acp_board.php
index a8d6d5af51..e6a2372088 100644
--- a/phpBB/includes/acp/info/acp_board.php
+++ b/phpBB/includes/acp/info/acp_board.php
@@ -27,7 +27,6 @@ class acp_board_info
'post' => array('title' => 'ACP_POST_SETTINGS', 'auth' => 'acl_a_board', 'cat' => array('ACP_BOARD_CONFIGURATION')),
'signature' => array('title' => 'ACP_SIGNATURE_SETTINGS', 'auth' => 'acl_a_board', 'cat' => array('ACP_BOARD_CONFIGURATION')),
'registration' => array('title' => 'ACP_REGISTER_SETTINGS', 'auth' => 'acl_a_board', 'cat' => array('ACP_BOARD_CONFIGURATION')),
- 'visual' => array('title' => 'ACP_VC_SETTINGS', 'auth' => 'acl_a_board', 'cat' => array('ACP_BOARD_CONFIGURATION')),
'auth' => array('title' => 'ACP_AUTH_SETTINGS', 'auth' => 'acl_a_server', 'cat' => array('ACP_CLIENT_COMMUNICATION')),
'email' => array('title' => 'ACP_EMAIL_SETTINGS', 'auth' => 'acl_a_server', 'cat' => array('ACP_CLIENT_COMMUNICATION')),
diff --git a/phpBB/includes/acp/info/acp_captcha.php b/phpBB/includes/acp/info/acp_captcha.php
new file mode 100644
index 0000000000..82fbf997f4
--- /dev/null
+++ b/phpBB/includes/acp/info/acp_captcha.php
@@ -0,0 +1,38 @@
+<?php
+/**
+*
+* @package acp
+* @version $Id$
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+/**
+* @package module_install
+*/
+class acp_captcha_info
+{
+ function module()
+ {
+ return array(
+ 'filename' => 'acp_captcha',
+ 'title' => 'ACP_CAPTCHA',
+ 'version' => '1.0.0',
+ 'modes' => array(
+ 'visual' => array('title' => 'ACP_VC_SETTINGS', 'auth' => 'acl_a_board', 'cat' => array('ACP_BOARD_CONFIGURATION')),
+ 'img' => array('title' => 'ACP_VC_CAPTCHA_DISPLAY', 'auth' => 'acl_a_board', 'cat' => array('ACP_BOARD_CONFIGURATION'), 'display' => false)
+ ),
+ );
+ }
+
+ function install()
+ {
+ }
+
+ function uninstall()
+ {
+ }
+}
+
+?> \ No newline at end of file