Added form-group

This commit is contained in:
moodler
2006-09-25 09:06:51 +00:00
parent 841d5d4b94
commit 0a7e84c341
+3 -1
View File
@@ -1608,7 +1608,7 @@ class admin_setting_courselist_frontpage extends admin_setting_configselect {
$currentsetting[$i] = 0;
}
}
$return = '';
$return = '<div class="form-group">';
for ($i = 0; $i < count($this->choices) - 1; $i++) {
$return .='<select class="form-select" id="id_s_'.$this->name.'" name="s_' . $this->name .'[]">';
foreach ($this->choices as $key => $value) {
@@ -1619,6 +1619,8 @@ class admin_setting_courselist_frontpage extends admin_setting_configselect {
$return .= '<br />';
}
}
$return .= '</div>';
return format_admin_setting('frontpage', $this->name, $this->visiblename, $return, $this->description);
}
}