From 880842885bd3e970bb752248ba72fb7b9957bc77 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 16 Oct 2003 17:29:26 +0000 Subject: - Fixed bug #3637: made comment module settings translatable. Patch #13 by Moshe. - Fixed bug #3642: removed duplicate settings from user page. Patch #14 by Moshe. - Fixed bug #3503: added 'forum topic' link to the 'create content' menu. Patch by Gobar. I think this might be more intuitive and consistent code-wise; I don't want to introduce small hacks. - Cache improvement: small cache improvement to prevent SQL errors. Patch by Jeremy. --- modules/forum.module | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/forum.module') diff --git a/modules/forum.module b/modules/forum.module index 88d7e2a3d..79a5d27d3 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -98,6 +98,10 @@ function forum_link($type, $node = 0, $main = 0) { $links[] = l(t("forums"), "forum"); } + if ($type == "system" && user_access("create forum topics")) { + menu("node/add/forum",t("forum topic"), "forum_page"); + } + if (!$main && $type == "node" && $node->type == "forum") { // get previous and next topic -- cgit v1.2.3