summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-12-13 17:52:50 +0000
committerDries Buytaert <dries@buytaert.net>2003-12-13 17:52:50 +0000
commit67fe17164a3e68d6763d613bd758a5e77b0b9419 (patch)
tree06569eaa4d7aed4a65a46871952d60e0a7fd51bf /includes
parent4d54978a4b49345330a943e8c4f6a74e2b432fe4 (diff)
downloadbrdo-67fe17164a3e68d6763d613bd758a5e77b0b9419.tar.gz
brdo-67fe17164a3e68d6763d613bd758a5e77b0b9419.tar.bz2
- Bugfix: removed incorrect print statements from theme.inc.
Diffstat (limited to 'includes')
-rw-r--r--includes/theme.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index f8f37e7ad..0df0e2fba 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -246,14 +246,14 @@ function theme_node($node, $main = 0, $page = 0) {
}
if ($page == 0) {
- $output = "<h2>$node->title</h2> by ". format_name($node);
+ $output = "<h2 class=\"title\">$node->title</h2> by ". format_name($node);
}
else {
$output = "by ". format_name($node);
}
if (count($terms)) {
- $output .= " <small>(". print theme("links", $terms) .")</small><br />";
+ $output .= " <small>(". theme("links", $terms) .")</small><br />";
}
if ($main && $node->teaser) {
@@ -264,9 +264,8 @@ function theme_node($node, $main = 0, $page = 0) {
}
if ($links = link_node($node, $main)) {
- $output .= "<br />[ ". print theme("links", $links) ." ]";
+ $output .= "<div class=\"links\">". theme("links", $links) ."</div>";
}
- $output .= "<hr />";
return $output;
}