aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/page_header.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-04-24 22:32:57 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-04-24 22:32:57 +0000
commita8a1ad65fe3c93fdad40d6316b9d5072c699780c (patch)
treebab67f937057140ae62120a1a29a7fa9f4af32b2 /phpBB/includes/page_header.php
parenta624033c5bf2faae8cf52cc60d252f544e17d2e5 (diff)
downloadforums-a8a1ad65fe3c93fdad40d6316b9d5072c699780c.tar
forums-a8a1ad65fe3c93fdad40d6316b9d5072c699780c.tar.gz
forums-a8a1ad65fe3c93fdad40d6316b9d5072c699780c.tar.bz2
forums-a8a1ad65fe3c93fdad40d6316b9d5072c699780c.tar.xz
forums-a8a1ad65fe3c93fdad40d6316b9d5072c699780c.zip
Updated for generic theming
git-svn-id: file:///svn/phpbb/trunk@203 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/page_header.php')
-rw-r--r--phpBB/includes/page_header.php34
1 files changed, 30 insertions, 4 deletions
diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php
index 61aa198c62..0d333df535 100644
--- a/phpBB/includes/page_header.php
+++ b/phpBB/includes/page_header.php
@@ -97,6 +97,36 @@ $template->assign_vars(array(
"S_TOPICS_URL" => POST_TOPIC_URL,
"S_USERS_URL" => POST_USERS_URL,
+ "T_BODY_BACKGROUND" => $theme['body_background'],
+ "T_BODY_BGCOLOR" => "#".$theme['body_bgcolor'],
+ "T_BODY_TEXT" => "#".$theme['body_text'],
+ "T_BODY_LINK" => "#".$theme['body_link'],
+ "T_BODY_VLINK" => "#".$theme['body_vlink'],
+ "T_BODY_ALINK" => "#".$theme['body_alink'],
+ "T_BODY_HLINK" => "#".$theme['body_hlink'],
+ "T_TR_COLOR1" => "#".$theme['tr_color1'],
+ "T_TR_COLOR2" => "#".$theme['tr_color2'],
+ "T_TR_COLOR3" => "#".$theme['tr_color3'],
+ "T_TH_COLOR1" => "#".$theme['th_color1'],
+ "T_TH_COLOR2" => "#".$theme['th_color2'],
+ "T_TH_COLOR3" => "#".$theme['th_color3'],
+ "T_TD_COLOR1" => "#".$theme['td_color1'],
+ "T_TD_COLOR2" => "#".$theme['td_color2'],
+ "T_TD_COLOR3" => "#".$theme['td_color3'],
+ "T_FONTFACE1" => $theme['fontface1'],
+ "T_FONTFACE2" => $theme['fontface1'],
+ "T_FONTFACE3" => $theme['fontface1'],
+ "T_FONTSIZE1" => $theme['fontsize1'],
+ "T_FONTSIZE2" => $theme['fontsize2'],
+ "T_FONTSIZE3" => $theme['fontsize3'],
+ "T_FONTCOLOR1" => "#".$theme['fontcolor1'],
+ "T_FONTCOLOR2" => "#".$theme['fontcolor2'],
+ "T_FONTCOLOR3" => "#".$theme['fontcolor3'],
+ "T_IMG1" => $theme['img1'],
+ "T_IMG2" => $theme['img2'],
+ "T_IMG3" => $theme['img3'],
+ "T_IMG4" => $theme['img4'],
+
"PAGE_TITLE" => $page_title,
"LOGIN_STATUS" => $logged_in_status,
"META_INFO" => $meta_tags));
@@ -185,10 +215,6 @@ switch($pagetype)
$template->pparse("header");
break;
- case 'login':
- $template->set_filenames(array("body" => "login_body.tpl"));
- break;
-
case 'newtopic':
$template->set_filenames(array(
"header" => "newtopic_header.tpl",