fixed incorrect writer attributes
authorPetr Skoda <skodak@moodle.org>
Mon, 28 Jun 2010 18:50:22 +0000 (18:50 +0000)
committerPetr Skoda <skodak@moodle.org>
Mon, 28 Jun 2010 18:50:22 +0000 (18:50 +0000)
course/format/weeks/format.php

index 155408b..08cc37b 100644 (file)
@@ -89,7 +89,7 @@
         echo '<div class="content">';
 
         if (!empty($thissection->name)) {
-            echo html_writer::tag('h3', $thissection->name, 'sectionname');
+            echo $OUTPUT->heading($thissection->name, 3, 'sectionname');
         }
 
         echo '<div class="summary">';
         echo '</div>';
 
         print_section($course, $thissection, $mods, $modnamesused);
-         
+
         if ($PAGE->user_is_editing()) {
             print_section_add_menus($course, $section, $modnames);
         }
                 echo '</div>';
 
                 print_section($course, $thissection, $mods, $modnamesused);
-                
+
                 if ($PAGE->user_is_editing()) {
                     print_section_add_menus($course, $section, $modnames);
                 }