- Fixed CSS problem in Xtemplate theme.

4.4.x
Dries Buytaert 2004-02-19 20:12:04 +00:00
parent 4c6b3d103a
commit 6248a26783
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<head> <head>
<title>{head_title}</title> <title>{head_title}</title>
{head} {head}
<link type="text/css" rel="stylesheet" href="{path}/xtemplate.css" /> <link type="text/css" rel="stylesheet" href="{directory}/xtemplate.css" />
</head> </head>
<body{onload_attributes}> <body{onload_attributes}>

View File

@ -166,7 +166,7 @@ function xtemplate_page($content, $title = NULL, $breadcrumb = NULL) {
"head_title" => (drupal_get_title() ? drupal_get_title() ." | ". variable_get("site_name", "drupal") : variable_get("site_name", "drupal") ." | ". variable_get("site_slogan", "")), "head_title" => (drupal_get_title() ? drupal_get_title() ." | ". variable_get("site_name", "drupal") : variable_get("site_name", "drupal") ." | ". variable_get("site_slogan", "")),
"site" => variable_get("site_name", "drupal"), "site" => variable_get("site_name", "drupal"),
"head" => drupal_get_html_head(), "head" => drupal_get_html_head(),
"path" => "themes/xtemplate/$template_directory", "directory" => "themes/xtemplate/$template_directory",
"onload_attributes" => theme_onload_attribute(), "onload_attributes" => theme_onload_attribute(),
"logo" => variable_get('xtemplate_logo', "<img src=\"themes/xtemplate/$template_directory/logo.gif\" alt=\"Logo\" />"), "logo" => variable_get('xtemplate_logo', "<img src=\"themes/xtemplate/$template_directory/logo.gif\" alt=\"Logo\" />"),
"primary_links" => variable_get("xtemplate_primary_links", l("edit primary links", "admin/system/themes/xtemplate")), "primary_links" => variable_get("xtemplate_primary_links", l("edit primary links", "admin/system/themes/xtemplate")),