Commit Graph

104 Commits

Author SHA1 Message Date
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
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 6111b2b030 mod-data MDL-19806 Added set_url calls, replaced deprecated functions, and added boilerplates 2009-09-24 04:25:40 +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
skodak 622365d2e1 MDL-20169 fixed coding style, parameter type required 2009-08-27 18:37:53 +00:00
nicolasconnault 4102b449ef MDL-19806 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:13:51 +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 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
thepurpleblob 344e15e666 MDL-18542:
Just noticed a couple of oddnesses in the diff.....
2009-03-24 11:12:33 +00:00
thepurpleblob f62f7d8f8e MDL-18542:
Reverting various checkins related to this bug.
PLUS... proper 1 line fix included (merged from STABLE19)
2009-03-24 10:52:50 +00:00
thepurpleblob cfd7998216 MDL-18542:
Correctly deals with field types that have multiple parts (e.g. data and lat/long)
Thanks to Eloy for spotting this.

Merged from STABLE_19
2009-03-19 20:45:40 +00:00
thepurpleblob 410b53deed MDL-18542
Can now uncheck checkboxes and have them stored correctly.

Merged from STABLE_19
2009-03-16 15:38:06 +00:00
skodak 294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak a656d95103 MDL-15106 towards data mod dml conversion 2008-06-05 19:26:57 +00:00
dongsheng ec60b8e6da "MDL-14129, fix print_error call" 2008-05-23 08:12:14 +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
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
tjhunt 38e179a4ed MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
mattc-catalyst 135219ef8a MDL-10919: mod/database - fix SQL error caused by invalid groupid 2007-08-20 22:18:49 +00:00
skodak 055f21850a MDL-10914 support for groupings in Database module 2007-08-20 14:04:10 +00:00
Martin Langhoff 13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
nicolasconnault 73c24ef80b MDL-10870 All files updated to new build_navigation() method. 2007-08-16 15:01:25 +00:00
mattc-catalyst 01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst 3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
mattc-catalyst 70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
mattc-catalyst ad7767be7a Breadcrumbs: mod/data changes
- Modified to use build_navigation() for breadcrumb generation.
- Removed print_header method is now provided by base class.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:05:21 +00:00
moodler 7df05299b6 Old change I never checked in to fix collapsing displays 2007-03-28 03:27:00 +00:00
skodak 84347f30b7 MDL-8733 fixed approving logic when editing; merged from MOODLE_16_STABLE 2007-03-03 12:27:55 +00:00
moodler 6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
skodak 60af27037b MDL-7861 xhtml transient fixes for not closed input fields - I hope all of them except imported libs are now fixed 2007-01-08 19:34:16 +00:00
toyomoyo e9f044341f MDL-7861, xhtml related issues, added class for some fieldsets to not display border 2007-01-05 02:00:20 +00:00
toyomoyo 8fcf22595e MDL-7861, fixing xhtml strict divs 2007-01-05 01:19:02 +00:00
toyomoyo 9fcdacfdaf adding fieldset to form MDL-7861 2007-01-04 03:18:10 +00:00
skodak aab98aaff1 data mod whitespace cleanup - there are already many accessibility related changes and fixes that are not backportable anyway and merging from previous versions is not expected 2006-12-13 20:26:11 +00:00
skodak e357c206db xhtml and accessibility cleanup in data mod MDL-7813
* image galery preset accessiblity fixes MDL-7822
* xhtml fixes
* fields now use s() and p() where needed
* added labels to all fields - imporved accessiblity for adding of new entries
* some other general bugfixing and cleanup

it is still not finished though, expect some more commits tomorrow
2006-12-12 23:34:55 +00:00
skodak a5adbd0c39 MDL-7905 Add new available tag for element id for in database mod 2006-12-12 18:20:51 +00:00
skodak cca1547e7c MDL-7716 In visible groups mode, It is possible to put a database entries in other group that it his 2006-12-10 20:16:03 +00:00
skodak f2584d0ea2 MDL-6519 Dollar ($) signs in data module text fields not preserved. 2006-12-08 22:29:11 +00:00
skodak c088d6039d MDL-7821 wrong use of cm in data mod and added proper require_login() 2006-12-06 20:17:58 +00:00
moodler ffd8a1cdc5 Added Javascript, CSS etc on edit page for database. MDL-7100 2006-10-20 07:35:00 +00:00
moodler 8303eb8447 Fixes related to presets and MDL-6755.
The original code was shocking once I started reviewing it, and even
after heavy editing I'm still not happy with it, but at least it works
more like it was supposed to.

Needs more cleaning up to make it clearer and probably safer.

Also, presets can now contain langage packs and they'll be used.
The image gallery is an example.
2006-10-02 17:24:54 +00:00
toyomoyo 81e956b964 added some capabilities 2006-08-30 08:43:17 +00:00
skodak 8fd62c6401 Bug #6199 - A typo in edit.php; merged from MOODLE_16_STABLE 2006-08-09 19:46:32 +00:00
skodak f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
skodak 62ce993db3 Bug #5959 - save and view takes to wrong place; merged from MOODLE_16_STABLE 2006-06-29 06:53:53 +00:00
vyshane 65d169680c Merged fix from 1.6 (missing lang string) 2006-06-01 04:08:45 +00:00