diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-10-16 17:29:26 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-10-16 17:29:26 +0000 |
commit | 880842885bd3e970bb752248ba72fb7b9957bc77 (patch) | |
tree | 90deba74233ee69c3b08c41d3802138527ddf06e /modules/forum.module | |
parent | 7624580f76937fbb004f81da8e6069dbb16921dc (diff) | |
download | brdo-880842885bd3e970bb752248ba72fb7b9957bc77.tar.gz brdo-880842885bd3e970bb752248ba72fb7b9957bc77.tar.bz2 |
- 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.
Diffstat (limited to 'modules/forum.module')
-rw-r--r-- | modules/forum.module | 4 |
1 files changed, 4 insertions, 0 deletions
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 |