';
- $select = moodle_select::make_popup_form('category.php', 'id', $displaylist, 'switchcategory', $category->id);
+ $select = html_select::make_popup_form('category.php', 'id', $displaylist, 'switchcategory', $category->id);
$select->set_label($strcategories.':');
$select->nothinglabel = false;
echo $OUTPUT->select($select);
@@ -410,7 +410,7 @@
make_categories_list($movetocategories, $notused, 'moodle/category:manage');
$movetocategories[$category->id] = get_string('moveselectedcoursesto');
echo '
| ';
- $select = new moodle_select();
+ $select = new html_select();
$select->options = $movetocategories;
$select->name = 'moveto';
$select->selectedvalue = $category->id;
diff --git a/course/format/topics/format.php b/course/format/topics/format.php
index 496fde2e03d..6a8771d862c 100644
--- a/course/format/topics/format.php
+++ b/course/format/topics/format.php
@@ -253,7 +253,7 @@
if (!empty($sectionmenu)) {
echo '';
diff --git a/course/format/weeks/format.php b/course/format/weeks/format.php
index 23b5a1893f5..8e56aaa55fd 100644
--- a/course/format/weeks/format.php
+++ b/course/format/weeks/format.php
@@ -245,7 +245,7 @@
if (!empty($sectionmenu)) {
echo '';
diff --git a/course/index.php b/course/index.php
index a382017cb55..48fcba31605 100644
--- a/course/index.php
+++ b/course/index.php
@@ -337,7 +337,7 @@ function print_category_edit($category, $displaylist, $parentslist, $depth=-1, $
}
}
$popupurl = "index.php?move=$category->id&sesskey=".sesskey();
- $select = moodle_select::make_popup_form($popupurl, 'moveto', $tempdisplaylist, "moveform$category->id", $category->parent);
+ $select = html_select::make_popup_form($popupurl, 'moveto', $tempdisplaylist, "moveform$category->id", $category->parent);
$select->nothinglabel = false;
echo $OUTPUT->select($select);
}
diff --git a/course/lib.php b/course/lib.php
index 40280a4bb81..144ac281fbf 100644
--- a/course/lib.php
+++ b/course/lib.php
@@ -1605,14 +1605,14 @@ function print_section_add_menus($course, $section, $modnames, $vertical=false,
$popupurl = "$CFG->wwwroot/course/mod.php?id=$course->id§ion=$section&sesskey=".sesskey();
if (!empty($resources)) {
- $select = moodle_select::make_popup_form($popupurl, 'add', $resources, "ressection$section", null);
+ $select = html_select::make_popup_form($popupurl, 'add', $resources, "ressection$section", null);
$select->nothinglabel = $straddresource;
$select->set_help_icon('resource/types', $straddresource);
$output .= $OUTPUT->select($select);
}
if (!empty($activities)) {
- $select = moodle_select::make_popup_form($popupurl, 'add', $activities, "section$section", null);
+ $select = html_select::make_popup_form($popupurl, 'add', $activities, "section$section", null);
$select->nothinglabel = $straddactivity;
$select->set_help_icon('mods', $straddactivity);
$output .= $OUTPUT->select($select);
diff --git a/course/report/log/lib.php b/course/report/log/lib.php
index 45571572b3c..a73f44820eb 100644
--- a/course/report/log/lib.php
+++ b/course/report/log/lib.php
@@ -221,7 +221,7 @@ function print_mnet_log_selector_form($hostid, $course, $selecteduser=0, $select
echo "\n";
if (has_capability('coursereport/log:view', $sitecontext) && $showcourses) {
$cid = empty($course->id)? '1' : $course->id;
- $select = moodle_select::make($dropdown, "host_course", $hostid.'/'.$cid);
+ $select = html_select::make($dropdown, "host_course", $hostid.'/'.$cid);
$select->nested = true;
echo $OUTPUT->select($select);
} else {
diff --git a/course/report/participation/index.php b/course/report/participation/index.php
index ad1f0b76a16..4d8ece267ff 100644
--- a/course/report/participation/index.php
+++ b/course/report/participation/index.php
@@ -117,7 +117,7 @@
echo ' |