]> git.mjollnir.org Git - moodle.git/commitdiff
Some changes for XHTML compatibility
authormoodler <moodler>
Thu, 7 Oct 2004 05:52:39 +0000 (05:52 +0000)
committermoodler <moodler>
Thu, 7 Oct 2004 05:52:39 +0000 (05:52 +0000)
calendar/view.php

index 6e7c236419db8097cbee38a1f11f63fe595b5159..c25c1400fd3171123c8d08c0659dbce4cc70c579 100644 (file)
@@ -624,10 +624,8 @@ function calendar_course_filter_selector($getvars = '') {
         $selected = '';
     }
 
-    $form = popup_form(CALENDAR_URL.'set.php?var=setcourse&amp;'.$getvars.'&amp;id=',
+    return popup_form(CALENDAR_URL.'set.php?var=setcourse&amp;'.$getvars.'&amp;id=',
                        $courseoptions, 'cal_course_flt', $selected, '', '', '', true);
-
-    return str_replace('<form', '<form style="display: inline;"', $form);
 }
 
 ?>