- Added the "add new comment" link to the forum module.

4.0.x
Dries Buytaert 2001-12-06 10:33:27 +00:00
parent facd9cc517
commit 4205799ba3
2 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,8 @@ function forum_link($type) {
function forum_view($node) {
global $theme;
$output .= "<p><a href=\"module.php?mod=forum\">". t("Forum") ."</a> / <b><a href=\"node.php?id=$node->nid\">". check_output($node->title) ."</a></b>:</p><p>". check_output($node->body) ."</p>";
$output .= "<p>". $theme->links(link_node($node, $main)) ."</p>";
$theme->box(t("Discussion forum"), $output);
}

View File

@ -43,6 +43,8 @@ function forum_link($type) {
function forum_view($node) {
global $theme;
$output .= "<p><a href=\"module.php?mod=forum\">". t("Forum") ."</a> / <b><a href=\"node.php?id=$node->nid\">". check_output($node->title) ."</a></b>:</p><p>". check_output($node->body) ."</p>";
$output .= "<p>". $theme->links(link_node($node, $main)) ."</p>";
$theme->box(t("Discussion forum"), $output);
}