aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2013-01-27 03:07:52 +0530
committerDhruv <dhruv.goel92@gmail.com>2013-04-25 21:01:14 +0530
commit1a51abcca293b0e2bd836af0dcb9d77054c1d401 (patch)
treef05b6528c0574999abb85463cdfff782f117ef8f /phpBB/includes
parentf8012cc239d8b442e78bbbb8a5cc5856d2a714a0 (diff)
downloadforums-1a51abcca293b0e2bd836af0dcb9d77054c1d401.tar
forums-1a51abcca293b0e2bd836af0dcb9d77054c1d401.tar.gz
forums-1a51abcca293b0e2bd836af0dcb9d77054c1d401.tar.bz2
forums-1a51abcca293b0e2bd836af0dcb9d77054c1d401.tar.xz
forums-1a51abcca293b0e2bd836af0dcb9d77054c1d401.zip
[ticket/10325] change language var
PHPBB3-10325
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/acp/acp_board.php2
-rw-r--r--phpBB/includes/db/migration/data/310/dev.php2
-rw-r--r--phpBB/includes/ucp/ucp_remind.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php
index 1956ade31a..ab44920f0a 100644
--- a/phpBB/includes/acp/acp_board.php
+++ b/phpBB/includes/acp/acp_board.php
@@ -398,7 +398,7 @@ class acp_board
'vars' => array(
'legend1' => 'ACP_SECURITY_SETTINGS',
'allow_autologin' => array('lang' => 'ALLOW_AUTOLOGIN', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
- 'allow_forgot_password' => array('lang' => 'ALLOW_FORGOT_PASSWORD', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
+ 'allow_password_reset' => array('lang' => 'ALLOW_PASSWORD_RESET', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'max_autologin_time' => array('lang' => 'AUTOLOGIN_LENGTH', 'validate' => 'int:0', 'type' => 'text:5:5', 'explain' => true, 'append' => ' ' . $user->lang['DAYS']),
'ip_check' => array('lang' => 'IP_VALID', 'validate' => 'int', 'type' => 'custom', 'method' => 'select_ip_check', 'explain' => true),
'browser_check' => array('lang' => 'BROWSER_VALID', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
diff --git a/phpBB/includes/db/migration/data/310/dev.php b/phpBB/includes/db/migration/data/310/dev.php
index d3f3a341b2..0794567f1b 100644
--- a/phpBB/includes/db/migration/data/310/dev.php
+++ b/phpBB/includes/db/migration/data/310/dev.php
@@ -84,7 +84,7 @@ class phpbb_db_migration_data_310_dev extends phpbb_db_migration
return array(
array('config.update', array('search_type', 'phpbb_search_' . $this->config['search_type'])),
- array('config.add', array('allow_forgot_password', 1)),
+ array('config.add', array('allow_password_reset', 1)),
array('config.add', array('fulltext_postgres_ts_name', 'simple')),
array('config.add', array('fulltext_postgres_min_word_len', 4)),
diff --git a/phpBB/includes/ucp/ucp_remind.php b/phpBB/includes/ucp/ucp_remind.php
index a25d7da91a..4a2d06e99a 100644
--- a/phpBB/includes/ucp/ucp_remind.php
+++ b/phpBB/includes/ucp/ucp_remind.php
@@ -29,7 +29,7 @@ class ucp_remind
global $config, $phpbb_root_path, $phpEx;
global $db, $user, $auth, $template;
- if (!$config['allow_forgot_password'])
+ if (!$config['allow_password_reset'])
{
trigger_error($user->lang('UCP_FORGOT_PASSWORD_DISABLE', '<a href="mailto:' . htmlspecialchars($config['board_contact']) . '">', '</a>'));
}