moodle.git
12 years agoFixing drift between CVS and git
Moodle HQ git importer [Mon, 6 Jul 2009 00:38:18 +0000 (00:38 +0000)]
Fixing drift between CVS and git

12 years agoUpdated the HEAD build version to 20090706
moodlerobot [Mon, 6 Jul 2009 00:38:18 +0000 (00:38 +0000)]
Updated the HEAD build version to 20090706

12 years agoMDL-19716 moodle_url: new parameter to get URL with unescaped ampersands
mudrd8mz [Sun, 5 Jul 2009 14:31:58 +0000 (14:31 +0000)]
MDL-19716 moodle_url: new parameter to get URL with unescaped ampersands

moodle_url::get_query_string() and moodle_url::out() now accept new
optional parameter. Backwards compatible. This is needed so we can use returned URL
during redirect() which expects unescaped ampersands.

12 years ago"MDL-18830, add watermark to flickr image"
dongsheng [Sun, 5 Jul 2009 14:15:18 +0000 (14:15 +0000)]
"MDL-18830, add watermark to flickr image"

12 years agoMDL-19714 Fatal errors when installing HEAD \r\rThis is my attempt to fix things by...
tjhunt [Sun, 5 Jul 2009 02:16:56 +0000 (02:16 +0000)]
MDL-19714 Fatal errors when installing HEAD \r\rThis is my attempt to fix things by copying code from setup.php to install.php. Seems to work now.

12 years agoUpdated the HEAD build version to 20090705
moodlerobot [Sun, 5 Jul 2009 00:38:22 +0000 (00:38 +0000)]
Updated the HEAD build version to 20090705

12 years agoAutomatic installer.php lang files by installer_builder (20090705)
moodlerobot [Sun, 5 Jul 2009 00:28:06 +0000 (00:28 +0000)]
installer.php lang files by installer_builder (20090705)

12 years agoMDL-16597 temporary icon fix
skodak [Sat, 4 Jul 2009 19:17:48 +0000 (19:17 +0000)]
MDL-16597 temporary icon fix

12 years agoMDL-16597 at least basic support for displaying of subdirectory content and general...
skodak [Sat, 4 Jul 2009 19:03:44 +0000 (19:03 +0000)]
MDL-16597 at least basic support for displaying of subdirectory content and general cleanup

12 years agoMDL-14589 fixed area tree generation
skodak [Sat, 4 Jul 2009 18:47:56 +0000 (18:47 +0000)]
MDL-14589 fixed area tree generation

12 years agofixed missing CFG global
skodak [Sat, 4 Jul 2009 18:21:43 +0000 (18:21 +0000)]
fixed missing CFG global

12 years agoMDL-19713 Fixed a typo.
mits [Sat, 4 Jul 2009 17:16:29 +0000 (17:16 +0000)]
MDL-19713 Fixed a typo.

12 years agofixed missing OUTPUT global regression
skodak [Sat, 4 Jul 2009 16:31:33 +0000 (16:31 +0000)]
fixed missing OUTPUT global regression

12 years agoRe-order the code, so we process the actions before we do any output.\r\rThat is the...
tjhunt [Sat, 4 Jul 2009 14:23:49 +0000 (14:23 +0000)]
Re-order the code, so we process the actions before we do any output.\r\rThat is the right order anyway, and avoids the problem where require_capability\rafter output is started leads to an exception being thrown.

12 years agoAdd a warning that require_capabiliy can only be used before output is started.
tjhunt [Sat, 4 Jul 2009 14:22:11 +0000 (14:22 +0000)]
Add a warning that require_capabiliy can only be used before output is started.

12 years agoXHTML strict.
tjhunt [Sat, 4 Jul 2009 13:36:19 +0000 (13:36 +0000)]
XHTML strict.

12 years agooutputlib: MDL-19077 better reporting when open/close containers don't match.
tjhunt [Sat, 4 Jul 2009 13:36:05 +0000 (13:36 +0000)]
outputlib: MDL-19077 better reporting when open/close containers don't match.

12 years ago"MDL-13766, add language string for repository plugin"
dongsheng [Sat, 4 Jul 2009 11:20:39 +0000 (11:20 +0000)]
"MDL-13766, add language string for repository plugin"

12 years ago"MDL-13766, add language string for file picker"
dongsheng [Sat, 4 Jul 2009 11:17:33 +0000 (11:17 +0000)]
"MDL-13766, add language string for file picker"

12 years agoMDL-19689 get_coursemodule_from_id() and get_coursemodule_from_instance() now have...
skodak [Sat, 4 Jul 2009 11:15:16 +0000 (11:15 +0000)]
MDL-19689 get_coursemodule_from_id() and get_coursemodule_from_instance() now have $strictness parameter too

12 years agoMDL-19689 fixed strictness constants, thanks Tim
skodak [Sat, 4 Jul 2009 10:53:57 +0000 (10:53 +0000)]
MDL-19689 fixed strictness constants, thanks Tim

12 years agoMDL-16438 fixed portfolio regression
skodak [Sat, 4 Jul 2009 09:48:56 +0000 (09:48 +0000)]
MDL-16438 fixed portfolio regression

12 years agoMDL-19689 adding IGNORE_MULTIPLE to get_record - please note this parameter is discou...
skodak [Sat, 4 Jul 2009 09:35:03 +0000 (09:35 +0000)]
MDL-19689 adding IGNORE_MULTIPLE to get_record - please note this parameter is discouraged

12 years agoMDL-19689 fixed strictness constants, thanks Tim
skodak [Sat, 4 Jul 2009 09:30:59 +0000 (09:30 +0000)]
MDL-19689 fixed strictness constants, thanks Tim

12 years agoUpdated the HEAD build version to 20090704
moodlerobot [Sat, 4 Jul 2009 00:38:53 +0000 (00:38 +0000)]
Updated the HEAD build version to 20090704

12 years agoMDL-19689 new $strictness parameter in $DB->get_record() and $DB->get_field() family...
skodak [Fri, 3 Jul 2009 22:38:56 +0000 (22:38 +0000)]
MDL-19689 new $strictness parameter in $DB->get_record() and $DB->get_field() family of DML methods

12 years agoMDL-19676 removing premature commit
skodak [Fri, 3 Jul 2009 21:48:06 +0000 (21:48 +0000)]
MDL-19676 removing premature commit

12 years agoMDL-14589 improved _pluginfile function - added forcedownload param and fixed docs
skodak [Fri, 3 Jul 2009 13:40:37 +0000 (13:40 +0000)]
MDL-14589 improved _pluginfile function - added forcedownload param and fixed docs

12 years agoMDL-14589 improved _pluginfile function - added forcedownload param and fixed docs
skodak [Fri, 3 Jul 2009 13:39:39 +0000 (13:39 +0000)]
MDL-14589 improved _pluginfile function - added forcedownload param and fixed docs

12 years agoMDL-14589 improved _pluginfile function - added forcedownload param
skodak [Fri, 3 Jul 2009 13:39:14 +0000 (13:39 +0000)]
MDL-14589 improved _pluginfile function - added forcedownload param

12 years agoMDL-16089 entry in modules table created before calling install.php because it might...
skodak [Fri, 3 Jul 2009 13:35:36 +0000 (13:35 +0000)]
MDL-16089 entry in modules table created before calling install.php because it might be used there already, also if something fails in install.php the db will be in a more consistent state

12 years agoMDL-16089 adding easier access to current module instance data in modedit forms
skodak [Fri, 3 Jul 2009 13:33:03 +0000 (13:33 +0000)]
MDL-16089 adding easier access to current module instance data in modedit forms

12 years agoMDL-19708 adding missing sumbit button class include
skodak [Fri, 3 Jul 2009 13:31:37 +0000 (13:31 +0000)]
MDL-19708 adding missing sumbit button class include

12 years agoMDL-19690 fixed some icon conversion
skodak [Fri, 3 Jul 2009 09:59:00 +0000 (09:59 +0000)]
MDL-19690 fixed some icon conversion

12 years agoMDL-19696 make sure install works.
tjhunt [Fri, 3 Jul 2009 09:03:50 +0000 (09:03 +0000)]
MDL-19696 make sure install works.

12 years agoMDL-19696 & MDL-16706 refactor sam's redirect changes, so they can work during initia...
tjhunt [Fri, 3 Jul 2009 09:03:29 +0000 (09:03 +0000)]
MDL-19696 & MDL-16706 refactor sam's redirect changes, so they can work during initial install.

12 years agoMDL-19690 - the last lot of $CFG->pixpath to $OUTPUT->old_icon_url
tjhunt [Fri, 3 Jul 2009 07:55:30 +0000 (07:55 +0000)]
MDL-19690 - the last lot of $CFG->pixpath to $OUTPUT->old_icon_url
Including MDL-19693

RIP $CFG->pixpath

12 years agoXHTML strict
tjhunt [Fri, 3 Jul 2009 07:17:41 +0000 (07:17 +0000)]
XHTML strict

12 years agoMDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url
tjhunt [Fri, 3 Jul 2009 06:38:41 +0000 (06:38 +0000)]
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url

12 years agoMDL-18228 Added a bit of JS to resize the left header of the fixed student column...
nicolasconnault [Fri, 3 Jul 2009 06:33:12 +0000 (06:33 +0000)]
MDL-18228 Added a bit of JS to resize the left header of the fixed student column. This should help to keep the rows below aligned. Merged from MOODLE_19_STABLE

12 years agoMDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url
tjhunt [Fri, 3 Jul 2009 06:19:25 +0000 (06:19 +0000)]
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url

12 years agoMDL-19677 Reverting prematurely committed blog patch
nicolasconnault [Fri, 3 Jul 2009 05:54:49 +0000 (05:54 +0000)]
MDL-19677 Reverting prematurely committed blog patch

12 years agoMDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url
tjhunt [Fri, 3 Jul 2009 04:23:05 +0000 (04:23 +0000)]
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url

12 years agooutput MDL-19077 typo bug
jerome [Fri, 3 Jul 2009 04:08:52 +0000 (04:08 +0000)]
output MDL-19077  typo bug

12 years agomod-feedback MDL-16706 Removed inline JS and added PAGE methods
samhemelryk [Fri, 3 Jul 2009 02:01:21 +0000 (02:01 +0000)]
mod-feedback MDL-16706 Removed inline JS and added PAGE methods

12 years agomod-scorm MDL-16706 Added missing global from commites yesterday
samhemelryk [Fri, 3 Jul 2009 01:36:18 +0000 (01:36 +0000)]
mod-scorm MDL-16706 Added missing global from commites yesterday

12 years agoMDL-6218 TEXT/BINARY columns and default clauses - forbidden since ages, warn and...
stronk7 [Fri, 3 Jul 2009 01:12:59 +0000 (01:12 +0000)]
MDL-6218 TEXT/BINARY columns and default clauses - forbidden since ages, warn and autofix them if found

12 years agoUpdated the HEAD build version to 20090703
moodlerobot [Fri, 3 Jul 2009 00:39:25 +0000 (00:39 +0000)]
Updated the HEAD build version to 20090703

12 years agoMDL-19696 undoing my previous veryveryuglyhack, I did not solve much, sorry
skodak [Thu, 2 Jul 2009 20:29:21 +0000 (20:29 +0000)]
MDL-19696 undoing my previous veryveryuglyhack, I did not solve much, sorry

12 years agoMDL-19057 ddl tests - slowly advancing. Added some test to check for MDL-19695 behaviour
stronk7 [Thu, 2 Jul 2009 16:13:30 +0000 (16:13 +0000)]
MDL-19057 ddl tests - slowly advancing. Added some test to check for MDL-19695 behaviour

12 years agoMDL-19695 field dependencies - defined new exception ddl_dependency_exception that
stronk7 [Thu, 2 Jul 2009 16:08:44 +0000 (16:08 +0000)]
MDL-19695 field dependencies - defined new exception ddl_dependency_exception that
will be thrown when one DDL operation (drop only for now) is attempted over one
field being part of indexes.

12 years agoMDL-19695 field dependencies - before committing the dependency checker, fix all...
stronk7 [Thu, 2 Jul 2009 16:05:47 +0000 (16:05 +0000)]
MDL-19695 field dependencies - before committing the dependency checker, fix all places in upgrade
that will break once running with dependencies enabled

12 years agoEnums are out in 2.0, so we cannot introduce any in the 1.9 => 2.0 upgrade. Deleting...
stronk7 [Thu, 2 Jul 2009 15:30:30 +0000 (15:30 +0000)]
Enums are out in 2.0, so we cannot introduce any in the 1.9 => 2.0 upgrade. Deleting the upgrade block.

12 years agoMDL-19700 removing unused global
skodak [Thu, 2 Jul 2009 15:27:46 +0000 (15:27 +0000)]
MDL-19700 removing unused global

12 years agoMDL-19699 fixed blog upgrade trouble and one notice
skodak [Thu, 2 Jul 2009 15:14:23 +0000 (15:14 +0000)]
MDL-19699 fixed blog upgrade trouble and one notice

12 years agoMDL-16438 fixed incomplete plugin centralisation, sorry; unfortunately install is...
skodak [Thu, 2 Jul 2009 15:11:28 +0000 (15:11 +0000)]
MDL-16438 fixed incomplete plugin centralisation, sorry; unfortunately install is kind of non-working now; this may break current dev installs :-(

12 years agoMDL-16438 fixed incomplete plugin centralisation, sorry; unfortunately install is...
skodak [Thu, 2 Jul 2009 15:02:51 +0000 (15:02 +0000)]
MDL-16438 fixed incomplete plugin centralisation, sorry; unfortunately install is kind of non-working now; this may break current dev installs :-(

12 years agoMDL-16438 dixed resource borking install - no code execution in lib.php files!
skodak [Thu, 2 Jul 2009 15:01:22 +0000 (15:01 +0000)]
MDL-16438 dixed resource borking install - no code execution in lib.php files!

12 years agoMDL-19415 fixing deprecated use of contructors
skodak [Thu, 2 Jul 2009 14:58:41 +0000 (14:58 +0000)]
MDL-19415 fixing deprecated use of contructors

12 years agoMDL-19692: Wording change in help for completion tickboxes, again based on user testing
sam_marshall [Thu, 2 Jul 2009 14:44:42 +0000 (14:44 +0000)]
MDL-19692: Wording change in help for completion tickboxes, again based on user testing

12 years agoMDL-19696 veryveryuglyhack which partially ubreaks installation after latest pagelib...
skodak [Thu, 2 Jul 2009 13:39:55 +0000 (13:39 +0000)]
MDL-19696 veryveryuglyhack which partially ubreaks installation after latest pagelib changes

12 years agoFix some grader report breakage.
tjhunt [Thu, 2 Jul 2009 12:43:19 +0000 (12:43 +0000)]
Fix some grader report breakage.

12 years agoMDL-19690 fix some breakage.
tjhunt [Thu, 2 Jul 2009 12:35:13 +0000 (12:35 +0000)]
MDL-19690 fix some breakage.

12 years agoMDL-19690 - Eliminate all remaining $CFG->modpixpath apart from mod/scorm
tjhunt [Thu, 2 Jul 2009 12:25:19 +0000 (12:25 +0000)]
MDL-19690 - Eliminate all remaining $CFG->modpixpath apart from mod/scorm

12 years agoMDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
tjhunt [Thu, 2 Jul 2009 12:07:58 +0000 (12:07 +0000)]
MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
and $CFG->modpixpath to $OUTPUT->mod_icon_url

12 years agoMDL-19690 - eliminate the $OUTPUT->initialise_deprecated_cfg_pixpath horrible hack.
tjhunt [Thu, 2 Jul 2009 11:23:47 +0000 (11:23 +0000)]
MDL-19690 - eliminate the $OUTPUT->initialise_deprecated_cfg_pixpath horrible hack.

Replace $CFG->pixpath with $OUPTUT->old_icon_url(...) instead.

12 years agoMDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
tjhunt [Thu, 2 Jul 2009 11:09:15 +0000 (11:09 +0000)]
MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url

12 years agoMDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
tjhunt [Thu, 2 Jul 2009 10:53:31 +0000 (10:53 +0000)]
MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url

12 years agoMDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url
tjhunt [Thu, 2 Jul 2009 10:26:02 +0000 (10:26 +0000)]
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url

12 years agoMDL-19690 - 4 more $CFG->pixpath to $OUTPUT->old_icon_url
tjhunt [Thu, 2 Jul 2009 10:12:19 +0000 (10:12 +0000)]
MDL-19690 - 4 more $CFG->pixpath to $OUTPUT->old_icon_url

12 years agoMDL-19690 - first 53 $CFG->pixpath to $OUTPUT->old_icon_url
tjhunt [Thu, 2 Jul 2009 10:06:39 +0000 (10:06 +0000)]
MDL-19690 - first 53 $CFG->pixpath to $OUTPUT->old_icon_url

12 years agooutput: MDL-19690 allow for .png or .gif in $OUTPUT->mod/old_icon_url
tjhunt [Thu, 2 Jul 2009 09:28:19 +0000 (09:28 +0000)]
output: MDL-19690 allow for .png or .gif in $OUTPUT->mod/old_icon_url

12 years agoMDL-19692: Improvement to help icon for completion tickboxes, based on user testing
sam_marshall [Thu, 2 Jul 2009 09:18:26 +0000 (09:18 +0000)]
MDL-19692: Improvement to help icon for completion tickboxes, based on user testing

12 years agooutput: MDL-19690 icon_finder classes and $OUTPUT->mod/old_icon_url
tjhunt [Thu, 2 Jul 2009 08:49:25 +0000 (08:49 +0000)]
output: MDL-19690 icon_finder classes and $OUTPUT->mod/old_icon_url

This is ready to replace $CFG->pixpath and $CFG->modpixpath soon.

12 years agoRemoved redundant require_capability and require_login, causing havoc on new module...
nicolasconnault [Thu, 2 Jul 2009 07:49:12 +0000 (07:49 +0000)]
Removed redundant require_capability and require_login, causing havoc on new module page.

12 years agograde-edit-tree MDL-16706 Removed inline script
samhemelryk [Thu, 2 Jul 2009 07:45:44 +0000 (07:45 +0000)]
grade-edit-tree MDL-16706 Removed inline script

12 years agoRemoved useless require_capability, causing havoc on new module page.
nicolasconnault [Thu, 2 Jul 2009 07:44:56 +0000 (07:44 +0000)]
Removed useless require_capability, causing havoc on new module page.

12 years agopagelib MDL-19077 Fixed minor error in pagelib
samhemelryk [Thu, 2 Jul 2009 07:29:08 +0000 (07:29 +0000)]
pagelib MDL-19077 Fixed minor error in pagelib

12 years agoMDL-19077 I just found a way to reduce the coupling between the classes.
tjhunt [Thu, 2 Jul 2009 07:06:25 +0000 (07:06 +0000)]
MDL-19077 I just found a way to reduce the coupling between the classes.

12 years agoXHTML strict
tjhunt [Thu, 2 Jul 2009 06:57:21 +0000 (06:57 +0000)]
XHTML strict

12 years agomod-quiz MDL-16706 Eliminated inline scripts to use PAGE methods
samhemelryk [Thu, 2 Jul 2009 06:46:47 +0000 (06:46 +0000)]
mod-quiz MDL-16706 Eliminated inline scripts to use PAGE methods

12 years agoMDL-19677 Reverting prematurely committed blog patch
nicolasconnault [Thu, 2 Jul 2009 06:43:43 +0000 (06:43 +0000)]
MDL-19677 Reverting prematurely committed blog patch

12 years agomod-scorm MDL-16706 Eliminated inline scripts to use PAGE methods
samhemelryk [Thu, 2 Jul 2009 06:40:54 +0000 (06:40 +0000)]
mod-scorm MDL-16706 Eliminated inline scripts to use PAGE methods

12 years agomod-assignment MDL-16706 Eliminated inline scripts to use PAGE methods
samhemelryk [Thu, 2 Jul 2009 06:37:30 +0000 (06:37 +0000)]
mod-assignment MDL-16706 Eliminated inline scripts to use PAGE methods

12 years agochat ajax MDL-16706 Eliminated inline scripts to use PAGE methods
samhemelryk [Thu, 2 Jul 2009 06:00:59 +0000 (06:00 +0000)]
chat ajax MDL-16706 Eliminated inline scripts to use PAGE methods

12 years agoMDL-19677 Removing prematurally added setting
nicolasconnault [Thu, 2 Jul 2009 05:55:24 +0000 (05:55 +0000)]
MDL-19677 Removing prematurally added setting

12 years agocourse reports MDL-16706 Eliminated inline scripts to use PAGE methods
samhemelryk [Thu, 2 Jul 2009 04:14:41 +0000 (04:14 +0000)]
course reports MDL-16706 Eliminated inline scripts to use PAGE methods

12 years agoadmin reports MDL-16706 Eliminated inline scripts to use PAGE methods
samhemelryk [Thu, 2 Jul 2009 04:10:56 +0000 (04:10 +0000)]
admin reports MDL-16706 Eliminated inline scripts to use PAGE methods

12 years agoajaxlib MDL-19077 Added strings_for_js method
samhemelryk [Thu, 2 Jul 2009 04:07:53 +0000 (04:07 +0000)]
ajaxlib MDL-19077 Added strings_for_js method

12 years agouser MDL-16706 updated user.js
samhemelryk [Thu, 2 Jul 2009 04:03:04 +0000 (04:03 +0000)]
user MDL-16706 updated user.js

12 years agouser MDL-16706 Elimate inline scripts, replaced with PAGE methods, created user.js
samhemelryk [Thu, 2 Jul 2009 04:02:40 +0000 (04:02 +0000)]
user MDL-16706 Elimate inline scripts, replaced with PAGE methods, created user.js

12 years agoweblib MDL-16706 Elimate inline scripts, replaced with PAGE methods
samhemelryk [Thu, 2 Jul 2009 03:47:05 +0000 (03:47 +0000)]
weblib MDL-16706 Elimate inline scripts, replaced with PAGE methods

12 years agoUpdated the HEAD build version to 20090702
moodlerobot [Thu, 2 Jul 2009 00:38:12 +0000 (00:38 +0000)]
Updated the HEAD build version to 20090702

12 years agoMDL-19676 Removed course and group visibility settings for blog
nicolasconnault [Wed, 1 Jul 2009 08:49:47 +0000 (08:49 +0000)]
MDL-19676 Removed course and group visibility settings for blog

12 years agoMDL-19677 Upgrading sites that use $CFG->bloglevel == BLOG_GROUP_LEVEL or BLOG_COURSE...
nicolasconnault [Wed, 1 Jul 2009 08:17:53 +0000 (08:17 +0000)]
MDL-19677 Upgrading sites that use $CFG->bloglevel == BLOG_GROUP_LEVEL or BLOG_COURSE_LEVEL to BLOG_SITE_LEVEL, and removed these options from admin/settings/security.php

12 years agoMDL-19674 even uglier hack whcih works around the pixpath problem, the long term...
skodak [Wed, 1 Jul 2009 08:10:06 +0000 (08:10 +0000)]
MDL-19674 even uglier hack whcih works around the pixpath problem, the long term solution is to write a new setting

12 years agothemes: MDL-19077 change how the theme is initialised and CSS is served.
tjhunt [Wed, 1 Jul 2009 05:54:26 +0000 (05:54 +0000)]
themes: MDL-19077 change how the theme is initialised and CSS is served.

This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F

$THEME is now initialised at the same time as $OUTPUT. Old functions like
theme_setup are deprecated in favour of methods on $PAGE. There is a new
theme_config class in outputlib.php that deals with loading the theme config.php file.

CSS used to be served by themes styles.php files calling a function in weblib.php.
Now it works by each theme's styles.php file doing
$themename = basename(dirname(__FILE__));
require_once(dirname(__FILE__) . '/../../theme/styles.php');
which is less code to be copied into each theme. (Old-style styles.php files still
work thanks to some code in deprecatedlib.php.)

Admin UI for choosing a theme cleaned up.

A couple of theme-specific hard-coded hacks like $THEME->cssconstants and
$THEME->CSSEdit have been replaced by a more generic $THEME->customcssoutputfunction
hook. See examples at the end of outputlib.php

Also:
* Fix setting the theme in the URL, which seems to have been broken since 1.9.
* Fix up errors on a few pages caused by the new initialisation order.
* MDL-19097 moodle_page::set_course should not set $COURSE unless it is $PAGE.
* httpsrequired() from moodlelib.php moved to $PAGE->https_required().
* Move has_started() method to the renderer base class.
* Further fixes to display of early errors.
* Remove print_header/footer_old from weblib. I did not mean to commit them before.

12 years agoMDL-19674 - err - slighly more sensible version of the previous commit.
tjhunt [Wed, 1 Jul 2009 04:17:31 +0000 (04:17 +0000)]
MDL-19674 - err - slighly more sensible version of the previous commit.

12 years agoGrrrr!!! MDL-19674
tjhunt [Wed, 1 Jul 2009 04:13:47 +0000 (04:13 +0000)]
Grrrr!!! MDL-19674

12 years ago"MDL-19077, pixpath is broken, use initialise_deprecated_cfg_pixpath() as a temporary...
dongsheng [Wed, 1 Jul 2009 04:11:52 +0000 (04:11 +0000)]
"MDL-19077, pixpath is broken, use initialise_deprecated_cfg_pixpath() as a temporary fix"