]> git.mjollnir.org Git - moodle.git/commitdiff
calendar html MDL-17528 Add H2 to the "block" headers to make consistent with everything
authormoodler <moodler>
Fri, 2 Oct 2009 06:20:52 +0000 (06:20 +0000)
committermoodler <moodler>
Fri, 2 Oct 2009 06:20:52 +0000 (06:20 +0000)
calendar/event.php

index 3a975da24ef9fc5ab454b8dd8835b22d5a31fd95..945aa5a70d2dd9a769883c57f2c7ac1ab7777fe9 100644 (file)
@@ -554,14 +554,14 @@ list($nextmon, $nextyr) = calendar_add_month($mon, $yr);
 
 echo '<td class="sidecalendar">';
 echo '<div class="sideblock">';
-echo '<div class="header">'.get_string('eventskey', 'calendar').'</div>';
+echo '<div class="header"><h2>'.get_string('eventskey', 'calendar').'</h2></div>';
 echo '<div class="filters">';
 echo calendar_filter_controls('event', 'action='.$action.'&amp;type='.$eventtype.'&amp;id='.$eventid);
 echo '</div>';
 echo '</div>';
 
 echo '<div class="sideblock">';
-echo '<div class="header">'.get_string('monthlyview', 'calendar').'</div>';
+echo '<div class="header"><h2>'.get_string('monthlyview', 'calendar').'</h2></div>';
 echo '<div class="minicalendarblock minicalendartop">';
 echo calendar_top_controls('display', array('id' => $urlcourse, 'm' => $prevmon, 'y' => $prevyr));
 echo calendar_get_mini($courses, $groups, $users, $prevmon, $prevyr);
@@ -660,4 +660,4 @@ function calendar_add_event_allowed($event) {
     }
 }
 
-?>
\ No newline at end of file
+?>