Move the search up closer to the top

This commit is contained in:
moodler
2003-09-01 08:52:51 +00:00
parent 2f0f0271bb
commit 1c109ec5b6
+5 -5
View File
@@ -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 = "<div align=\"center\">$searchform</div>";
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 = "<div align=\"center\">$searchform</div>";
print_side_block(get_string("search","forum"), $searchform, "", "", "", $leftwidth);
/// Admin links and controls
print_course_admin_links($course);