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
tjhunt
d4a03c00ea
themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
...
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)
Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)
The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.
How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.
Further refinement for how the theme and block code gets initialised.
Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)
Things that are still broken:
* some pages in lesson, quiz and resource. I'm working on it.
* lots of developer debug notices pointing out things that
need to be updated.
2009-07-09 07:35:03 +00:00
samhemelryk
e6f7f2b278
lib MDL-19739 Moved call to include dropdown.js out of outputlib and into the same body of code in weblib
...
that uses it.
This ensures that it is only loaded if it is used, which is only is the browser is opera, or IE
2009-07-08 03:27:27 +00:00
tjhunt
a64e25f65d
themes: MDL-19077 move deprecated function page_id_and_class to deprecatedlib.php
2009-07-06 05:32:29 +00:00
mudrd8mz
c7f5e16a63
MDL-19716 moodle_url: new parameter to get URL with unescaped ampersands
...
moodle_url::get_query_string() and moodle_url::out() now accept new
optional parameter. Backwards compatible. This is needed so we can use returned URL
during redirect() which expects unescaped ampersands.
2009-07-05 14:31:58 +00:00
skodak
6c7f537455
MDL-19689 adding IGNORE_MULTIPLE to get_record - please note this parameter is discouraged
2009-07-04 09:35:03 +00:00
tjhunt
ae96b517a2
MDL-19696 & MDL-16706 refactor sam's redirect changes, so they can work during initial install.
2009-07-03 09:03:29 +00:00
tjhunt
3e2e421922
XHTML strict
2009-07-03 07:17:41 +00:00
tjhunt
a28c92539e
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url
2009-07-03 06:38:41 +00:00
tjhunt
ddedf979b4
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url
2009-07-03 06:19:25 +00:00
tjhunt
e63f88c9a6
MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
...
and $CFG->modpixpath to $OUTPUT->mod_icon_url
2009-07-02 12:07:58 +00:00
tjhunt
c8873c496b
MDL-19690 - eliminate the $OUTPUT->initialise_deprecated_cfg_pixpath horrible hack.
...
Replace $CFG->pixpath with $OUPTUT->old_icon_url(...) instead.
2009-07-02 11:23:47 +00:00
tjhunt
f2a1963c43
MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
2009-07-02 11:09:15 +00:00
tjhunt
5d3b999468
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url
2009-07-02 10:26:02 +00:00
tjhunt
73511be761
MDL-19690 - 4 more $CFG->pixpath to $OUTPUT->old_icon_url
2009-07-02 10:12:19 +00:00
samhemelryk
e1524dbe5c
weblib MDL-16706 Elimate inline scripts, replaced with PAGE methods
2009-07-02 03:47:05 +00:00