MDL-12613 - this should fix the problem with the search block

This commit is contained in:
scyrma 2007-12-18 07:54:09 +00:00
parent 54ab64e951
commit aa66df4dff

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="'.$search.'" alt="search" />';
$output .= '<input name="search" type="text" size="18" value="'.s($search).'" alt="search" />';
$output .= '<input value="'.get_string('searchforums', 'forum').'" type="submit" />';
$output .= '<input name="id" type="hidden" value="'.$course->id.'" />';
$output .= '</fieldset>';