MDL-19807 Upgraded calls to choose_from_menu

This commit is contained in:
nicolasconnault 2009-08-17 15:20:08 +00:00
parent 601104f238
commit 17881fe287

View File

@ -106,7 +106,7 @@
if (($courses = $DB->get_records_sql_menu($sql, $params)) && !empty($searchcourse)) {
echo ' ' . get_string('courses') . ': ';
choose_from_menu ($courses, 'coursefilter', $coursefilter, 'choose');
echo $OUTPUT->select(html_select::make ($courses, 'coursefilter', $coursefilter));
echo '<input type="submit" value="'.get_string('mapcourse', 'feedback').'"/>';
helpbutton('mapcourses', '', 'feedback', true, true);
echo '<input type="button" value="'.get_string('searchagain').'" onclick="document.location=\'mapcourse.php?id='.$id.'\'"/>';