49 Commits

Author SHA1 Message Date
Petr Skoda
5acf9cd3ab MDL-21231 fixed recent regression, thanks penny for the report 2010-01-03 21:10:49 +00:00
Petr Skoda
26eab8d4f5 MDL-21198 new simple_button output component, this could finally solve potential "form x button" confusion - continued 2010-01-03 17:20:49 +00:00
Petr Skoda
d894edd44d MDL-21198 new simple_button output component, this could finally solve potential "form x button" confusion 2010-01-03 17:08:21 +00:00
Petr Skoda
3cd5305f11 MDL-21198 towards origianl single_button() syntax + other improvements 2010-01-03 10:28:29 +00:00
Petr Skoda
52368876a4 MDL-21198 minor cleanup and improvements 2010-01-02 13:57:44 +00:00
Petr Skoda
8ae8bf8a14 MDL-21198 OUTPUT->action_icon improvements, refactoring and fixing conversion regressions 2010-01-02 13:17:54 +00:00
Petr Skoda
b52706307c MDL-21198 $OUTPUT->icon() improvements 2009-12-31 10:06:56 +00:00
Petr Skoda
1aa64b25a4 MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:59 +00:00
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Petr Skoda
244a32c617 MDL-21119 lang menu and login info now handled by themes 2009-12-29 17:26:29 +00:00
Petr Skoda
5d77fc1d2b MDL-21198 improved html_link api, added missing style attribute; marked some potential problems with TODOs 2009-12-28 19:40:07 +00:00
Petr Skoda
8fa16366d6 MDL-21198 make factory methods ahve to be static; adding "real" construtors for components; fixed regression in detection of missing image alt text in actions; api improvements; plus some other fixes 2009-12-28 10:43:01 +00:00
Petr Skoda
1ba862ec6e MDL-21198 going back to the original spacer syntax, image component improvements, plus some regression fixes 2009-12-27 23:31:46 +00:00
Petr Skoda
6dd7d7f0bc MDL-21198 removing "Moodle_" prefix from html_component 2009-12-27 19:50:15 +00:00
Petr Skoda
812dbaf7d5 MDL-21198 improved/simplified $OUTPUT->user_picture() + regression fixes, performance fixes and detected performance problems when printing user avatars 2009-12-27 19:47:21 +00:00
Petr Skoda
3405956553 MDL-21197 output components do not use globals any more in prepare() methods 2009-12-27 12:58:29 +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
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
Sam Hemelryk
c7e4c7b785 outputcomponents MDL-21020 Fixed error if html_select_option text = 0 2009-12-02 07:41:01 +00:00
Sam Marshall
41ff27d0cc MDL-20498 User pictures should not have 'generic' alt text 2009-11-30 16:55:03 +00:00
nicolasconnault
ac06c0a371 MDL-19756 Fixed link to help.php 2009-09-16 09:29:37 +00:00
mudrd8mz
f43cdceb75 MDL-20278 moodle_paging_bar - no link for the current page number 2009-09-14 07:26:54 +00:00
mudrd8mz
0c868b08a0 MDL-20268 Significant performance improvement of generate_id()
Using the PHP's built-in generator instead of the current
implementation. See the issue description more details.
2009-09-11 19:54:11 +00:00
nicolasconnault
284943fcd0 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:52:49 +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
mudrd8mz
eeecf5a704 Fixing an incorrect concatenate of CSS classes arrays
array + array does not add new items if their numeric keys are the same. This
lead to the bug that add_classes() did not work correctly.
2009-09-04 21:53:24 +00:00
nicolasconnault
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +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
nicolasconnault
a019627a1a MDL-19756 Fixed bug in output of fields with a label 2009-08-28 11:38:33 +00:00
nicolasconnault
319770d747 MDL-19797 Upgraded most output code in grader report 2009-08-28 05:29:05 +00:00
nicolasconnault
5529f787bd MDL-19797 Added callback support to the confirm_dialog function, and to the add_confirm_action() method 2009-08-27 10:12:44 +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
3bd6b994fc MDL-19799 Upgraded calls to link_to_popup_window() 2009-08-20 13:18:08 +00:00
nicolasconnault
642816a60c MDL-19799 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:50:50 +00:00
nicolasconnault
aa9a686740 MDL-19799 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:20:12 +00:00
nicolasconnault
54b1669246 MDL-19799 Upgraded calls to choose_from_menu 2009-08-18 00:18:19 +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
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
e4c5abdc56 MDL-19808 Fixed dropdown for moving forum discussions 2009-08-13 01:43:57 +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
e6fcbe276d MDL-19756 Added a shortcut method to moodle_html_components: add_confirm_action($message). This adds the appropriate onclick event handler for a confirmation message and can be used on any component that gets prepared properly by a renderer function. 2009-08-10 07:31:31 +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