Commit Graph

12 Commits

Author SHA1 Message Date
tjhunt c13a5e71cc moodle_page: MDL-12212 start of new moodle_page class
* has course and status fields
* $PAGE->status updated by print_header and footer
* $PAGE->set_course now replace course_setup function
* global $PAGE created in setup.php
* unit tests for functionality so far
* Moodle still seems to work after this commit!
2009-05-06 08:29:22 +00:00
dongsheng 4f2a63c81e "MDL-14129, fix print_error" 2008-06-15 10:13:30 +00:00
skodak 5dd27c57f6 MDL-14679 towards /themes conversion 2008-05-31 11:42:44 +00:00
dongsheng 957f6fc9d2 "MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE" 2008-05-02 04:37:02 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak 9152fc9938 MDL-8323 finished full conversion to proper $COURSE global - no more $CFG->coursetheme, $CFG->courselang - improved course_setup(), current_language() and current_theme(); and Chameleon theme fixes needed for global $COURSE
MDL-7962 chat seems to be completely broken in head (fixed wrong JS)
* reworked chat themes support
MDL-8338 Cron does not need cookies
MDL-8339 forum cron capabilities problems
* minor deprecated function current_encoding() cleanup
2007-01-28 21:18:08 +00:00
toyomoyo 9ce384ba1e relacing deprecated functions with capability checks 2006-09-19 14:16:40 +00:00
toyomoyo ae9e4c064e replacing iscreator() calls with capabilty 2006-09-12 08:56:10 +00:00
urs_hunkler b08c4173ea merged, corrected bug with teacger rights 2006-07-21 05:00:02 +00:00
urs_hunkler 296ed48e99 merged from 1.6 - enhancements and bugfixes, works now in Safari and Konqueror 2006-07-18 09:11:35 +00:00
urs_hunkler 5452c7255c Comments from Andy:
config.php contains a new option,  $THEME->chameleonteachereditenabled  by default this is false, preventing teachers from editing chameleon course themes.  css.php has been changed a little to make use of this new property, it now also checks $CFG->allowcoursethemes before letting a teacher edit anything.

There have been some bug fixes in the handling of border shorthands.

Some workarounds to avoid a pretty big IE bug - the addRule method in IE's version of DOM 2 CSS  (which I use to create the live preview of changes), can crash the browser if the selector being added contains certain characters. Now as chameleon generates the preview it checks the selectors against a list of allowed characters - if the selector contains any character not on the list it will be ignored.

I don't think I'm quite there yet, but I made a bit of a change in some of the event handling code which means support for IE 5.5 seems to be getting closer :-)
2006-02-21 07:29:34 +00:00
moodler b1cdbbf9c6 New Chameleon theme from
Urs Hunkler - http://www.unodo.de
    Andrew Walker - http://www.altoncollege.ac.uk
2006-01-31 06:05:33 +00:00