]> git.mjollnir.org Git - moodle.git/commitdiff
Added form-group
authormoodler <moodler>
Mon, 25 Sep 2006 09:06:51 +0000 (09:06 +0000)
committermoodler <moodler>
Mon, 25 Sep 2006 09:06:51 +0000 (09:06 +0000)
lib/adminlib.php

index 438a09f00e169604d198680456148bd03346a23f..4ea81e8a867e00bf2609c99958f697b415288cef 100644 (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);
     }
 }