diff options
author | PayBas <contact@paybas.com> | 2014-05-24 16:01:08 +0200 |
---|---|---|
committer | PayBas <contact@paybas.com> | 2014-09-15 14:43:40 +0200 |
commit | aaddf41e5b105c6e1b57a5e75267db69576afdf6 (patch) | |
tree | d6ae581a8e8236458753b8e8d3c5c9403047f292 /phpBB/includes/acp | |
parent | 0b4944f1254ce07b9cd81fb0d7d6158672a9eac0 (diff) | |
download | forums-aaddf41e5b105c6e1b57a5e75267db69576afdf6.tar forums-aaddf41e5b105c6e1b57a5e75267db69576afdf6.tar.gz forums-aaddf41e5b105c6e1b57a5e75267db69576afdf6.tar.bz2 forums-aaddf41e5b105c6e1b57a5e75267db69576afdf6.tar.xz forums-aaddf41e5b105c6e1b57a5e75267db69576afdf6.zip |
[ticket/12408] Changed lang vars, added fieldset and removed "default"
PHPBB3-12408
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r-- | phpBB/includes/acp/acp_board.php | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php index 77a0f56e5a..4cc579c256 100644 --- a/phpBB/includes/acp/acp_board.php +++ b/phpBB/includes/acp/acp_board.php @@ -65,14 +65,16 @@ class acp_board 'default_lang' => array('lang' => 'DEFAULT_LANGUAGE', 'validate' => 'lang', 'type' => 'select', 'function' => 'language_select', 'params' => array('{CONFIG_VALUE}'), 'explain' => false), 'default_dateformat' => array('lang' => 'DEFAULT_DATE_FORMAT', 'validate' => 'string', 'type' => 'custom', 'method' => 'dateformat_select', 'explain' => true), 'board_timezone' => array('lang' => 'SYSTEM_TIMEZONE', 'validate' => 'timezone', 'type' => 'custom', 'method' => 'timezone_select', 'explain' => true), + + 'legend2' => 'BOARD_STYLE', 'default_style' => array('lang' => 'DEFAULT_STYLE', 'validate' => 'int', 'type' => 'select', 'function' => 'style_select', 'params' => array('{CONFIG_VALUE}', false), 'explain' => true), - 'default_guest_style' => array('lang' => 'DEFAULT_GUEST_STYLE', 'validate' => 'int', 'type' => 'select', 'function' => 'style_select', 'params' => array($this->guest_style_get(), false), 'explain' => true), + 'guest_style' => array('lang' => 'GUEST_STYLE', 'validate' => 'int', 'type' => 'select', 'function' => 'style_select', 'params' => array($this->guest_style_get(), false), 'explain' => true), 'override_user_style' => array('lang' => 'OVERRIDE_STYLE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'legend2' => 'WARNINGS', + 'legend3' => 'WARNINGS', 'warnings_expire_days' => array('lang' => 'WARNINGS_EXPIRE', 'validate' => 'int:0:9999', 'type' => 'number:0:9999', 'explain' => true, 'append' => ' ' . $user->lang['DAYS']), - 'legend3' => 'ACP_SUBMIT_CHANGES', + 'legend4' => 'ACP_SUBMIT_CHANGES', ) ); break; @@ -510,7 +512,7 @@ class acp_board continue; } - if ($config_name == 'default_guest_style') + if ($config_name == 'guest_style') { if (isset($cfg_array[$config_name])) { $this->guest_style_set($cfg_array[$config_name]); @@ -922,7 +924,7 @@ class acp_board } /** - * Get default guest style + * Get guest style */ public function guest_style_get() { @@ -940,7 +942,7 @@ class acp_board } /** - * Set default guest style + * Set guest style * * @param int $style_id The style ID */ |