136 Commits

Author SHA1 Message Date
nicolasconnault
43a228b363 MDL-19756 Improved API of popup_form and corrected a few problems (submit button when no JS etc.) 2009-08-08 09:30:27 +00:00
nicolasconnault
aa19416521 MDL-19756 Added cloning of moodle_html_components in OUTPUT functions, to allow for one component to be rendered multiple times without changes to the object between renders (like paging_bar) 2009-08-07 01:16:41 +00:00
nicolasconnault
13fb644a09 MDL-19756 Improved API and output of paging_bar 2009-08-07 00:29:27 +00:00
mudrd8mz
f894b82c3b NOBUG: Fixed conflict in iteration key name 2009-08-06 12:49:21 +00:00
stronk7
4ecbf8568b MDL-19077 heading() - level is now optional, defaulting to 2 2009-08-06 10:02:41 +00:00
nicolasconnault
56d72c5e81 MDL-19756 Added shortcut to html_select_option to make checkboxes 2009-08-06 06:58:14 +00:00
nicolasconnault
476f2552e4 MDL-19756 Fixed typo in debugging messages and added default string for close_window_button 2009-08-06 02:55:46 +00:00
nicolasconnault
4c629cc291 MDL-19756 Fixed regression in paging_bar 2009-08-06 01:17:13 +00:00
nicolasconnault
01ee7142c1 MDL-19756 Added a shortcut method to moodle_select for getting multiple time selectors at once: moodle_select::make_time_selectors() 2009-08-06 01:06:53 +00:00
nicolasconnault
19be3ad085 MDL-19756 Removed TODO for choose_from_radio 2009-08-06 00:07:43 +00:00
mudrd8mz
6f391f7642 Fixes the displayed text and makes the new API lighter 2009-08-05 11:50:17 +00:00
nicolasconnault
28fbce88cf MDL-19756 Fixed bugs and improved API in various places 2009-08-05 08:49:56 +00:00
nicolasconnault
cf13298081 MDL-19756 Deprecated update_course_icon() and implemented a simple $OUTPUT->edit_button($moodleurl) method which uses $USER->editing 2009-08-05 02:39:42 +00:00
nicolasconnault
c351150fca MDL-19756 MDL-19825 MDL-19823 MDL-19794 Deprecated update_tag_button, update_categories_search_button and print_user, and updated a few pages that depended on the now deprecated functions 2009-08-05 02:03:50 +00:00
nicolasconnault
e1cc88403a MDL-19756 Migrated print_heading_with_help 2009-08-04 15:15:11 +00:00
nicolasconnault
234b857c0c MDL-19756 Fixed regression in unit tests 2009-08-04 13:59:02 +00:00
nicolasconnault
0affac4d65 MDL-19756 Fixed regression in popup_form() 2009-08-04 09:09:06 +00:00
nicolasconnault
6a5c71b95c MDL-19756 Migrated print_textfield, choose_from_radio and print_checkbox 2009-08-04 02:42:24 +00:00
nicolasconnault
49c8c8d27e MDL-19976 Refactored select_menu() into select(), now supporting menu, radio and checkbox rendering. Added radio() and checkbox() functions. 2009-08-04 02:05:32 +00:00
nicolasconnault
ce60cbc8ff MDL-19756 Migrated print_close_window to $OUTPUT->print_close_window($text) 2009-08-03 11:03:16 +00:00
nicolasconnault
17811cef2c MDL-19756 Outputting a debugging message if $OUTPUT->form() is called without $contents but with a $form->button set. Should use $OUTPUT->button($form) instead 2009-07-31 11:14:16 +00:00
nicolasconnault
2c78f462ed MDL-19756 MDL-19973 Fixed support of url by user_picture, and improved API for adding a popup action (set $userpic->popup = true) 2009-07-31 02:39:38 +00:00
skodak
f6486af888 fixed broken validation of parameters in confirm method 2009-07-30 09:05:18 +00:00
tjhunt
00a24d44f7 blocks: MDL-19893 move blocks on page UI - part 1
This does all the UI. It does not yet update the DB when you click to complete the action.
2009-07-30 08:22:12 +00:00
nicolasconnault
74623e0a3a MDL-19756 Improved API of OUTPUT->confirm() 2009-07-30 06:09:45 +00:00
nicolasconnault
496908435e MDL-19756 Migrated popup_form 2009-07-30 03:47:12 +00:00
tjhunt
a6f57fb2ef MDL-19756 Try to bring some consistency to how we handle & is attribute values. 2009-07-29 08:52:49 +00:00
tjhunt
34f4a68b9f MDL-19756 Fixes to make actions on action_icons work. 2009-07-29 08:45:24 +00:00
moodler
4042788347 theme/styles MDL-19953 $THEME->csslifetime lets themers adjust the cacheability of their theme in seconds.
Also:

 1) In dev mode, caching is 60 seconds all the time.
 2) Standard theme always has a long 2 days
2009-07-29 08:12:48 +00:00
nicolasconnault
55536d8453 MDL-19756 Updated unit tests 2009-07-29 01:13:04 +00:00
nicolasconnault
c68e409892 MDL-19756 Migrated time selectors from weblib to outputlib 2009-07-29 01:08:52 +00:00
nicolasconnault
053203a8d5 MDL-19756 Migrated choose_from_menu_yesno and choose_from_menu_nested into $OUTPUT->select_menu() 2009-07-28 12:12:24 +00:00
nicolasconnault
3f9a45dffa MDL-19756 Removed redundant component::add_action_object() function and calls to it 2009-07-28 09:37:14 +00:00
tjhunt
52842d6117 outputlib: MDL-19756 fix $OUTPUT->user_picture. 2009-07-28 07:57:57 +00:00
nicolasconnault
18644ceafa MDL-19756 Improved the API for moodle_html_component::add_action to allow the first param to be a component_action object 2009-07-28 03:26:41 +00:00
nicolasconnault
8e127eb38e MDL-19756 Migrating choose_from_menu to outputlib 2009-07-28 02:45:13 +00:00
skodak
360dde50ba MDL-19943 new debug optiosn for validators link and page info in footer 2009-07-27 20:36:28 +00:00
skodak
5db2b5951f MDL-19756 better broken param diag 2009-07-27 15:14:49 +00:00
nicolasconnault
cd5184a278 MDL-19756 Fixed incorrectly thrown exception in output->confirm() 2009-07-27 12:02:39 +00:00
nicolasconnault
f8065dd287 MDL-19756 Migrated the following functions from weblib to outputlib:
1. button_to_popup_window
2. link_to_popup_window
3. print_single_button
4. print_spacer
5. print_file_picture (deprecated)
6. print_user_picture
7. print_png (deprecated)
8. helpbutton
9. doclink
10. print_paging_bar
11. notice_yesno
2009-07-27 10:33:00 +00:00
tjhunt
aaee3df074 outputlib: debugging message was not being displayed when you forgot print_footer. 2009-07-24 04:45:29 +00:00
nicolasconnault
b32e908271 MDL-19077 Fixed whitespace 2009-07-23 02:35:58 +00:00
nicolasconnault
fa1afe32a1 MDL-19077 Fixed PHPdocs, whitespace and all typos I could find, except for a few stub methods which have a TODO tag 2009-07-23 02:33:58 +00:00
tjhunt
6e5516bf27 Fix my silly mistake. Thanks for noticing Eloy. 2009-07-22 14:26:47 +00:00
tjhunt
3ceb69108a themes: MDL-19077 pass the region name ot the block output function.
Might be useful if a theme wants to render blocks differently in regions like 'top' or 'bottom'.
2009-07-22 07:13:43 +00:00
tjhunt
78d27a9049 blocks MDL-19902: were seeing empty block columns on the front page when not logged in.
It turns out the only reliable way to find out whether blocks will appear is to get the contents. :-(
2009-07-22 05:38:28 +00:00
tjhunt
4565dcff25 html_table: MDL-19755 deprecate the attributes of html_table that lead to in-line styling in the HTML. 2009-07-21 07:04:19 +00:00
tjhunt
2c0901cb5a MDL-19010: In developer debug mode, print information about this page in the footer. 2009-07-20 06:18:16 +00:00
tjhunt
c45cb4bbd7 Improve comment. Thanks David Mudrak. 2009-07-18 11:59:17 +00:00
tjhunt
61f879d293 themes: MDL-19077 better handling of top of body code for legacy themes. 2009-07-17 06:51:25 +00:00