Log of /moodle/theme/colors/styles.php
Parent Directory
Revision
1.5
Wed Jan 13 01:11:23 2010 WST (2 months ago) by
skodak
Branch:
MAIN
CVS Tags:
HEAD
Changes since
1.4: +0 -0 lines
FILE REMOVED
MDL-20785 removing all old themes from CVS because the current mix of new and old themes is extremely confusing for theme developers, sorry - if somebody needs the original code please use CVS attick or git; please note themes like customcorners (yes withouth the underscore!) and chameleon might make it back later before the beta phase
Revision
1.4 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Dec 17 02:01:13 2009 WST (3 months ago) by
skodak
Branch:
MAIN
Changes since
1.3: +1 -2 lines
Diff to
previous 1.3
MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks
Revision
1.3 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jul 1 13:54:36 2009 WST (8 months, 2 weeks ago) by
tjhunt
Branch:
MAIN
CVS Tags:
MOODLE_19_MERGED
Changes since
1.2: +27 -19 lines
Diff to
previous 1.2
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.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.