Andrew Davis
6959330979
all MDL-20821 Removed more deprecated functions
2009-11-18 06:05:10 +00:00
Andrew Davis
2871c45070
weblib MDL-19196 Added guard around call to error_get_last to prevent error if running old php
2009-11-18 00:57:05 +00:00
Petr Skoda
2e9b772fb8
MDL-20693 new NO_DEBUG_DISPLAY define
2009-10-31 22:02:05 +00:00
Sam Hemelryk
13b0b27172
moodle_url MDL-20674 Added a method to allow the dev to set the anchor attribute of a moodle_url
2009-10-30 06:20:59 +00:00
moodler
8449364cfa
redirect MDL-20546 Set page type to embedded to avoid ever printing header/blocks/footer on redirects
2009-10-13 06:45:38 +00:00
samhemelryk
1d89818236
navigation MDL-20395 Fixed regression created earlier
2009-10-01 04:16:22 +00:00
samhemelryk
c705a24eb2
simpletest-navigation MDL-20395 Fixed up regressions in the simpletest caused by recent changes to upgrades to navigation lib.
...
Also fixed issue whereby PAGE->set_url was being called by testdeprecatedlib but not being reset to the original value causing several flow on errors through simpletests
2009-10-01 02:31:42 +00:00
tjhunt
477082146b
unit tests: MDL-20398 spurious exceptions when $CFG->debugdisplay is false
...
Doh! I had the logic the wrong way round in my previous commit. Sorry.
2009-09-30 18:13:27 +00:00
tjhunt
4f19b365b8
unit tests: MDL-20398 spurious exceptions when $CFG->debugdisplay is false
2009-09-30 18:06:45 +00:00
samhemelryk
1a198dde7d
core MDL-19791 Replaced deprecated functions, added set_url calls
2009-09-25 06:17:38 +00:00
samhemelryk
bf6c37c786
navigation MDL-20332 MDL-20324 Modifications to fix the following issues:
...
* If no active node is found when the navigation is called upon then we attempt to find a best match active node
* Links are now produced with frame breakout actions
* Links ending with / are presumed index.php for matching purposes
2009-09-23 06:05:36 +00:00
dongsheng
fd4faf98fe
"MDL-14706, move javascript code to javascript-static.js"
2009-09-18 03:50:46 +00:00
samhemelryk
36c3a49955
weblib MDL-20276 Reverted fix to deal with relative URLs
2009-09-16 09:17:25 +00:00
samhemelryk
b0f4e4e442
questions MDL-20276 Fixed minor issue with URL handling within the paging bar for the question bank
2009-09-16 02:43:58 +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
de6d81e667
admin MDL-19799 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants
2009-09-03 06:59:25 +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
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
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
7b1f2c829f
MDL-19756 Renamed moodle_select to html_select for better API consistency
2009-08-10 08:38:45 +00:00
nicolasconnault
ea85e1ee7d
MDL-19799 Converted print_box* to $OUTPUT->box*
2009-08-10 04:58:02 +00:00
nicolasconnault
827b2f7a66
MDL-9644 Added a compare() method to moodle_url
2009-08-10 03:04:01 +00:00
nicolasconnault
7e0d66753e
MDL-19799 Converted all print_footer() calls
2009-08-06 14:21:34 +00:00
nicolasconnault
3c15938527
MDL-19799 Migrated calls to print_heading
2009-08-06 08:19:21 +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
b0a5e1bf59
MDL-19756 Removed debugging message regarding string URLs in redirect() function
2009-08-04 07:44:31 +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
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
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
8e127eb38e
MDL-19756 Migrating choose_from_menu to outputlib
2009-07-28 02:45:13 +00:00
nicolasconnault
5c023b2b7b
MDL-19756 Removing debugging call
2009-07-27 10:41:38 +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
dongsheng
1bcb7eb540
"MDL-19118, comments api"
2009-07-24 02:44:44 +00:00
skodak
6ec450fb16
MDL-19871 new parameter syntax from htmlpurifier 4.0.0
2009-07-19 12:17:48 +00:00
tjhunt
366c74994c
weblib: Let redirect() take a moodle_url object.
2009-07-15 04:05:05 +00:00
mudrd8mz
480b0720ae
MDL-19755 print_table replaced with $OUTPUT->table
...
rowclass property has been deprecated, rowclasses should be used.
Direct assigning of the class has been deprecated,
moodle_html_elements::set_classes() should be used instead. In both
cases, debugging message is displayed.
2009-07-13 11:10:30 +00:00
tjhunt
dc203659af
themes: MDL-19077 Don't us $OUTPUT in debugging.
2009-07-13 06:16:48 +00:00
tjhunt
5e39d7aa09
upgrade: MDL-19763 Improve the redirect that forces a DB upgrade when there are major changes
...
Also fix redirect, so 303 redirects don't need to fully initialise $OUTPUT.
2009-07-10 08:44:01 +00:00
samhemelryk
8dff48bf45
weblib MDL-19750 Fixed regression caused by implementing new PAGE methods
2009-07-10 08:08:17 +00:00