diff --git a/calendar/lib.php b/calendar/lib.php index b0ed6973ac1..b3abd872ce5 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -242,7 +242,7 @@ function calendar_get_mini($courses, $groups, $users, $cal_month = false, $cal_y $popupicon = $CFG->pixpath.'/c/user.gif'; $popupalt = ''; } - $popupcontent .= '
'; + $popupcontent .= ''; } //Accessibility: functionality moved to calendar_get_popup. @@ -456,7 +456,7 @@ function calendar_print_event($event) { static $strftimetime; $event = calendar_add_event_metadata($event); - echo '';
if (!empty($event->icon)) {
echo $event->icon;
@@ -883,7 +883,7 @@ function calendar_get_sideblock_upcoming($events, $linkhref = NULL) {
if(!empty($linkhref)) {
$ed = usergetdate($events[$i]->timestart);
$href = calendar_get_link_href(CALENDAR_URL.$linkhref, $ed['mday'], $ed['mon'], $ed['year']);
- $content .= ''.$events[$i]->name.'';
+ $content .= ''.$events[$i]->name.'';
}
else {
$content .= $events[$i]->name;
diff --git a/calendar/view.php b/calendar/view.php
index 2f83fe30c30..42a4e7983a6 100644
--- a/calendar/view.php
+++ b/calendar/view.php
@@ -470,7 +470,7 @@ function calendar_show_month_detailed($m, $y, $courses, $groups, $users) {
if(isset($eventsbyday[$day])) {
echo '
|