|
From: Jonathan H. <the...@us...> - 2002-04-11 17:53:45
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv10735
Modified Files:
Tag: phpBB-2_0_0
page_header.php
Log Message:
since user_timezone is now a decimal/floating point number we have to cast it's return value as an integer to make sure it drops the .0 before using it as an array index..
Index: page_header.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/page_header.php,v
retrieving revision 1.106.2.1
retrieving revision 1.106.2.2
diff -C2 -r1.106.2.1 -r1.106.2.2
*** page_header.php 8 Apr 2002 14:37:16 -0000 1.106.2.1
--- page_header.php 11 Apr 2002 17:53:41 -0000 1.106.2.2
***************
*** 385,389 ****
'S_CONTENT_DIR_LEFT' => $lang['LEFT'],
'S_CONTENT_DIR_RIGHT' => $lang['RIGHT'],
! 'S_TIMEZONE' => sprintf($lang['All_times'], $lang[$board_config['board_timezone']]),
'S_LOGIN_ACTION' => append_sid('login.'.$phpEx),
--- 385,389 ----
'S_CONTENT_DIR_LEFT' => $lang['LEFT'],
'S_CONTENT_DIR_RIGHT' => $lang['RIGHT'],
! 'S_TIMEZONE' => sprintf($lang['All_times'], $lang[number_format($board_config['board_timezone'])]),
'S_LOGIN_ACTION' => append_sid('login.'.$phpEx),
***************
*** 453,455 ****
$template->pparse('overall_header');
! ?>
\ No newline at end of file
--- 453,455 ----
$template->pparse('overall_header');
! ?>
|