From e6f10554dd45ca1acffc1481ce6945eeef56b234 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 13 Apr 2007 08:38:05 +0000 Subject: - Patch #135533 by asimmonds: updated themes to work properly with new language options. --- themes/bluemarine/page.tpl.php | 2 +- themes/chameleon/chameleon.theme | 2 +- themes/pushbutton/page.tpl.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/bluemarine/page.tpl.php b/themes/bluemarine/page.tpl.php index 5298c1d0f..fce977e5f 100644 --- a/themes/bluemarine/page.tpl.php +++ b/themes/bluemarine/page.tpl.php @@ -1,5 +1,5 @@ - + <?php print $head_title ?> diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme index e507d415e..3153a9c1c 100644 --- a/themes/chameleon/chameleon.theme +++ b/themes/chameleon/chameleon.theme @@ -39,7 +39,7 @@ function chameleon_regions() { } function chameleon_page($content, $show_blocks = TRUE) { - $language = isset($GLOBALS['language']) ? $GLOBALS['language'] : NULL; + $language = isset($GLOBALS['language']) ? $GLOBALS['language']->language : NULL; if (theme_get_setting('toggle_favicon')) { drupal_set_html_head(''); diff --git a/themes/pushbutton/page.tpl.php b/themes/pushbutton/page.tpl.php index 2a1e34184..acf27949b 100644 --- a/themes/pushbutton/page.tpl.php +++ b/themes/pushbutton/page.tpl.php @@ -1,5 +1,5 @@ - + <?php print $head_title ?> -- cgit v1.2.3