From d0a32914604656fbd28ec37099d5d416f4688d7b Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 6 Jan 2007 05:14:51 +0000 Subject: [PATCH] Minor forms fixes for Strict MDL-7861 --- calendar/lib.php | 4 ++-- calendar/view.php | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/calendar/lib.php b/calendar/lib.php index bb5a64ac89..4522bef8fc 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -1267,7 +1267,7 @@ function calendar_preferences_button() { return "
frametarget method=\"get\" ". " action=\"$CFG->wwwroot/calendar/preferences.php\">". - "
"; + "
"; } function calendar_format_event_time($event, $now, $morehref, $usecommonwords = true) { @@ -1377,4 +1377,4 @@ function calendar_set_filters_status($packed_bitfield) { return true; } -?> \ No newline at end of file +?> diff --git a/calendar/view.php b/calendar/view.php index 0ead12a792..82cb148c00 100644 --- a/calendar/view.php +++ b/calendar/view.php @@ -223,12 +223,13 @@ function calendar_show_day($d, $m, $y, $courses, $groups, $users) { if (!isguest() && !empty($USER->id)) { $text.= '
'; $text.= '
'; + $text.= '
'; $text.= ''; $text.= ''; $text.= ''; $text.= ''; $text.= ''; - $text.= '
'; + $text.= ''; } $text .= get_string('dayview', 'calendar').': '.calendar_course_filter_selector($getvars); @@ -346,11 +347,12 @@ function calendar_show_month_detailed($m, $y, $courses, $groups, $users) { $text = ''; if(!isguest() && !empty($USER->id)) { $text.= '
'; + $text.= '
'; $text.= ''; $text.= ''; $text.= ''; $text.= ''; - $text.= '
'; + $text.= ''; } $text .= get_string('detailedmonthview', 'calendar').': '.calendar_course_filter_selector($getvars); @@ -541,13 +543,14 @@ function calendar_show_upcoming_events($courses, $groups, $users, $futuredays, $ if(!isguest() && !empty($USER->id)) { $text.= '
'; $text.= '
'; + $text.= '
'; $text.= ''; /* $text.= ''; $text.= ''; */ $text.= ''; - $text.= '
'; + $text.= ''; } $text .= get_string('upcomingevents', 'calendar').': '.calendar_course_filter_selector('from=upcoming'); -- 2.39.5