summaryrefslogtreecommitdiff
path: root/modules/forum
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-04-22 09:05:36 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-04-22 09:05:36 +0000
commitde5b9a168daeef12b6f7bcf6e43b767a2d7f35d8 (patch)
tree8b0aa9828f941161183b27e74b6fdc0a167e0021 /modules/forum
parent5b5551674d3721cee39c21dd6843700315521f91 (diff)
downloadbrdo-de5b9a168daeef12b6f7bcf6e43b767a2d7f35d8.tar.gz
brdo-de5b9a168daeef12b6f7bcf6e43b767a2d7f35d8.tar.bz2
- bug fixes:
* fixed mails not being parsed properly. * tracker now shows user name when you view your own recent comments. * link to submission queue now points to the right place. * fixed jabber module. * theme is now activated when changed. - applied Gerhards coding style patch.
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 3c2d5c5c7..64597ab2c 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -47,7 +47,7 @@ function forum_link($type) {
function forum_view($node) {
global $theme;
- $output .= "<p>".lm(t("Forum"), array("mod" => "forum"))." / <b>".l(check_output($node->title), array("id" => $node->nid))."</b>:</p><p>". check_output($node->body) ."</p>";
+ $output .= "<p>". lm(t("Forum"), array("mod" => "forum")) ." / <b>". l(check_output($node->title), array("id" => $node->nid)) ."</b>:</p><p>". check_output($node->body) ."</p>";
$output .= "<p>". $theme->links(link_node($node, $main)) ."</p>";
$theme->box(t("Discussion forum"), $output);
@@ -81,7 +81,7 @@ function forum_page() {
$output .= " <tr><th>". t("Forum") ."</th><th>". t("Comments") ."</th><th>". t("Last comment") ."</th></tr>";
while ($node = db_fetch_object($result)) {
$node = node_load(array("nid" => $node->nid));
- $output .= " <tr><td>".l(check_output($node->title), array("id" => $node->nid))."<br /><small>". check_output($node->body, 1) ."</small></td><td align=\"center\">". forum_num_comments($node->nid) ."</td><td align=\"center\">". forum_last_comment($node->nid) ."</td></tr>";
+ $output .= " <tr><td>". l(check_output($node->title), array("id" => $node->nid)) ."<br /><small>". check_output($node->body, 1) ."</small></td><td align=\"center\">". forum_num_comments($node->nid) ."</td><td align=\"center\">". forum_last_comment($node->nid) ."</td></tr>";
}
$output .= "</table>";