MDL-12613 - this should fix (part of) the problem with the search block (take 2)

This commit is contained in:
scyrma
2007-12-18 08:17:13 +00:00
parent 075e3c715d
commit 72d707a346
+1 -1
View File
@@ -2817,7 +2817,7 @@ function forum_search_form($course, $search='') {
$output .= '<form action="'.$CFG->wwwroot.'/mod/forum/search.php" style="display:inline">';
$output .= '<fieldset class="invisiblefieldset">';
$output .= helpbutton('search', get_string('search'), 'moodle', true, false, '', true);
$output .= '<input name="search" type="text" size="18" value="'.s($search).'" alt="search" />';
$output .= '<input name="search" type="text" size="18" value="'.s($search, true).'" alt="search" />';
$output .= '<input value="'.get_string('searchforums', 'forum').'" type="submit" />';
$output .= '<input name="id" type="hidden" value="'.$course->id.'" />';
$output .= '</fieldset>';