From 3f61d1a354263bc3b30af243894c3b71942d5c2d Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Wed, 11 Sep 2002 15:17:49 +0000 Subject: - adding doctype to basic theme. - some minor changes to clean up var initialization. --- includes/theme.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'includes') diff --git a/includes/theme.inc b/includes/theme.inc index 122e58948..146561014 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -19,6 +19,7 @@ class BaseTheme { } function header($title = "") { + $output = "\n"; $output .= "". variable_get(site_name, "drupal") ."background\" text=\"$this->foreground\">"; $output .= "
"; @@ -67,7 +68,7 @@ class BaseTheme { } function comment($comment, $link = 0) { - $output .= "cid\">"; + $output = "cid\">"; $output .= "
"; $output .= ""; $output .= " "; @@ -80,12 +81,12 @@ class BaseTheme { } function box($subject, $content, $region = "main") { - $output .= "". check_output($subject) ."
". check_output($content) ."

"; + $output = "". check_output($subject) ."
". check_output($content) ."

"; print $output; } function footer() { - $output .= "

". check_output($comment->subject) ."
". comment_moderation($comment) ."
"; + $output = "
"; $output .= ""; print $output; } -- cgit v1.2.3