From 31d8b14969b58769f03eae2ecbf0cb2a1c1152fa Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 25 Apr 2003 20:10:36 +0000 Subject: - A one line patch to theme.inc which adds a missing page title variable to the header() function. Patch by Moshe. --- includes/theme.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/theme.inc') diff --git a/includes/theme.inc b/includes/theme.inc index 7013c965d..58a4434d4 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -20,7 +20,7 @@ class BaseTheme { function header($title = "") { $output = "\n"; - $output .= "". variable_get(site_name, "drupal") .""; + $output .= "". $title ? $title : variable_get(site_name, "drupal") .""; $output .= theme_head($main); $output .= "background\" text=\"$this->foreground". theme_onload_attribute(). "\">"; $output .= "
"; -- cgit v1.2.3