MDL-19823 Upgraded calls to choose_from_menu

This commit is contained in:
nicolasconnault
2009-08-18 00:13:44 +00:00
parent 44c64ad857
commit 5084583672
+1 -1
View File
@@ -233,7 +233,7 @@ if ($tagrecords = $DB->get_records_sql($query, $params, $table->get_page_start()
$timemodified = format_time(time() - $tag->timemodified);
$checkbox = '<input type="checkbox" name="tagschecked[]" value="'.$tag->id.'" />';
$text = '<input type="text" name="newname['.$tag->id.']" />';
$tagtype = choose_from_menu($existing_tagtypes, 'tagtypes['.$tag->id.']', $tag->tagtype, '', '', '0', true);
$tagtype = $OUTPUT->select(html_select::make($existing_tagtypes, 'tagtypes['.$tag->id.']', $tag->tagtype, false));
//if the tag if flagged, highlight it
if ($tag->flag > 0) {