]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-16592 fixed link to nonexistent css, probably caused by recent YUI update
authorskodak <skodak>
Sun, 17 May 2009 19:12:46 +0000 (19:12 +0000)
committerskodak <skodak>
Sun, 17 May 2009 19:12:46 +0000 (19:12 +0000)
lib/formslib.php

index 8c368190b603858f7998bb67d16be979d4babfc6..444a0b313c631b730c0619108b4ef5ee0d779e71 100644 (file)
@@ -49,9 +49,9 @@ function form_init_date_js() {
     global $CFG;
     static $done = false;
     if (!$done) {
+        //TODO: this is NOT xhtml strict, we will need something like require_css() 
         echo '<style type="text/css">';
-        echo '@import "' . $CFG->httpswwwroot . '/lib/yui/calendar/assets/skins/sam/calendar.css";';
-        echo '@import "' . $CFG->httpswwwroot . '/lib/yui/calendar/assets/skins/sam/container.css";';
+        echo '@import "' . $CFG->httpswwwroot . '/lib/yui/assets/skins/sam/calendar.css";';
         echo '</style>';
         require_js(array('yui_yahoo', 'yui_dom', 'yui_event', 'yui_calendar', 'yui_container'));
         print_delayed_js_call(1, 'init_date_selectors', array(get_string('firstdayofweek')));