Commit Graph

53 Commits

Author SHA1 Message Date
nicolasconnault 5a142c8221 MDL-19824 Upgraded calls to link_to_popup_window() 2009-08-20 13:17:53 +00:00
nicolasconnault fd09397ee1 MDL-19824 upgraded calls to print_container* 2009-08-20 08:50:03 +00:00
nicolasconnault 362874daa5 MDL-19824 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:19:44 +00:00
nicolasconnault ebb19abaab MDL-19824 Converted print_box* to $OUTPUT->box* 2009-08-10 05:49:57 +00:00
nicolasconnault 344ca4c9ef MDL-19824 Converted all print_footer() calls 2009-08-06 14:25:44 +00:00
nicolasconnault cdc6222077 MDL-19824 Migrated calls to print_heading 2009-08-06 08:25:18 +00:00
tjhunt 704ac34407 outputlib tables: MDL-19755 fix all cases of deprecated $table->rowclass
Also fix wrong title on Manage filters admin page.
2009-07-15 05:37:31 +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 f5bb6e2dfb remove some print_simple_boxes. 2009-06-26 10:29:56 +00:00
skodak 17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
skodak 973d2660e6 MDL-16613 sesskey cleanup 2009-01-02 10:51:26 +00:00
dongsheng 4f2a63c81e "MDL-14129, fix print_error" 2008-06-15 10:13:30 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
scyrma 9f9bdaf80b MDL-14057 - Change position of the continue button. (merge) 2008-03-26 03:01:20 +00:00
poltawski 774b7e8e75 MDL-12209 - fix css errors, merged from MOODLE_19_STABLE 2007-12-27 15:40:32 +00:00
nicolasconnault 74df435726 MDL-10969 2007-08-23 18:01:27 +00:00
tjhunt 33dfb53e09 Fix whitespace. 2007-07-25 12:34:21 +00:00
skodak 9eb64c947a MDL-9825, MDL-9798, MDL-9799 - new workaround for the object trouble in IE caused by UFO; reverting previous patches; merged from MOODLE_18_STABLE 2007-05-16 18:17:14 +00:00
skodak e38bbf52c4 MDL-9799 can not use forms due to object bug in IE :-( ; merged from MOODLE_18_STABLE 2007-05-15 20:22:15 +00:00
skodak 1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
nicolasconnault 77a297d274 Fixed many xhtml errors 2007-04-20 07:54:42 +00:00
toyomoyo 60a9a6ea67 fix for some of the MDL-8425 issues 2007-02-07 07:34:53 +00:00
toyomoyo 077f381461 accessiblity, associating <th> with respective row or col 2006-12-13 08:24:23 +00:00
skodak a44091bffe Fixing Theme Config Variables MDL-6784 2006-10-09 10:12:41 +00:00
moodler b88b740a80 Remove obsolete themes link MDL-6518 2006-09-14 03:35:19 +00:00
skodak 6e4dc10f54 deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes 2006-09-02 13:14:57 +00:00
vinkmar 7ff99cb64f admin page cleanup (google soc 2006)... updated to use new pagelib 2006-08-18 07:27:05 +00:00
moodler d19d632067 Merged changes from stable 2005-06-09 08:30:55 +00:00
moodler e77a87e1c9 Use themedir 2005-03-17 20:57:34 +00:00
moodler 2d47c851f9 Better selection of themes, and screenshot support 2005-02-09 12:44:36 +00:00
moodler cc15a607eb Now informs about old themes.
It's damn ugly, this page, but I'm just getting it to a useful state first
2005-01-31 06:13:28 +00:00
moodler d65a650133 Fixes for Theme preview 2005-01-31 05:58:03 +00:00
moodler a01fcda617 Less buttons 2005-01-31 04:16:36 +00:00
moodler 8ba55c01ae New theme chooser (with better preview using iframes)
It's a bit rough but it works.
2005-01-30 19:27:46 +00:00
fiedorow 06870aa324 fixing a couple of instances of hardcoded /admin/ 2004-12-31 16:12:58 +00:00
stronk7 14ed121a90 Some checks added. SC#34.
Merged from MOODLE_14_STABLE
2004-12-12 12:34:59 +00:00
gustav_delius 9a58f7cb85 towards XHTML compliance 2004-09-12 21:43:59 +00:00
moodler 9cccc2efda Merged robustness check 2004-08-31 13:37:24 +00:00
moodler bf04f911b9 One character fixes bug 1513 2004-06-01 17:53:39 +00:00
moodler 0948ab2609 Display README.html as well 2004-05-22 08:53:58 +00:00
moodler f722b73c88 Print a theme README.txt if there is one. 2004-05-22 08:04:10 +00:00
moodler 2f4d324bd7 Trying something different with the admin links ... even I was starting
to get a bit lost occasionally.
2003-08-18 16:40:27 +00:00
moodler d318a24d45 Fixed an admin link 2003-08-15 14:19:11 +00:00
moodler 75c64d922f Some name changes 2003-08-10 14:37:52 +00:00
moodler bbc0d9abbf IMPORTANT SECURITY FIX: prevents external PHP code from being run 2003-05-09 02:32:43 +00:00
moodler 1b73ea5799 Link from themes page to themes docs 2003-01-06 08:22:49 +00:00
moodler b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler 8120317e2e Changes for new styles and scheme 2002-12-09 16:10:57 +00:00
martin 0d399dc585 Aaaahhh I remember now why this was in here, because in future there might
be course-level themes and user-level themes.

Putting it back as before ... :-)
2002-09-27 14:19:59 +00:00
martin cd1c4d2321 Removed theme chooser from here ... moving it to admin folder 2002-09-27 14:18:06 +00:00