mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-19796 Upgraded calls to choose_from_menu
This commit is contained in:
parent
f147f547cb
commit
2c5c7029fe
@ -179,8 +179,9 @@ if (empty($availablefilters)) {
|
||||
} else {
|
||||
$activechoices[TEXTFILTER_INHERIT] = $strdefaultoff;
|
||||
}
|
||||
$row[] = choose_from_menu($activechoices, str_replace('/', '_', $filter),
|
||||
$filterinfo->localstate, '', '', '', true);
|
||||
$select = html_select::make($activechoices, str_replace('/', '_', $filter), $filterinfo->localstate, false);
|
||||
$select->nothingvalue = '';
|
||||
$row[] = $OUTPUT->select($select);
|
||||
|
||||
// Settings link, if required
|
||||
if ($settingscol) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user