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
+2 -2
View File
@@ -133,6 +133,8 @@
$strcalendar = get_string('calendar', 'calendar');
$prefsbutton = calendar_preferences_button();
$PAGE->requires->js('calendar/calendar.js');
// Print title and header
$PAGE->set_title("$site->shortname: $strcalendar: $pagetitle");
$PAGE->set_heading($strcalendar);
@@ -141,8 +143,6 @@
echo $OUTPUT->header();
echo calendar_overlib_html();
// Layout the whole page as three big columns.
echo '<table id="calendar" style="height:100%;">';
echo '<tr>';