Commit Graph

83 Commits

Author SHA1 Message Date
Ankit Agarwal 13bb9cee30 MDL-30166 Remove deprecated %fullname% from core
Thanks to Matheus Kautzmann for the initial patch.
2013-03-12 11:16:11 +08:00
David Monllao 0b3b8c30e2 MDL-34464 mod_data Replace all instances of get_context_instance() with respective context_XXXX class in mod/data 2012-07-27 09:13:57 +08:00
Petr Skoda cdbea7eed1 MDL-31607 use full course object for require_login() if already available
This eliminates 1 db query.
2012-04-22 17:41:47 +02:00
Petr Skoda 54352ac979 MDL-32251 more E_STRICT fixes 2012-03-30 19:02:58 +02:00
Sam Hemelryk d9fc82157b Merge branch 'MDL-31811-master-2' of git://git.luns.net.uk/moodle 2012-03-12 15:15:23 +13:00
Eloy Lafuente (stronk7) 0b56e99431 MDL-23787 data: Init 2 arrays (global scope) that may conflict with other global scope code 2012-03-07 01:47:31 +01:00
Andrew Robert Nicols e8027a40cd MDL-31811 Add/Correct checks on activity read-only periods 2012-03-06 09:30:32 +00:00
Sam Hemelryk 8ebbb06adf MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
Rossiani Wijaya e4e9611570 MDL-26464: remove 'add entry' link on setting block when it reachs the max number of records. Link removal does not apply to user who has data:manageentries capability (eg: teacher). 2011-03-11 10:03:14 +08:00
Petr Skoda 431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Dan Poltawski e594fc8d13 mod/data MDL-24133 - footer called before header 2011-01-09 19:31:25 +00:00
Sam Hemelryk 7a534d7a5c mod-data MDL-25281 Removed format_text call that we messing up database entries. 2010-11-19 02:58:42 +00:00
Andrea Bicciolo 570de7a6da mdl-24033 ported on Moodle 2.0. Thanks to Daniele Cordella 2010-09-20 14:38:07 +00:00
Andrew Davis a7409db46a filters MDL-23456 added filtering for when adding a database activity entry 2010-07-23 03:50:11 +00:00
Martin Dougiamas e822f07ba2 MDL-23475 Some cleanups to make adding/editing entries a bit smoother. Fixed buttons on Delete too. 2010-07-22 06:29:14 +00:00
Andrew Davis aa60291e12 rss MDL-23391 alter the rss urls to be component names ie mod_forum instead of just module name ie forum 2010-07-19 10:57:52 +00:00
Dongsheng Cai bbdfd8ce01 MDL-22574, move import form to import.php, use csv_import_reader class to process csv file, use filepicker to replace legacy upload form. 2010-06-04 08:21:24 +00:00
Rossiani Wijaya 91bc072a31 MDL-20447 - add heading to the page 2010-05-28 02:30:14 +00:00
Andrew Davis fcce139aa3 RSS MDL-22204 committing new RSS code. Uses a token to ID the user. RSS feeds also generated/updated as needed rather than by cron.php 2010-05-02 11:43:57 +00:00
David Mudrak 7719b4db37 MDL-21695 Database module now uses new help strings
AMOS BEGIN
 HLP data/exportzip.html,[exportaszip_help,mod_data]
 HLP data/fields.html,[newfield_help,mod_data]
 HLP data/fieldmappings.html,[fieldmappings_help,mod_data]
 HLP data/importcsv.html,[csvimport_help,mod_data]
 HLP data/importfromfile.html,[fromfile_help,mod_data]
 HLP data/maxentries.html,[maxentries_help,mod_data]
 HLP data/requireapproval.html,[requireapproval_help,mod_data]
 HLP data/requiredentries.html,[requiredentries_help,mod_data]
 HLP data/requiredentriestoview.html,[requiredentriestoview_help,mod_data]
 HLP data/savepreset.html,[saveaspreset_help,mod_data]
 HLP data/tags.html,[availabletags_help,mod_data]
 HLP data/usepreset.html,[usestandard_help,mod_data]
AMOS END
2010-04-30 14:56:41 +00:00
Petr Skoda 596509e431 MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help 2010-04-13 20:34:27 +00:00
Petr Skoda 4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Dongsheng Cai 26032c2d20 "MDL-15405, data module to use filemanager" 2010-03-05 05:37:09 +00:00
Petr Skoda 60409fe103 MDL-21532 ->in_head() now really exceptional (after overrlib removal there will be just a few of them) 2010-02-06 14:09:33 +00:00
Petr Skoda 9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
Petr Skoda c046747947 MDL-21240 simplified CSS handling in requirements manager 2010-01-18 20:02:13 +00:00
Petr Skoda a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda 4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
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
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