mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Altered layout of phpbb_config table
git-svn-id: file:///svn/phpbb/trunk@1010 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -60,17 +60,17 @@ $template->set_filenames(array(
|
||||
//
|
||||
// Do timezone text output
|
||||
//
|
||||
if($board_config['default_timezone'] < 0)
|
||||
if($board_config['board_timezone'] < 0)
|
||||
{
|
||||
$s_timezone = $lang['All_times'] . " " .$lang['GMT'] . " - " . (-$board_config['default_timezone']) . " " . $lang['Hours'];
|
||||
$s_timezone = $lang['All_times'] . " " .$lang['GMT'] . " - " . (-$board_config['board_timezone']) . " " . $lang['Hours'];
|
||||
}
|
||||
else if($board_config['default_timezone'] == 0)
|
||||
else if($board_config['board_timezone'] == 0)
|
||||
{
|
||||
$s_timezone = $lang['All_times'] . " " . $lang['GMT'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$s_timezone = $lang['All_times'] . " " . $lang['GMT'] ." + " . $board_config['default_timezone'] . " " . $lang['Hours'];
|
||||
$s_timezone = $lang['All_times'] . " " . $lang['GMT'] ." + " . $board_config['board_timezone'] . " " . $lang['Hours'];
|
||||
}
|
||||
|
||||
//
|
||||
@@ -113,7 +113,7 @@ $template->assign_vars(array(
|
||||
"S_TIMEZONE" => $s_timezone,
|
||||
"S_LOGIN_ACTION" => append_sid("../login.$phpEx"),
|
||||
"S_JUMPBOX_ACTION" => append_sid("../viewforum.$phpEx"),
|
||||
"S_CURRENT_TIME" => create_date($board_config['default_dateformat'], time(), $board_config['default_timezone']),
|
||||
"S_CURRENT_TIME" => create_date($board_config['default_dateformat'], time(), $board_config['board_timezone']),
|
||||
|
||||
"T_HEAD_STYLESHEET" => $theme['head_stylesheet'],
|
||||
"T_BODY_BACKGROUND" => $theme['body_background'],
|
||||
|
Reference in New Issue
Block a user