From 80f34e5ab0c7b08e409fad2c6d148fa933423ce3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 29 Dec 2003 17:14:27 +0000 Subject: - XHTML improvements: -> . Patch by Stefan. --- themes/chameleon/chameleon.theme | 2 +- themes/marvin/marvin.theme | 8 ++++---- themes/xtemplate/xtemplate.inc | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'themes') diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme index bbfb1c93e..3389b27af 100644 --- a/themes/chameleon/chameleon.theme +++ b/themes/chameleon/chameleon.theme @@ -67,7 +67,7 @@ function chameleon_header($title = "") { } if ($message = drupal_get_message()) { - $output .= "". t("Status") .": ". $message->message ."
"; + $output .= "". t("Status") .": ". $message->message ."
"; } return $output; diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme index 13cb00e63..f01c49a9e 100644 --- a/themes/marvin/marvin.theme +++ b/themes/marvin/marvin.theme @@ -62,11 +62,11 @@ function marvin_header() { } if ($help = menu_get_active_help()) { - $output .= "
$help
"; + $output .= "$help
"; } if ($message = drupal_get_message()) { - $output .= "
". t('Status') .": $message->message
"; + $output .= "". t("Status") .": ". $message->message ."
"; } return $output; @@ -118,8 +118,8 @@ function marvin_comment($comment, $link = "") { $output .= " \n"; // Subject: - $output .= " ". t("Subject") .":\n"; - $output .= "
$comment->subject
\n"; + $output .= " ". t("Subject") .":\n"; + $output .= "
$comment->subject
\n"; $output .= " \n"; diff --git a/themes/xtemplate/xtemplate.inc b/themes/xtemplate/xtemplate.inc index 72afbb4e8..6c89be93d 100644 --- a/themes/xtemplate/xtemplate.inc +++ b/themes/xtemplate/xtemplate.inc @@ -414,7 +414,7 @@ function get_error() { function set_error($str) { - $this->ERROR="[XTemplate] ".$str.""; + $this->ERROR="[XTemplate] ".$str.""; trigger_error($this->get_error()); } @@ -452,7 +452,7 @@ function getfile($file) { fclose($fh); } else { $this->set_error("[$file] does not exist"); - $file_text="__XTemplate fatal error: file [$file] does not exist__"; + $file_text="__XTemplate fatal error: file [$file] does not exist__"; } $this->filecache[$file]=$file_text; } -- cgit v1.2.3