mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 04:48:53 +00:00
Moved current time (S_CURRENT_TIME) to page_header
git-svn-id: file:///svn/phpbb/trunk@484 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
90b9a95ca5
commit
d707a5f099
2 changed files with 16 additions and 16 deletions
|
@ -215,6 +215,7 @@ $template->assign_vars(array(
|
||||||
"S_LOGIN_ACTION" => append_sid("login.$phpEx"),
|
"S_LOGIN_ACTION" => append_sid("login.$phpEx"),
|
||||||
"S_JUMPBOX_ACTION" => append_sid("viewforum.$phpEx"),
|
"S_JUMPBOX_ACTION" => append_sid("viewforum.$phpEx"),
|
||||||
"S_LAST_VISIT_DATE" => $s_last_visit,
|
"S_LAST_VISIT_DATE" => $s_last_visit,
|
||||||
|
"s_CURRENT_TIME" => create_date($board_config['default_dateformat'], $current_time, $board_config['default_timezone']),
|
||||||
|
|
||||||
"T_HEAD_STYLESHEET" => $theme['head_stylesheet'],
|
"T_HEAD_STYLESHEET" => $theme['head_stylesheet'],
|
||||||
"T_BODY_BACKGROUND" => $theme['body_background'],
|
"T_BODY_BACKGROUND" => $theme['body_background'],
|
||||||
|
|
|
@ -32,7 +32,6 @@ if($userdata['user_level'] == ADMIN)
|
||||||
$current_time = time();
|
$current_time = time();
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
"PHPBB_VERSION" => "2.0-alpha",
|
"PHPBB_VERSION" => "2.0-alpha",
|
||||||
"CURRENT_TIME" => create_date($board_config['default_dateformat'], $current_time, $board_config['default_timezone']),
|
|
||||||
"ADMIN_LINK" => $admin_link));
|
"ADMIN_LINK" => $admin_link));
|
||||||
|
|
||||||
$template->pparse("overall_footer");
|
$template->pparse("overall_footer");
|
||||||
|
|
Loading…
Add table
Reference in a new issue