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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user