From: moodler Date: Tue, 14 Dec 2004 05:59:30 +0000 (+0000) Subject: Changed new discussion link to a form button X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=49aa3742811ad64c86dae74c39c2e67b39163d76;p=moodle.git Changed new discussion link to a form button --- diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 549b8ab31b..af1e2111c4 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -2384,12 +2384,12 @@ function forum_print_latest_discussions($forum_id=0, $forum_numdiscussions=5, echo '
'; - echo "wwwroot/mod/forum/post.php?forum=$forum->id\">"; - if ($forum->type == "news") { - echo get_string("addanewtopic", "forum")."..."; - } else { - echo get_string("addanewdiscussion", "forum")."..."; - } + echo "
wwwroot/mod/forum/post.php\">"; + echo "id\" />"; + echo ''; + echo '
'; echo "
\n"; }