Permalink
Browse files

Move the search up closer to the top

  • Loading branch information...
moodler
moodler committed Sep 1, 2003
1 parent 2f0f027 commit 1c109ec5b6ad3b98452feb04116ea4c63136104f
Showing with 5 additions and 5 deletions.
  1. +5 −5 course/format/social.php
View
@@ -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);

0 comments on commit 1c109ec

Please sign in to comment.