From 2aab6488a6d5bf255341e121db7b6bef14c538e9 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Thu, 1 Mar 2007 05:10:58 +0000 Subject: [PATCH] replacing fieldset in small forms with divs --- calendar/lib.php | 2 +- calendar/view.php | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) 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 "
frametarget method=\"get\" ". " action=\"$CFG->wwwroot/calendar/preferences.php\">". - "
"; + "
"; } 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.= '
'; - $text.= '
'; + $text.= '
'; $text.= ''; $text.= ''; $text.= ''; $text.= ''; $text.= ''; - $text.= '
'; + $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.= '
'; + $text.= '
'; $text.= ''; $text.= ''; $text.= ''; $text.= ''; - $text.= '
'; + $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.= '
'; - $text.= '
'; + $text.= '
'; $text.= ''; /* $text.= ''; $text.= ''; */ $text.= ''; - $text.= '
'; + $text.= ''; } $text .= get_string('upcomingevents', 'calendar').': '.calendar_course_filter_selector('from=upcoming');