aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-03-28 12:44:27 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-03-28 12:44:27 +0000
commitf52ef0a6ec3e095f04f36115f07964150aee398e (patch)
tree64447dca800680250b675c511af90b5be5320506 /phpBB/includes
parent3ad9c2f089d37a11e7f4713f97e758950e51da1d (diff)
downloadforums-f52ef0a6ec3e095f04f36115f07964150aee398e.tar
forums-f52ef0a6ec3e095f04f36115f07964150aee398e.tar.gz
forums-f52ef0a6ec3e095f04f36115f07964150aee398e.tar.bz2
forums-f52ef0a6ec3e095f04f36115f07964150aee398e.tar.xz
forums-f52ef0a6ec3e095f04f36115f07964150aee398e.zip
- Visual Confirmation for guest posting
git-svn-id: file:///svn/phpbb/trunk@5739 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/acp/acp_board.php3
-rw-r--r--phpBB/includes/constants.php1
2 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php
index 1f36d7fda9..4c002357bd 100644
--- a/phpBB/includes/acp/acp_board.php
+++ b/phpBB/includes/acp/acp_board.php
@@ -77,7 +77,7 @@ class acp_board
'legend3' => 'REGISTRATION',
'require_activation'=> array('lang' => 'ACC_ACTIVATION', 'type' => 'custom', 'method' => 'select_acc_activation', 'explain' => true),
- 'enable_confirm' => array('lang' => 'VISUAL_CONFIRM', 'type' => 'radio:yes_no', 'explain' => true),
+ 'enable_confirm' => array('lang' => 'VISUAL_CONFIRM_REG', 'type' => 'radio:yes_no', 'explain' => true),
'max_reg_attempts' => array('lang' => 'REG_LIMIT', 'type' => 'text:4:4', 'explain' => true),
'min_name_chars' => array('lang' => 'USERNAME_LENGTH', 'type' => 'custom', 'method' => 'username_length', 'explain' => true),
'min_pass_chars' => array('lang' => 'PASSWORD_LENGTH', 'type' => 'custom', 'method' => 'password_length', 'explain' => true),
@@ -102,6 +102,7 @@ class acp_board
'max_quote_depth' => array('lang' => 'QUOTE_DEPTH_LIMIT', 'type' => 'text:4:4', 'explain' => true),
'max_post_img_width' => array('lang' => 'MAX_POST_IMG_WIDTH', 'type' => 'text:5:4', 'explain' => true),
'max_post_img_height' => array('lang' => 'MAX_POST_IMG_HEIGHT', 'type' => 'text:5:4', 'explain' => true),
+ 'enable_post_confirm'=> array('lang' => 'VISUAL_CONFIRM_POST', 'type' => 'radio:yes_no', 'explain' => true),
'legend5' => 'MODERATION',
'warnings_expire_days' => array('lang' => 'WARNINGS_EXPIRE', 'type' => 'text:3:4', 'explain' => true)
diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php
index ea8e908fa5..27f47d8bbb 100644
--- a/phpBB/includes/constants.php
+++ b/phpBB/includes/constants.php
@@ -104,6 +104,7 @@ define('PHYSICAL_LINK', 2);
// Confirm types
define('CONFIRM_REG', 1);
define('CONFIRM_LOGIN', 2);
+define('CONFIRM_POST', 3);
// Categories - Attachments
define('ATTACHMENT_CATEGORY_NONE', 0);