2205 Commits

Author SHA1 Message Date
samhemelryk
0a122046bc course MDL-19794 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-03 08:47:24 +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
poltawski
97ee3e2242 course/jumpto.php MDL-19886 Don't depend on HTTP_REFFER header
thanks to Jordan Tomkinson for the patch, from MOODLE_19_STABLE
2009-08-26 09:52:14 +00:00
nicolasconnault
61867c8382 MDL-19794 Upgraded calls to link_to_popup_window() 2009-08-20 13:14:52 +00:00
nicolasconnault
b453120768 MDL-19794 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:40:19 +00:00
nicolasconnault
e6db30260f MDL-19794 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:58:26 +00:00
nicolasconnault
5387640a12 MDL-19794 Upgraded calls to choose_from_menu 2009-08-17 15:18:21 +00:00
skodak
aa54ed7b02 MDL-20065 new implementation of File module, modules sub-types are being migrated to separate modules; remaining issues to be listed as sub-tasks in tracker 2009-08-13 20:45:50 +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
98b369f800 MDL-19794 Converted print_box* to $OUTPUT->box* 2009-08-10 04:53:59 +00:00
nicolasconnault
82fcab32c1 MDL-19794 Converted calls to popup_form() 2009-08-10 03:35:14 +00:00
nicolasconnault
1451dac31e MDL-19794 Removed a test help icon at the bottom of course/view.php 2009-08-08 11:46:43 +00:00
nicolasconnault
64e12bb710 MDL-19794 Converting calls to popup_form() 2009-08-08 09:31:01 +00:00
nicolasconnault
2f48819b8e MDL-19794 Added global $OUTPUT to print_courses() 2009-08-07 07:18:01 +00:00
nicolasconnault
176e842015 MDL-19794 Converted calls to print_paging_bar 2009-08-07 00:27:42 +00:00
nicolasconnault
d880e0f5e2 MDL-19794 Converted all print_footer() calls 2009-08-06 14:23:49 +00:00
nicolasconnault
d60c112435 MDL-19794 Converted all print_footer() calls 2009-08-06 14:10:33 +00:00
nicolasconnault
7c5286cd85 MDL-19794 Migrated calls to print_heading 2009-08-06 08:15:43 +00:00
nicolasconnault
bb0b907598 MDL-19794 Migrated calls to close_window_button() 2009-08-06 02:54:45 +00:00
nicolasconnault
c0d8e936ef MDL-19799 Migrated calls to print_spacer() 2009-08-06 02:24:31 +00:00
nicolasconnault
008350b585 MDL-19799 Upgraded calls to print_headline 2009-08-06 01:38:17 +00:00
nicolasconnault
27ca34af62 MDL-19794 Upgraded calls to print_heading_block 2009-08-06 01:25:52 +00:00
nicolasconnault
0b280bbaa0 MDL-19794 Upgraded calls to choose_from_menu_nested 2009-08-06 00:34:48 +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
moodler
17f950eb0d category blocks MDL-19398 Set the proper context on the course category pages so blocks work properly 2009-08-04 09:33:43 +00:00
nicolasconnault
0affac4d65 MDL-19756 Fixed regression in popup_form() 2009-08-04 09:09:06 +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
skodak
0a127169fe MDL17980 reverting last commit - other devs agreed, to be explained in tracker 2009-08-03 07:35:41 +00:00
peterbulmer
1b509b3699 MDL17980 mnet improvements
* Allow multiple roles to be allocated by identity provider
* Allow existing enrolment plugins to manage mnet enrolments


Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2009-08-03 03:38:23 +00:00
nicolasconnault
74623e0a3a MDL-19756 Improved API of OUTPUT->confirm() 2009-07-30 06:09:45 +00:00
nicolasconnault
69e80c0502 MDL-19794 Updated topic and course format's use of popup_form for temporarily working with new outputlib code. Will eventually need proper upgrading. 2009-07-30 03:48:08 +00:00
nicolasconnault
6c843bbcde MDL-19794 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:36:10 +00:00
tjhunt
680a65a0cc course MDL-19794: Fix more initialisation order problems 2009-07-28 04:16:59 +00:00
tjhunt
a102baea51 course MDL-19794: Fix initialisation order problems on course/category.php. 2009-07-28 03:12:04 +00:00
tjhunt
5048e0349c course MDL-19794: Fix initialisation order problems on course/index.php. 2009-07-28 03:03:35 +00:00
nicolasconnault
8e127eb38e MDL-19756 Migrating choose_from_menu to outputlib 2009-07-28 02:45:13 +00:00
tjhunt
ebff477995 MDL-19882 Add missing require_login-s before require_capability. 2009-07-20 08:57:18 +00:00
tjhunt
a8ecfa4d5b MDL-19077: Fix some initialisation order issues on the course/category management pages 2009-07-20 03:28:50 +00:00
tjhunt
7b5bd0602b formslib: moodleform_mod needs to be abstract too.
(See one of the commits I made yesterday.)
2009-07-17 03:40:40 +00:00
sam_marshall
984baa77e2 MDL-19827: Completioninfo bugfix 2009-07-15 14:19:24 +00:00
skodak
308240b164 MDL-19785 temp fix for undefined completioninfo 2009-07-15 08:11:28 +00:00
sam_marshall
905b1de634 MDL-19692: Completion tracking help icon enhancements 2009-07-14 14:00:34 +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
405efa5f95 filelib MDL-19707 Modified file_extension_icon to use extisting function mimeinfo and reverted
two uses of file_extension_icon in course-lib that were incorrect
2009-07-08 01:52:16 +00:00
samhemelryk
19c9f09430 filelib MDL-19707 Converted existing ...str_replace('png','gif')... to use file_extension_icon and file_mimetype_icon 2009-07-07 06:16:01 +00:00
samhemelryk
0578e8eb38 course-modedit MDL-16089 Fixed bug caused by recent changes, unable to edit resources 2009-07-07 06:05:39 +00:00
tjhunt
1fb3d044fd Re-order the code, so we process the actions before we do any output. That is the right order anyway, and avoids the problem where require_capability after output is started leads to an exception being thrown. 2009-07-04 14:23:49 +00:00
tjhunt
024d4aafbf XHTML strict. 2009-07-04 13:36:19 +00:00
skodak
9a105989fe MDL-16089 adding easier access to current module instance data in modedit forms 2009-07-03 13:33:03 +00:00
skodak
f80ee89145 MDL-19690 fixed some icon conversion 2009-07-03 09:59:00 +00:00