74 Commits

Author SHA1 Message Date
Petr Skoda
78946b9bdb 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 2009-12-16 18:00:58 +00:00
Petr Skoda
aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00
nicolasconnault
fd09397ee1 MDL-19824 upgraded calls to print_container* 2009-08-20 08:50:03 +00:00
stronk7
de5645aa6f fix course display 2009-08-16 18:59:15 +00:00
tjhunt
793a204e7b themes MDL-19077: Update deprecated stuff in all theme config.php files. 2009-07-09 02:06:22 +00:00
tjhunt
b70094743a 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.
2009-07-01 05:54:26 +00:00
fmarier
316914bf6e MDL-17037 ran all GIF images through gifsicle and PNG through optipng 2009-04-05 23:33:00 +00:00
fmarier
6a77823cb6 MDL-17037 Lossless optimization of all PNG and JPEG images 2008-10-28 01:50:10 +00:00
skodak
a78bee285d MDL-16433 themes and javascript files are not blocked by running upgrade anymore 2008-09-14 08:40:23 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
sam_marshall
03beb65b3a MDL-14476: Made 'fake blocks' in calendar and elsewhere more consistent with real blocks (so styling themes is easier) 2008-04-22 14:14:47 +00:00
stronk7
aa1e80500a fixed typo 2008-04-19 00:54:43 +00:00
stronk7
9d4c8748d9 Changes to support table-less course formats 2008-04-19 00:33:33 +00:00
sam_marshall
a41b301703 MDL-14260: Changed print_heading_with_help so that the help button is outside the heading (for accessibility reasons) and changed themes so that this makes no visual difference. 2008-04-08 16:10:49 +00:00
stronk7
c21e611a34 Wood-ize groupinfo boxes. Merged from 19_STABLE 2008-03-08 22:29:10 +00:00
nfreear
a377231ec1 MDL-7493 further fix: clean up themes, and remove references to 'hide-show-image' background images. Document smartpix for theming icons in wood and orangewhite readmes. 2007-12-21 11:58:15 +00:00
skodak
9f7f1a74a0 MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE 2007-11-23 16:49:51 +00:00
stronk7
9126bd7ee9 Some question formating...
Merged from MOODLE_19_STABLE
2007-11-20 00:10:05 +00:00
stronk7
8e758ab52c Unsetting one white border.
Merged from MOODLE_18_STABLE
2007-11-01 20:07:40 +00:00
skodak
ced5ee5921 MDL-11966 implemented dategraded and datesubmitted, tweaked altering of grades depending in hidden grades
MDL-11974 improved gradebook CSS
2007-11-01 08:25:05 +00:00
stronk7
956cabd4ab Changing some standard colors 2007-10-21 19:26:11 +00:00
stronk7
51ac73da3e Minor improvements to messages window for wood. 2007-09-18 18:57:59 +00:00
stronk7
d371392a7b Fixing assignment submission visualization for wood. 2007-09-16 20:13:30 +00:00
nicolasconnault
54c0f82b1d MDL-10970 Reverted changes 2007-08-24 12:45:16 +00:00
nicolasconnault
364fffda3b MDL-10723 Removed all uses of print_navigation() throughout moodle, the function call is now entirely deprecated. 2007-08-24 04:22:30 +00:00
stronk7
0315a841a3 some minor changes for better IE experience 2007-07-22 22:45:13 +00:00
stronk7
dd04665779 Final improvements for glossary. Seems ready for 1.9dev. 2007-07-20 23:38:24 +00:00
stronk7
06ec822832 Just fixing one comment 2007-07-19 21:33:21 +00:00
stronk7
d18634d3fd Splitting white-wood backgroud into two different backgrounds,
one to be used with blocks (darker) and the other for
contents (brighter). Suggestion from Urs!
2007-07-19 17:20:38 +00:00
stronk7
604015c878 Adding style to one more header. 2007-07-19 00:02:13 +00:00
stronk7
72c7ee0c4d Avoid some nested boxes in calendar block 2007-07-18 18:38:28 +00:00
stronk7
78c711980d Now the underscore lines in tabrow1 aren't blue anymore. Really
complex to guess the modifiers to apply!

Merged from MOODLE_18_STABLE
2007-03-24 00:01:56 +00:00
stronk7
c0cdb3b314 Changing one generic class-name to a glossary specific one in themes.
Merged from MOODLE_18_STABLE
2007-03-19 23:59:02 +00:00
stronk7
d6f7e4d1e0 Fixing env table when displayed on upgrade.
Merged from MOODLE_18_STABLE
2007-03-18 19:37:07 +00:00
stronk7
9a5e30dfab Fix one awful background showed in form-buttons (that are enclosed in a fieldset????
Merged from MOODLE_18_STABLE
2007-03-13 18:31:44 +00:00
stronk7
3c8dd686e0 re-re-re-re-fixing tabs for wood. :-P
Merged from MOODLE_18_STABLE
2007-03-04 20:18:22 +00:00
stronk7
86e78054bf Fixing course & category boxes in main page.
Merged from MOODLE_18_STABLE
2007-02-23 16:38:59 +00:00
stronk7
64e396939c Adjusting Wood theme for 1.8 2007-02-03 19:39:09 +00:00
skodak
b0ec5c662b MDL-8105 fixed theme colors in login page after recent div optimisation 2007-01-08 19:49:28 +00:00
skodak
9a34376e21 MDL-7861 xhtml strict fixes - login page - final CSS cleanup, finished! 2007-01-05 19:41:51 +00:00
moodler
d7275959a6 FIxes for XHTML strict 1.0 MDL-7861 2007-01-04 04:44:54 +00:00
moodler
9e3e44e141 more Strict bending over 2007-01-03 16:04:08 +00:00
stronk7
83a4eaa55a Updating wood to show the nav-bar properly.
Merged from MOODLE_17_STABLE
2006-10-30 16:55:17 +00:00
skodak
a44091bffe Fixing Theme Config Variables MDL-6784 2006-10-09 10:12:41 +00:00
stronk7
b7e58d8f8c Wood-ising the adminsettings fieldset 2006-10-06 22:25:49 +00:00
jamiesensei
909ec807cb moved styles in theme\standard\styles_form.css to theme\standard\styles_layout.css and removed theme\standard\styles_form.css and all references to it. In line with discussion here : http://moodle.org/mod/forum/discuss.php?d=54907 2006-09-28 10:32:23 +00:00
stronk7
ef47a3eb5b Fixed display of files 2006-09-25 23:09:16 +00:00
stronk7
8e81509277 Added one woody style for all the admin fieldsets 2006-09-25 22:57:20 +00:00
jamiesensei
da6f876395 This is a first cut of a new formslib.php a library of classes for creating and securely processing forms in Moodle, based on PEAR QuickForms. Only uses XHTML and CSS and no table tags.
This is NOT YET PART OF THE MOODLE API it is here for experimental purposes.
2006-09-24 17:04:51 +00:00
stronk7
cac97946d6 adjusting breadcrumb separator... 2006-09-21 23:00:45 +00:00