diff --git a/calendar/lib.php b/calendar/lib.php index b3abd872ce5..af5e5c50ed4 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -1267,7 +1267,7 @@ function calendar_preferences_button() { return "
"; + ""; } function calendar_format_event_time($event, $now, $morehref, $usecommonwords = true) { diff --git a/calendar/view.php b/calendar/view.php index 42a4e7983a6..090a370c27e 100644 --- a/calendar/view.php +++ b/calendar/view.php @@ -227,13 +227,13 @@ function calendar_show_day($d, $m, $y, $courses, $groups, $users) { if (!isguest() && !empty($USER->id)) { $text.= ''; } $text .= get_string('dayview', 'calendar').': '.calendar_course_filter_selector($getvars); @@ -357,12 +357,12 @@ function calendar_show_month_detailed($m, $y, $courses, $groups, $users) { $text = ''; if(!isguest() && !empty($USER->id)) { $text.= ''; } $text .= get_string('detailedmonthview', 'calendar').': '.calendar_course_filter_selector($getvars); @@ -553,14 +553,14 @@ function calendar_show_upcoming_events($courses, $groups, $users, $futuredays, $ if(!isguest() && !empty($USER->id)) { $text.= ''; } $text .= get_string('upcomingevents', 'calendar').': '.calendar_course_filter_selector('from=upcoming');