From: moodler Date: Mon, 1 Sep 2003 08:52:51 +0000 (+0000) Subject: Move the search up closer to the top X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1c109ec5b6ad3b98452feb04116ea4c63136104f;p=moodle.git Move the search up closer to the top --- diff --git a/course/format/social.php b/course/format/social.php index a62297d073..83a1325dbf 100644 --- a/course/format/social.php +++ b/course/format/social.php @@ -25,6 +25,11 @@ print_side_block(get_string("people"), "", $moddata, $modicon, "", $leftwidth); +/// Print a form to search forums + $searchform = forum_print_search_form($course, "", true); + $searchform = "
$searchform
"; + print_side_block(get_string("search","forum"), $searchform, "", "", "", $leftwidth); + /// Then, print all the available resources (Section 0) print_section_block(get_string("activities"), $course, $sections[0], @@ -40,11 +45,6 @@ } -/// Print a form to search forums - $searchform = forum_print_search_form($course, "", true); - $searchform = "
$searchform
"; - print_side_block(get_string("search","forum"), $searchform, "", "", "", $leftwidth); - /// Admin links and controls print_course_admin_links($course);