Commit graph

67 commits

Author SHA1 Message Date
Petr Skoda
f6794ace8b MDL-21125 obsoleting global $THEME 2009-12-23 18:05:58 +00:00
Petr Skoda
088ccb43cf MDL-21125 obsoleting global $THEME 2009-12-23 17:51:41 +00:00
Petr Skoda
92e01ab771 MDL-21125 obsoleting global $THEME 2009-12-23 17:44:17 +00:00
Petr Skoda
e68c5f36cf MDL-21124 towards full JS support in themes 2009-12-20 23:06:57 +00:00
Petr Skoda
38aafea249 MDL-21124 towards full JS support in themes 2009-12-20 21:50:46 +00:00
Petr Skoda
37b5b18e43 MDL-21150 finally we have a general agreement that plugin_renderes now "magically extend" the core_renderer by using of __call() + fixed problems with protected methods 2009-12-20 16:34:18 +00:00
Petr Skoda
c927e35c48 MDL-21148 geenral support for rendering targets, this should give us more flexibility; please propose improvements in the tracker if necessary, thanks 2009-12-17 22:43:27 +00:00
Petr Skoda
ff5265c64f MDL-21148 plugin renderers now redirect calls to core renderer, credit goes to anybody who did the lesson renderer ;-) 2009-12-17 14:54:04 +00:00
Petr Skoda
755909352c MDL-21148 preparation for new target parameter in get_renderer() 2009-12-17 14:51:36 +00:00
Petr Skoda
a24318005c MDL-20935 removing entity decoding because seemingly nobody knows why it is there and it might create XSS security problems; this might create regression somewhere, but we shoudl imo find better solution instead 2009-12-17 13:47:35 +00:00
Petr Skoda
56cbc53b76 MDL-21143 theme renderers related refactoring, it should detect more problems now, there is also a list of core renderer subtypes, hopefully the api changes are improvements 2009-12-17 13:45:54 +00:00
Andrew Davis
e09e9d55b6 gradebook MDL-20945 Title attribute missing from cells in grader report 2009-12-17 07:29:57 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
c39e5ba20f MDL-20787 renaming image_url() to pix_url() to be more consistent with the actual image location ;-) 2009-12-16 20:33:37 +00:00
Petr Skoda
683c01d2c8 MDL-20787 removed mod_icon_url() completely 2009-12-16 20:30:24 +00:00
Petr Skoda
f44b10ed93 MDL-21139 replace all yui functions/methods with yui2 to make room for yui3 2009-12-16 20:25:14 +00:00
Petr Skoda
f0e4c766b8 MDL-20788 fix comment 2009-12-16 18:03:52 +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
jerome mouneyrac
cf7491465f flash upgrader MDL-20841 replace yui calls by correct ones. Kudo to Sam H. 2009-12-02 08:39:22 +00:00
jerome mouneyrac
b5bbeaf02c flash upgrader MDL-20841 New config setting excludeoldflashclients will set a minimum version for flash clients. A check in the standard_head_html is run once, and will set a session variable with the current flash version. If the current flash version is lower than the minimum requirement, then Moodle will serve alternate content whenever a flash file is requested. The alternate file will ask the user to upgrade flash, merged from 1.9 2009-12-02 06:38:16 +00:00
Andrew Davis
62a27b69b1 admin pages MDL-19996 doc links now work even when set to open in a new window. 2009-11-25 02:29:42 +00:00
Sam Hemelryk
34dff6aad9 themes MDL-20780 the Moodle release info is no longer shown within the footer 2009-11-17 03:06:39 +00:00
Sam Hemelryk
7231e2de74 navigation MDL-20833 Moved has_navbar from OUTPUT to PAGE as it is logic 2009-11-16 01:12:16 +00:00
Petr Skoda
032216500d MDL-20700 coding style - new sloppy trailing whitespace fixed, yes I am guilty too :-( 2009-11-09 11:33:14 +00:00
Petr Skoda
088f3ffc5d NOBUG fixed TODO which was already solved 2009-11-08 21:20:21 +00:00
Petr Skoda
d5a8d9aa71 MDL-20625 new delegated transaction support in DML 2009-11-07 08:52:56 +00:00
Sam Hemelryk
93b026ee4f forum MDL-20739 Fixed bad conversion of html_select component 2009-11-04 03:22:26 +00:00
Eloy Lafuente
0f0801f499 Added missing global that was causing perfinfo and others not to be respected. 2009-11-03 11:02:07 +00:00
Petr Skoda
6f8f4d839c MDL-20577 fixed print error did not work outside of developer mode, output buffer content not discarded any more (significant debugging regression fix) 2009-10-31 14:12:16 +00:00
Petr Skoda
6d92adcb2b MDL-20676, MDL-20678 error page fixes 2009-10-31 13:20:18 +00:00
Petr Skoda
50764d3790 MDL-20676 improved output buffer workaround when printing fatal errors 2009-10-30 13:44:07 +00:00
Petr Skoda
dfe73ba8e1 MDL-20677 simplified debugging of deprecated use of error() 2009-10-30 13:29:14 +00:00
Petr Skoda
83267ec08a MDL-20677 simplified debugging of deprecated use of error() 2009-10-30 13:29:14 +00:00
Petr Skoda
85309744d6 MDL-20676 improved protocol specification in fatal error headers - credit goes to Martin Langhoff 2009-10-30 12:46:16 +00:00
Tim Hunt
02f64f9790 outputlib: MDL-20631 link_to_popup throws an exception if $link->text is empty, but you have passed an $image. 2009-10-23 18:49:00 +00:00
tjhunt
67e84a7f5e output: MDL-19797 fix some fallback code in print_header. 2009-10-03 08:54:30 +00:00
tjhunt
46aa52bf85 unittests: NOBUG fix outputlib unit tests 2009-09-30 16:55:35 +00:00
samhemelryk
3468eb2a68 output MDL-20327 Made moodle_core_renderer::link set a target attribute if CFG->frametarget is not empty
This only occurs if the administrator sets the frame name setting for Moodle to something other than default _top
or if frametarget has been overriden manually
2009-09-24 02:30:56 +00:00
samhemelryk
458eb0d10c overlib MDL-19735 Overlib is now included only where it is used
At the same time I have converted the calendar block to use YUI instead of overlib, this introduces one regression in that the panel is shown immediatly but should really have a minimal delay for usability.
This will be fixed once the theme changes for 2.0 have been commited
2009-09-17 07:46:20 +00:00
samhemelryk
ac310b3a7e lib-cookies MDL-19737 Removed need to include cookies.js on every page
Is only been used by SCORM and the chameleon theme so they include it locally when required
2009-09-17 06:42:54 +00:00
nicolasconnault
a0ead5eb81 MDL-19756 Added $disabled value to html_link, which will be true if the link's URL compares with the $PAGE->url (order of params doesn't matter). A disabled link will render as italicised text by default. 2009-09-09 03:28:26 +00:00
jerome
a8744ef11d output MDL-19077 when checkbox was set as not checked (value = 0), it was displayed as checked 2009-09-08 03:43:40 +00:00
nicolasconnault
f2a5140264 MDL-19756 Sending prepared classes for tbody of html_class 2009-09-08 03:33:20 +00:00
nicolasconnault
5fc6d585ad MDL-20203 Added support for disabled attribute for inputs and select options 2009-09-03 23:35:43 +00:00
nicolasconnault
a4998d019a MDL-19756 Enabled use of <td> in table headers, and added support for disabled attribute for checkboxes and select options 2009-09-03 23:31:49 +00:00
mudrd8mz
0b634d752d NOBUG: Fixed confirm() - two buttons "Yes" were displayed
Also, I change the default labels to Continue/Cancel. It is not good for
UI consistency to have Yes/No is string URL is passed and
Continue/Cancel if moodle_url is passed.
Removing the check against empty button->text as it has always the
default value "Yes".
2009-09-01 14:15:49 +00:00
samhemelryk
e120c61d24 navigation MDL-14632 Deprecate print_header menu argument and provide PAGE method 2009-09-01 03:47:07 +00:00
nicolasconnault
21237187fb MDL-19756 Removing badly merged line :p 2009-08-28 12:45:50 +00:00
nicolasconnault
a019627a1a MDL-19756 Fixed bug in output of fields with a label 2009-08-28 11:38:33 +00:00
mudrd8mz
46c6731707 NOBUG: fixed incorect use of $output variable
I propose to use $output variable name for renderer instance only. Also,
this did not work at all as $output was not returned.
2009-08-28 11:34:01 +00:00