76 Commits

Author SHA1 Message Date
Rajesh Taneja
c069c01755 MDL-27862 Themes: Device name first letter is capital and font is made similar to theme name font 2012-03-12 10:18:28 +08:00
Rajesh Taneja
df46b9b40d MDL-27862 Themes: clear theme cache button will redirect to the page on which it was pressed 2012-03-12 10:18:28 +08:00
Rajesh Taneja
36ff8d05de MDL-27862 Themes: replaced disabled use theme button with unset theme button 2012-03-12 10:18:28 +08:00
Rajesh Taneja
bff67f4904 MDL-27862 Themes: Added button to un-select theme for devices, except default device 2012-03-12 10:18:28 +08:00
Rajesh Taneja
604cb17920 MDL-27862 Themes: Strings updated on theme selection pages 2012-03-12 10:18:27 +08:00
Eloy Lafuente (stronk7)
43c741b9b4 MDL-29552 themes - show the name of the picked theme when working with device detection enabled 2011-09-28 13:39:18 +02:00
Petr Skoda
aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Sam Hemelryk
0e01784c44 MDL-28191 Continue button after selecting a theme now redirects back to the theme selector 2011-07-22 14:57:26 +08:00
Sam Hemelryk
e625feaf0b MDL-27825 Improved check of themedesignermode to prevent errors if it isn't set 2011-06-14 15:48:10 +08:00
Sam Hemelryk
7bff5441c8 Merged changes for MDL-25394 2011-06-08 10:58:42 +08:00
Sam Hemelryk
e5824bb9c6 MDL-25394 Tidied up several things in order to get this integrated 2011-05-31 14:28:03 +08:00
Anthony Forth
37959dd471 MDL-25394 Improved support for mobile and device themes 2011-05-31 14:25:52 +08:00
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