177 Commits

Author SHA1 Message Date
samhemelryk
ceebb2ec5f core MDL-19799 Upgraded deprecated calls and minor documentation improvement 2009-09-30 06:14:58 +00:00
mudrd8mz
f43cdceb75 MDL-20278 moodle_paging_bar - no link for the current page number 2009-09-14 07:26:54 +00:00
samhemelryk
47a1aa45a8 core MDL-19786 Deprecated print_header_simple function - now use PAGE and OUTPUT methods 2009-09-08 02:41:51 +00:00
samhemelryk
91152a3518 navigation MDL-20216 Refactored add arguments
Moved $action argument from arg5 to arg2
2009-09-04 03:12:01 +00:00
mudrd8mz
9959a91565 NOBUG: Fixed incorrect use of $OUTPUT, leading to empty page instead of an error message 2009-09-02 22:04:32 +00:00
samhemelryk
a4397489c1 navigation MDL-14632 Fixed bug with deprecated build_navigation function 2009-09-01 04:13:00 +00:00
samhemelryk
e120c61d24 navigation MDL-14632 Deprecate print_header menu argument and provide PAGE method 2009-09-01 03:47:07 +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
9c48f05caf MDL-19799 Silencing annoying debugging error for popup_form use 2009-08-27 06:38:17 +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
54b1669246 MDL-19799 Upgraded calls to choose_from_menu 2009-08-18 00:18:19 +00:00
nicolasconnault
4f4eda4017 MDL-19756 Fixed a debugging message. Thanks Petr! 2009-08-17 09:54:49 +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
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
skodak
d1f06fb5f1 MDL-20038 replacing strtolowe() used incorrectly to get module directory name from localised string - that could work only for some modules and in English only ;-) 2009-08-10 20:50:51 +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
229e1258e1 MDL-19756 Muting debugging error for optionsextra param of popup_form (used only by navmenu()) 2009-08-10 03:43:27 +00:00
nicolasconnault
0b139298bb MDL-19756 Improved API of popup_form 2009-08-10 03:33:41 +00:00
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
13fb644a09 MDL-19756 Improved API and output of paging_bar 2009-08-07 00:29:27 +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
2f838e179f MDL-19756 Simplified function call to help_button 2009-08-06 01:42:49 +00:00
nicolasconnault
9c7b338533 MDL-19756 Fixed BC of update_module_button() 2009-08-06 00:26:09 +00:00
nicolasconnault
bc2e0484a3 MDL-19756 Suppressing debugging messages about deprecated functions for now 2009-08-06 00:05:39 +00:00
mudrd8mz
e8e84cc077 NOBUG: $OUTPUT->user_picture() does not accept link but courseid 2009-08-05 15:16:31 +00:00
mudrd8mz
cd2f8dbc9f NOBUG: $OUTPUT->user_picture() has no $popup parameter 2009-08-05 15:13:22 +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
7527a2f08a MDL-19756 Deprecated update_mymoodle_icon() and upgraded my/index.php with new output code 2009-08-05 00:00:20 +00:00
nicolasconnault
e1cc88403a MDL-19756 Migrated print_heading_with_help 2009-08-04 15:15:11 +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
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
nicolasconnault
051bf8c7f3 MDL-19756 Changed html_button->label to html_button->text 2009-07-29 01:10:30 +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
tjhunt
a19f419db2 blocks: MDL-19946 Block editing form must be displayed from the original URL, with properliy initialised $page 2009-07-28 09:59:21 +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
6bcdbe4463 Grrr! Nico. 2009-07-28 04:29:42 +00:00
nicolasconnault
bef1011e3d MDL-19756 Fixing deprecated print_spacer() function 2009-07-28 02:31:30 +00:00
nicolasconnault
8100c169db MDL-19756 Fixing deprecated print_spacer() function 2009-07-28 02:27:04 +00:00