diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-12-06 10:33:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-12-06 10:33:27 +0000 |
commit | 4205799ba3a41435aa7d8fed190f03592722eb8f (patch) | |
tree | 388631059d3ee8d79cc7aac15600d488575a0e47 /modules | |
parent | facd9cc5176bf1146ee031c44d000b3806335fde (diff) | |
download | brdo-4205799ba3a41435aa7d8fed190f03592722eb8f.tar.gz brdo-4205799ba3a41435aa7d8fed190f03592722eb8f.tar.bz2 |
- Added the "add new comment" link to the forum module.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/forum.module | 2 | ||||
-rw-r--r-- | modules/forum/forum.module | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/modules/forum.module b/modules/forum.module index fe487d9a0..4bdb6a354 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -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); } diff --git a/modules/forum/forum.module b/modules/forum/forum.module index fe487d9a0..4bdb6a354 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -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); } |