Commit graph

94 commits

Author SHA1 Message Date
nicolasconnault
fd09397ee1 MDL-19824 upgraded calls to print_container* 2009-08-20 08:50:03 +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
tjhunt
5af6ec1b2e MDL-19600 remove remaining traces of docstyles.php.
(Not used since Moodle 1.6.)
Also remove the remaining bits of lang/en_utf8/docs.
2009-06-23 04:39:11 +00:00
dongsheng
994d4a3be1 "MDL-18971, fix forum unread post highlighting issue, thanks Eric straw's patch, merged from 1.9" 2009-05-25 09:19:27 +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
andreabix
f06287ad2f Fixed non compliant HTMl in README 2008-10-06 08:19:04 +00:00
andreabix
e9c1829aaa Fixed duplicated style in fw_fonts.css 2008-09-15 08:02:25 +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
andreabix
98b9add6a1 Fixed MDL-13832 2008-07-03 22:07:22 +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
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
andreabix
7d47ca30d0 fixed [MDL-13181] 2008-03-10 16:27:37 +00:00
andreabix
0d75d2bfc7 Fixed [MDL-12830] 2008-03-10 16:03:09 +00:00
andreabix
48fd6b71cc Added grade pass/fail colours. Fixed label line height in course page 2008-03-10 15:14:42 +00:00
andreabix
7929ba8693 Added grade pass/fail colours. Fixed label line height in course page 2008-03-10 15:14:42 +00:00
andreabix
ea61750908 Fixed MDL-12564 2008-02-27 17:40:50 +00:00
andreabix
661bed5244 Updates and fix for Moodle 1.9 2008-02-27 15:46:21 +00:00
andreabix
9e23029f25 Updates and fix for Moodle 1.9 2008-02-27 15:26:02 +00:00
andreabix
4be54ba5b7 Added following classes:
.rolecap .inherit.capdefault, .rolecap .allow.capdefault {
  background-color:#E3DFD4;
}

#admin-roles-override .capcurrent {
  background-color:#E3DFD4;
}
2008-02-05 18:56:08 +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
nfreear
5c3550191a Partial fix for reopened bug MDL-7878, "Link identification and skipping" - affects all course formats + other files. 2007-10-22 06:43:00 +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
urs_hunkler
78b90296f7 MDL-10645 :: removed the quotes around $navigation" within print_navigation($navigation). 2007-07-30 18:43:43 +00:00
andreabix
78cad49fb5 Fixed MDL-10100 2007-06-18 11:28:36 +00:00
andreabix
4d69ee0d98 Fixed MDL-10073 2007-06-15 13:39:56 +00:00
skodak
24be194445 merging forgotten changes from MOODLE_18_STABLE 2007-05-17 08:48:47 +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
cfadda5dd0 MDL-8063 Fixed links to validation services to be XHTML Strict - in other templates now too 2007-01-05 19:48:58 +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
andreabix
15b2035423 Stylistic problem solved 2006-10-23 08:00:13 +00:00
skodak
a44091bffe Fixing Theme Config Variables MDL-6784 2006-10-09 10:12:41 +00:00
andreabix
446b52f908 overlapping fix 2006-10-05 09:52:38 +00:00
urs_hunkler
eef90b805f 'MDL-6824, redundant declaration: .categorybox .category' 2006-10-04 15:51:00 +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
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
skodak
6124048972 major whitespace cleanup - fixed tabs 2006-09-20 20:31:09 +00:00
moodler
0e1cc9070b Fixed a some debugging statements 2006-09-18 13:24:45 +00:00
skodak
10ab3efc35 Bug #5820 - IE returns unsecure items with SSL on login; merged from MOODLE_16_STABLE 2006-07-06 15:53:46 +00:00
skodak
0629da47d2 removed reliance on register globals; merged from MOODLE_16_STABLE 2006-05-23 09:16:17 +00:00
nfreear
1211e73244 Fix bug 5434 - hardcoded missing Alt text, with a warning comment. Merged from branch MOODLE_16_STABLE. 2006-05-19 10:33:13 +00:00
andreabix
3fa299acc6 Minor refinements 2006-05-05 08:56:03 +00:00
andreabix
ad293d8bd3 1.6 compliance added 2006-05-03 17:28:18 +00:00
gustav_delius
26f6d51c88 Fixed empty lines 2006-04-29 19:52:44 +00:00
moodler
08777eaf25 Set the last modified time of the style sheet to the current time 2006-04-07 15:07:52 +00:00