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
samhemelryk
7d2a049292
navigation MDL-14632 Very significant navigation commit
...
This patch introduces two new blocks global_navigation_tree and settings_navigation_tree
both of which have been designed to make full use of the new navigation objects available through
the $PAGE object.
Bulk of this code is within lib/navigationlib.php
2009-08-28 08:47:31 +00:00
nicolasconnault
1f1aa44525
MDL-19756 Corrected an incorrect default text for the "cancel" button of a confirm dialog
2009-08-28 08:00:15 +00:00
nicolasconnault
319770d747
MDL-19797 Upgraded most output code in grader report
2009-08-28 05:29:05 +00:00
tjhunt
2c5ec833bc
outputlib MDL-20103 neater version of Jerome's fix.
2009-08-25 19:09:04 +00:00
nicolasconnault
54a007e8f6
MDL-19797 Optimising output code for the Edit grades categories and items interface
2009-08-25 07:31:13 +00:00
nicolasconnault
1c1f64a2a6
MDL-19797 Optimising output code and JS/CSS requires. Also improved CSS for grader report
2009-08-24 15:10:36 +00:00
nicolasconnault
db49be139d
MDL-19756 Added the component::has_action() method for quickly detecting if a component has an action of a given type, and unmuted debugging messages for old output functions that have been upgraded in HEAD
2009-08-17 07:00:16 +00:00
jerome
d0b7a11f43
outputlib MDL-20103 fix php NOTICE when content has no assigned icon
2009-08-17 03:38:19 +00:00
nicolasconnault
3cc457db26
MDL-19756 Fixed a number of small API issues in components and renderers
2009-08-14 05:45:56 +00:00
nicolasconnault
b65bfc3e70
MDL-19756 Fixed a number of small API issues in components and renderers
2009-08-14 03:16:23 +00:00
nicolasconnault
e57c283df5
MDL-19756 Showing exceptions only in DEBUG_DEVELOPER mode
2009-08-13 03:38:30 +00:00
nicolasconnault
7a5c78e049
MDL-19756
...
* Removed outputpixfinders.php and put that code back in outputlib.php
* Created labelled_html_component class and subclassed all appropriate components from it
* Added component::add_confirm_action($message) as a shortcut for adding a confirmation popup
* Fixed bug in close_window_button()
2009-08-13 01:15:58 +00:00
nicolasconnault
1ae3767a0b
MDL-19756 Centralised $label object into moodle_html_component, fixed proper display of radio buttons through select() method, and fixed other little bugs
2009-08-11 07:05:46 +00:00
nicolasconnault
7b1f2c829f
MDL-19756 Renamed moodle_select to html_select for better API consistency
2009-08-10 08:38:45 +00:00
nicolasconnault
beb56299ec
MDL-19786 Renamed user_picture and action_icon component classes to moodle_user_picture and moodle_action_icon. Also moved around the classes in a more logical order in outputcomponents.php
2009-08-10 06:37:29 +00:00
nicolasconnault
94056d9dbe
MDL-19756 Renamed help_icon class to moodle_help_icon
2009-08-10 06:26:50 +00:00
nicolasconnault
d9c8f425fc
MDL-19077 Split outputlib.php into smaller logical files.
2009-08-10 06:22:04 +00:00