MDL-19823 Upgraded calls to choose_from_menu
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user