Browse Source

Weird bug found in course-settings when using the select_theme, the accordion gets freeze trying to fix it

Julio Montoya 13 years ago
parent
commit
07cca6fb87
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/course_info/infocours.php

+ 2 - 2
main/course_info/infocours.php

@@ -322,8 +322,8 @@ if (api_get_setting('allow_course_theme') == 'true') {
     $form->addGroup($group, '', array(get_lang("AllowLearningPathTheme")), '<div></div>');
     
 	$group = array();
-	$group[]=$form->createElement('select_theme', 'course_theme', get_lang('Theme'));
-    $form->addGroup($group, '', array(get_lang("Theme")), '<div></div>');
+	$group[]=$form->createElement('select_theme', 'course_theme', null);
+    $form->addGroup($group, '', array(get_lang("Stylesheets")), '<div></div>');
 }
 
 if (is_settings_editable()) {