64 Commits

Author SHA1 Message Date
Petr Skoda
edda2b9af6 MDL-24485 fixed lowercase theme names (credit goes to Anthony Borrow) + using get_string() to show real theme name on the theme selection page 2010-10-03 10:38:48 +00:00
Sam Hemelryk
752fdfbd84 theme-selector MDL-22872 Readme page is now shown using the newly selected theme 2010-07-30 02:05:54 +00:00
Sam Hemelryk
4d56ee95e0 themes MDL-22223 Added hidefromselector setting for theme. 2010-04-28 03:32:16 +00:00
Sam Hemelryk
ee8df661dc themes MDL-21489 Added support for a legacy theme used with old browsers. Thanks Brendan for the patch
Admin can now select a theme for modern browsers and old browsers, the user then sees the modern theme with modern browsers and legacy theme with old browsers. Currenlty IE6 (or less) are considered old browsers.
2010-04-21 04:21:53 +00:00
Martin Dougiamas
9c9cbe76d4 theme gui MDL-20204 Don't show the base theme for selection unless in theme designer mode 2010-04-20 16:58:23 +00:00
Petr Skoda
61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Petr Skoda
5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +00:00
Eloy Lafuente
dc98ad65de NOBUG: XHTML strict 2009-12-19 11:03:03 +00:00
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
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