Index: admin/index.php =================================================================== RCS file: /cvsroot/moodle/moodle/admin/index.php,v retrieving revision 1.435 diff -u -r1.435 index.php --- admin/index.php 19 Oct 2010 10:17:48 -0000 1.435 +++ admin/index.php 25 Oct 2010 10:40:21 -0000 @@ -111,7 +111,9 @@ if (!core_tables_exist()) { $PAGE->set_pagelayout('maintenance'); + define('MESSAGE_WINDOW', true); + // fake some settings $CFG->docroot = 'http://docs.moodle.org'; @@ -193,6 +195,7 @@ if ($version > $CFG->version) { // upgrade $PAGE->set_pagelayout('maintenance'); + define('MESSAGE_WINDOW', true); $a->oldversion = "$CFG->release ($CFG->version)"; $a->newversion = "$release ($version)"; @@ -276,6 +279,7 @@ // means core upgrade or installation was not already done if (!$confirmplugins) { $PAGE->set_pagelayout('maintenance'); + define('MESSAGE_WINDOW', true); $strplugincheck = get_string('plugincheck'); $PAGE->navbar->add($strplugincheck); $PAGE->set_title($strplugincheck);