summaryrefslogtreecommitdiff
path: root/modules/forum
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-09-12 18:13:22 +0000
committerDries Buytaert <dries@buytaert.net>2003-09-12 18:13:22 +0000
commitee35d9136e70cbafad2574089c6f346ab5a635ba (patch)
tree6fb851c3c2834da31c46ff53d1e9ba711e54198c /modules/forum
parent9113a1ae280dd2387554be1bb3448b4e8da4b0e2 (diff)
downloadbrdo-ee35d9136e70cbafad2574089c6f346ab5a635ba.tar.gz
brdo-ee35d9136e70cbafad2574089c6f346ab5a635ba.tar.bz2
- Made the forum module's breadcrumb navigation fully themable. Patch by Nick.
- Changed 'pubdate' to 'pubDate'. Patch by Kristjan. - Fixed in Xtemplate theme; don't use return value of node_url() raw and uncut. Patch by me.
Diffstat (limited to 'modules/forum')
-rw-r--r--modules/forum/forum.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 57e789a96..3ac6dc2ca 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -157,7 +157,7 @@ function forum_view($node, $main = 0) {
$trail[] = l(t("Forums"), "forum");
$trail[] = l($term_data->name, "forum/$term_data->tid");
- print "<div class=\"path\">". implode($trail, " &raquo; ") ."</div>";
+ theme("path", $trail);
}
$node->teaser = check_output($node->teaser);
@@ -490,7 +490,7 @@ function forum_theme_display($forums, $topics, $parents, $tid, $sortby, $forum_p
$output .= "</div>";
theme("header");
- print "<div class=\"path\">". implode($trail, " &raquo; ") ."</div>";
+ theme("path", $trail);
theme("box", $title, $output);
theme("footer");
}