diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-11-04 19:05:14 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-11-04 19:05:14 +0000 |
commit | ed774ccdee902f8b3491464bddf90a6b0e462b20 (patch) | |
tree | c1001fd344bd2eeac929e16b3741aec173fc5063 | |
parent | eb95d6d7fc1fb37730a6a3bd4be6e012f3abae67 (diff) | |
download | brdo-ed774ccdee902f8b3491464bddf90a6b0e462b20.tar.gz brdo-ed774ccdee902f8b3491464bddf90a6b0e462b20.tar.bz2 |
- Improvement: better HTML/CSS for the example theme. Patch by Adrian Simons.
-rw-r--r-- | includes/theme.inc | 8 |
1 files changed, 4 insertions, 4 deletions
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 = "<b>$node->title</b> by ". format_name($node) ."<br />"; + $output = "<h2>$node->title</h2> by ". format_name($node); if (count($terms)) { $output .= "<small>(". $this->links($terms) .")</small><br />"; @@ -72,7 +72,7 @@ class BaseTheme { } function box($subject, $content, $region = "main") { - $output = "<p><b>$subject</b><br />$content</p>"; + $output = "<h2>$subject</h2><p>$content</p>"; print $output; } @@ -92,7 +92,7 @@ class BaseTheme { */ function block($block) { $output = "<div class=\"block block-$block->module\" id=\"block-$block->module-$block->delta\">"; - $output .= " <div class=\"subject\">$block->subject</div>"; + $output .= " <h3>$block->subject</h3>"; $output .= " <div class=\"content\">$block->content</div>"; $output .= "</div>"; print $output; @@ -121,7 +121,7 @@ function theme_mark() { function theme_item_list($items = array(), $title = NULL) { $output .= "<div class=\"item-list\">"; if (isset($title)) { - $output .= "<div class=\"title\">$title</div>"; + $output .= "<h3>$title</h3>"; } if (isset($items)) { |