From ed774ccdee902f8b3491464bddf90a6b0e462b20 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 4 Nov 2003 19:05:14 +0000 Subject: - Improvement: better HTML/CSS for the example theme. Patch by Adrian Simons. --- includes/theme.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'includes') diff --git a/includes/theme.inc b/includes/theme.inc index 5e3aa53bb..6c9beb363 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -51,7 +51,7 @@ class BaseTheme { $terms = taxonomy_link("taxonomy terms", $node); } - $output = "$node->title by ". format_name($node) ."
"; + $output = "

$node->title

by ". format_name($node); if (count($terms)) { $output .= "(". $this->links($terms) .")
"; @@ -72,7 +72,7 @@ class BaseTheme { } function box($subject, $content, $region = "main") { - $output = "

$subject
$content

"; + $output = "

$subject

$content

"; print $output; } @@ -92,7 +92,7 @@ class BaseTheme { */ function block($block) { $output = "
module\" id=\"block-$block->module-$block->delta\">"; - $output .= "
$block->subject
"; + $output .= "

$block->subject

"; $output .= "
$block->content
"; $output .= "
"; print $output; @@ -121,7 +121,7 @@ function theme_mark() { function theme_item_list($items = array(), $title = NULL) { $output .= "
"; if (isset($title)) { - $output .= "
$title
"; + $output .= "

$title

"; } if (isset($items)) { -- cgit v1.2.3