mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 04:52:36 +02:00
Added search form
This commit is contained in:
parent
01afb600fb
commit
aa9872466d
@ -46,6 +46,12 @@
|
||||
echo "</TD></TR></TABLE>";
|
||||
echo "<BR>";
|
||||
|
||||
// Print a form to search discussions
|
||||
print_simple_box("Search Discussions", $align="CENTER", $width="100%", $color="$THEME->cellheading");
|
||||
echo "<DIV ALIGN=CENTER>";
|
||||
print_discussion_search_form($course);
|
||||
echo "</DIV>";
|
||||
|
||||
// Print Admin links for teachers and admin.
|
||||
if (isteacher($USER->id) || isadmin()) {
|
||||
print_simple_box("Admin", $align="CENTER", $width="100%", $color="$THEME->cellheading");
|
||||
@ -64,7 +70,6 @@
|
||||
$adminicon[]="<IMG SRC=\"../files/pix/files.gif\" HEIGHT=16 WIDTH=16 ALT=\"Files\">";
|
||||
|
||||
print_side_block("", $admindata, "", $adminicon);
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user