From: moodler Date: Sat, 9 Aug 2003 06:02:01 +0000 (+0000) Subject: Better button behaviour X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3f26745351a081c89f58433c82b7768ee51e285b;p=moodle.git Better button behaviour --- diff --git a/mod/forum/search.php b/mod/forum/search.php index 96777157b5..081468d122 100644 --- a/mod/forum/search.php +++ b/mod/forum/search.php @@ -83,12 +83,14 @@ if (count($posts) == $perpage) { $options = array(); $options["id"] = $course->id; - $options["search"] = urlencode($search); + $options["search"] = $search; $options["page"] = $page+1; $options["perpage"] = $perpage; echo "
"; print_single_button("search.php", $options, get_string("searcholderposts", "forum")); echo "
"; + } else { + print_heading(get_string("nomorepostscontaining", "forum", $search)); } }