mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-10606 Corrected course search box id
This commit is contained in:
parent
012166762e
commit
b1f97418bf
1 changed files with 4 additions and 4 deletions
|
@ -2016,15 +2016,15 @@ function print_course_search($value="", $return=false, $format="plain") {
|
|||
} else if ($format == 'short') {
|
||||
$output = '<form id="'.$id.'" action="'.$CFG->wwwroot.'/course/search.php" method="get">';
|
||||
$output .= '<fieldset class="coursesearchbox invisiblefieldset">';
|
||||
$output .= '<label for="coursesearchbox">'.$strsearchcourses.': </label>';
|
||||
$output .= '<input type="text" id="coursesearchbox" size="12" name="search" value="'.s($value, true).'" />';
|
||||
$output .= '<label for="shortsearchbox">'.$strsearchcourses.': </label>';
|
||||
$output .= '<input type="text" id="shortsearchbox" size="12" name="search" alt="'.s($strsearchcourses).'" value="'.s($value, true).'" />';
|
||||
$output .= '<input type="submit" value="'.get_string('go').'" />';
|
||||
$output .= '</fieldset></form>';
|
||||
} else if ($format == 'navbar') {
|
||||
$output = '<form id="coursesearchnavbar" action="'.$CFG->wwwroot.'/course/search.php" method="get">';
|
||||
$output .= '<fieldset class="coursesearchbox invisiblefieldset">';
|
||||
$output .= '<label for="coursesearchbox">'.$strsearchcourses.': </label>';
|
||||
$output .= '<input type="text" id="coursesearchbox" size="20" name="search" value="'.s($value, true).'" />';
|
||||
$output .= '<label for="navsearchbox">'.$strsearchcourses.': </label>';
|
||||
$output .= '<input type="text" id="navsearchbox" size="20" name="search" alt="'.s($strsearchcourses).'" value="'.s($value, true).'" />';
|
||||
$output .= '<input type="submit" value="'.get_string('go').'" />';
|
||||
$output .= '</fieldset></form>';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue