summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/clouds/header.php4
-rw-r--r--themes/clouds/theme.php1
-rw-r--r--themes/colors/header.php4
-rw-r--r--themes/colors/theme.php1
4 files changed, 7 insertions, 3 deletions
diff --git a/themes/clouds/header.php b/themes/clouds/header.php
index cb4009c2b2..ee6e300ad4 100644
--- a/themes/clouds/header.php
+++ b/themes/clouds/header.php
@@ -31,7 +31,7 @@ if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
exit;
}
-
+global $modules;
// Definitions to simplify logic on pages with right-to-left languages
// TODO: merge this into the trunk?
if ($TEXT_DIRECTION=='ltr') {
@@ -89,7 +89,7 @@ if ($TEXT_DIRECTION=='rtl') { ?>
<?php }
echo
- '<link type="text/css" href="themes/clouds/modules.css" rel="Stylesheet" />',
+ '<link rel="stylesheet" href="', $modules, '" type="text/css" />',
'<link rel="stylesheet" href="', $stylesheet, '" type="text/css" media="all" />';
if ($use_alternate_styles && $BROWSERTYPE != "other") { ?>
diff --git a/themes/clouds/theme.php b/themes/clouds/theme.php
index 4c7fe43d6f..c08bac3a05 100644
--- a/themes/clouds/theme.php
+++ b/themes/clouds/theme.php
@@ -33,6 +33,7 @@ if (!defined('WT_WEBTREES')) {
}
$theme_name = "clouds";
+$modules = WT_THEME_DIR . "modules.css";
$stylesheet = WT_THEME_DIR . "style.css";
$print_stylesheet = WT_THEME_DIR . "print.css"; //-- CSS level 2 print stylesheet to use
$headerfile = WT_THEME_DIR . "header.php"; //-- Header information for the site
diff --git a/themes/colors/header.php b/themes/colors/header.php
index 5ea04af253..4bdd3bce17 100644
--- a/themes/colors/header.php
+++ b/themes/colors/header.php
@@ -32,6 +32,8 @@ if (!defined('WT_WEBTREES')) {
exit;
}
+global $modules;
+
// Definitions to simplify logic on pages with right-to-left languages
// TODO: merge this into the trunk?
if ($TEXT_DIRECTION=='ltr') {
@@ -89,7 +91,7 @@ if ($TEXT_DIRECTION=='rtl') { ?>
<?php }
echo
- '<link type="text/css" href="themes/colors/modules.css" rel="Stylesheet" />',
+ '<link rel="stylesheet" href="', $modules, '" type="text/css" />',
'<link rel="stylesheet" href="', $stylesheet, '" type="text/css" media="all" />';
if ($use_alternate_styles && $BROWSERTYPE != "other") { ?>
diff --git a/themes/colors/theme.php b/themes/colors/theme.php
index 4b8b69351d..1d9f42612d 100644
--- a/themes/colors/theme.php
+++ b/themes/colors/theme.php
@@ -101,6 +101,7 @@ $_SESSION['themecolor']=$subColor;
$theme_name = "colors";
$stylesheet = WT_THEME_DIR . "css/" . $subColor . ".css";
+$modules = WT_THEME_DIR . "modules.css";
$print_stylesheet = WT_THEME_DIR . "print.css"; //-- CSS level 2 print stylesheet to use
$headerfile = WT_THEME_DIR . "header.php"; //-- Header information for the site
$rtl_stylesheet = WT_THEME_DIR . "style_rtl.css"; //-- CSS level 2 stylesheet to use