129 Commits

Author SHA1 Message Date
Sam Hemelryk
92059c7ee5 mod MDL-21169 Removed update this module button and ensured there was a link in the settings block for it. 2009-12-23 01:57:55 +00:00
Sam Marshall
f1035deb97 MDL-21009 Group selector must use absolute links in order to work with javascript off 2009-11-30 17:12:48 +00:00
Dongsheng Cai
e998effa3d "MDL-20346, comments api for data module" 2009-11-18 06:00:48 +00:00
Petr Skoda
1adbd2c350 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 14:55:15 +00:00
samhemelryk
6d8363c40b data MDL-19806 Upgraded deprecated calls 2009-10-16 03:19:50 +00:00
skodak
ebb621f6a9 MDL-11896 added hint if entry awaits approval 2009-09-27 18:08:27 +00:00
samhemelryk
29b64a2272 mod-data MDL-20253 Updated database activity module to make use of the new navigation structure 2009-09-11 03:14:42 +00:00
samhemelryk
b0ff558ccb notes MDL-19806 Updated print_header and build_navigation to OUTPUT and PAGE equivalents 2009-09-07 05:43:15 +00:00
nicolasconnault
cd6137d707 MDL-19806 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:43:34 +00:00
nicolasconnault
4102b449ef MDL-19806 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:13:51 +00:00
nicolasconnault
883fa9877a MDL-19806 Converted print_box* to $OUTPUT->box* 2009-08-10 04:59:09 +00:00
nicolasconnault
406286c39d MDL-19806 Converted calls to print_paging_bar 2009-08-07 01:38:59 +00:00
nicolasconnault
7b30ba8b68 MDL-19806 Converted all print_footer() calls 2009-08-06 14:14:39 +00:00
nicolasconnault
b2dc6880e4 MDL-19806 Migrated calls to print_heading 2009-08-06 08:21:01 +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
tjhunt
34a2777ccb themes: MDL-19077 new $OUTPUT->header/footer to replace print_header/footer.
Also, part of the change from weblib.php functions to $OUTPUT-> methods.

This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F

This is a big change, and the result is not perfect yet. Expect some debugging output
on some pages.

The main part of these changes are that $OUTPUT->header now looks for a file
in the theme called layout.php, rather than header.html and footer.html. Also
you can have special templates for certain pages like layout-home.php. There is
fallback code for Moodle 1.9 themes, so they still work.

A few of the old arguments to print_header are no longer supported. (You get an
exception if you try to use them.) Sam H will be cleaning those up.

All the weblib functions that have been replaced with $OUTPUT-> have version in
deprecatedlib, so existing code will go on working for the foreseeable future.
2009-06-26 09:06:16 +00:00
samhemelryk
9d0cffa554 moddata MDL-16706 Removed inline scripts in mod data and added data.js 2009-06-22 03:16:25 +00:00
stronk7
5e1f1a6e61 MDL-17327 data module - improve adv. search by avoiding all the extra joins when getting max number of records ; merged from 19_STABLE 2009-06-04 10:31:12 +00:00
tjhunt
4e1132a8c5 forum: MDL-19119 missing requires now course/lib.php is not included everywhere.
Put in most of the obvious missing require_once($CFG->libdir . '/completionlib.php');
2009-05-08 09:00:41 +00:00
stronk7
aa4c6b68b5 MDL-14463 search/order - make it cross-db + delete unused column from query ; merged from 19_STABLE 2009-05-06 17:25:26 +00:00
tjhunt
b7b2d0f37d moodle_page: MDL-12212 improve comments and add some work-in-progress warnings 2009-05-06 09:29:05 +00:00
tjhunt
3681f9a953 pagelib: MDL-12212 eliminate data_page 2009-05-06 09:26:46 +00:00
tjhunt
93d4a373f9 blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere 2009-05-06 09:13:16 +00:00
tjhunt
ad52c04f4c moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods
Start calling $PAGE->set_url in all the places it will be necessary
Start of a stub implementation of $PAGE->blocks to stop other things breaking
Remove some of the special case methods in admin_page
2009-05-06 08:55:53 +00:00
skodak
b4950d9649 MDL-18910 full support for module intro editor with embedded images 2009-04-22 04:31:54 +00:00
skodak
63b0256797 MDL-18910 normalised module intro and introformat 2009-04-20 18:51:37 +00:00
dongsheng
2d9b3ef2d7 "DATA/MDL-18136, change to moodle coding style and fix incorrect parameter of data_get_field_from_id" 2009-03-25 01:49:52 +00:00
dongsheng
f77569e1ad "DATA/MDL-18136, fix pagination in data mod, merged from 1.9" 2009-03-11 04:22:40 +00:00
jerome
c861f079e4 database: MDL-16999 fix "Required Entries" and "Required Entries before viewing" settings. Display a warning message during upgrade process if the fields were set previously (partially merged from 1.9) 2008-11-21 07:19:00 +00:00
stronk7
32d799c683 MDL-15425 Coding style: Change some logical operator uses. Thanks Robert! Merged from 19_STABLE 2008-11-18 00:10:13 +00:00
robertall
d53e5129f8 [MDL-15425] Search Filters are too persistant. Merged from MOODLE_19_STABLE. 2008-10-24 20:17:10 +00:00
skodak
8429163db9 MDL-16493 file and picture element migrated; waiting for file picker to mature, presets not finished yet 2008-09-14 08:22:44 +00:00
sam_marshall
18a2a0cb3a MDL-15498: Completion: added support for basic completion-on-view and on grade (where applicable) to assignment, choice, data, glossary, lesson, and resource. 2008-07-29 17:22:47 +00:00
moodler
4ea69f88f3 MDL-15702 SQL efficiency fix Merged from 1.9 2008-07-18 07:52:36 +00:00
dongsheng
29c1bb159a "MDL-14129, fix print_error" 2008-06-25 14:52:39 +00:00
skodak
245ac55791 MDL-14679 last forgotten bits of dml conversion 2008-06-09 19:48:24 +00:00
skodak
e348793639 MDL-15106 towards data mod dml conversion 2008-06-06 08:39:44 +00:00
skodak
3223bc9e9b MDL-15106 towards data mod dml conversion 2008-06-06 07:36:17 +00:00
skodak
3239b0104e MDL-14458 - optgroups Fields and Other in search menu; removed unused search code, html labels, added option to sort by time modified; merged from MOODLE_19_STABLE 2008-04-21 14:17:02 +00:00
skodak
ea6073bb48 MDL-13025 added data intro text formatting without cleaning - manage activity cap already marked with XSS risk; merged from MOODLE_19_STABLE 2008-04-21 13:26:08 +00:00
skodak
029cf8469b MDL-14018 fixed ##more## icon regression, thanks Robert Allerstorfer for all the testing!; merged from MOODLE_19_STABLE 2008-04-19 21:02:10 +00:00
skodak
bb5740f4c8 MDL-14424 - approval icon is bigger again, it is possible to sort by Approved status now; merged from MOODLE_19_STABLE 2008-04-19 20:48:48 +00:00
skodak
eeeb4f2ad9 MDL-12089 several search related problems fixed in data module; merged from MOODLE_19_STABLE 2008-04-19 15:33:06 +00:00
dongsheng
046dd7dcf6 MDL-11511, revert the changes, see tracker 2008-04-17 08:11:23 +00:00
dongsheng
f752e2fd72 MDL-11511, two new caps are introduced, see tracker, merged from MOODLE_19_STABLE 2008-04-17 05:42:13 +00:00
skodak
026d562efc MDL-9907 searching ilike pg compatibility fix; merged from MOODLE_19_STABLE 2008-04-16 18:57:15 +00:00
skodak
6a5357f492 MDL-14018 fixed searching when date order selected; merged from MODOLE_19_STABLE 2008-04-16 15:09:21 +00:00
skodak
fb9d1e0942 MDL-14018 fixed searching when date order selected; merged from MODOLE_19_STABLE 2008-04-16 15:08:03 +00:00
skodak
832123e166 MDL-14389 fixed adv search flag storage; merged from MOODLE_19_STABLE 2008-04-16 14:09:15 +00:00
skodak
de8ff5813d MDL-9907 searching/sorting by author name fixed when paging, MDL-14389 more transition fixes; merged from MOODLE_19_STABLE 2008-04-16 13:54:01 +00:00