overlib MDL-19735 Overlib is now included only where it is used

At the same time I have converted the calendar block to use YUI instead of overlib, this introduces one regression in that the panel is shown immediatly but should really have a minimal delay for usability.
This will be fixed once the theme changes for 2.0 have been commited
This commit is contained in:
samhemelryk
2009-09-17 07:46:20 +00:00
parent bb55642327
commit 458eb0d10c
16 changed files with 54 additions and 36 deletions
+3
View File
@@ -115,6 +115,9 @@ if ($rs = $DB->get_recordset_sql($sql, $params)) {
$rs->close();
}
$PAGE->requires->js('lib/overlib/overlib.js')->in_head();
$PAGE->requires->js('lib/overlib/overlib_cssstyle.js')->in_head();
$PAGE->navbar->add($strparticipants, new moodle_url($CFG->wwwroot.'/user/index.php', array('id'=>$courseid)));
$PAGE->navbar->add($strgroups);