Commit graph

62 commits

Author SHA1 Message Date
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
Adrian Greeve
901d58dfd3 MDL-29086 - data - Fix for allowing the deletion of database activity presets.
Thank you to Matthias Hunstock for providing the patch for this.
2012-03-02 14:18:32 +08:00
Dan Poltawski
39b7715099 MDL-29696 mod/data - fixed page continuing after footer. 2011-11-09 15:42:07 +08:00
Tom Lanyon
7aa06e6ded MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir 2011-09-10 10:35:39 +02:00
Sam Hemelryk
8aff1574dc mod-data MDL-23656 Convert mod-data-preset to use the new file API 2010-08-25 01:22:15 +00:00
Sam Hemelryk
0170b834b1 NOBUG: Added missing quotes to database preset header call 2010-08-24 07:32:25 +00:00
Sam Hemelryk
cba87c36ea mod-data MDL-23618 Converted preset page to make use of mforms and new file picker element 2010-08-04 08:23:52 +00:00
Petr Skoda
f728d49b00 MDL-19380 uploadlib cleanup before readding of antivirus integration 2010-07-14 08:40:48 +00:00
Rossiani Wijaya
91bc072a31 MDL-20447 - add heading to the page 2010-05-28 02:30:14 +00:00
Andrew Davis
eaed2fd163 ajax MDL-22286 removed references to the previous version of the JS function openpopup() 2010-05-05 02:05:58 +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
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +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
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Dongsheng Cai
3e5769b5fe "MDL-19806, options should be an array" 2009-11-18 03:51:57 +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
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
7b30ba8b68 MDL-19806 Converted all print_footer() calls 2009-08-06 14:14:39 +00:00
tjhunt
f2a1963c43 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 11:09:15 +00:00
dongsheng
29c1bb159a "MDL-14129, fix print_error" 2008-06-25 14:52:39 +00:00
robertall
242b238c2a [MDL-15298] Avoid printing a warning if debugging is enabled 2008-06-25 10:20:01 +00:00
robertall
5d0f79e1b2 [MDL-15308] Automatically download exported preset. Merged from MOODLE_19_STABLE. 2008-06-18 17:45:09 +00:00
robertall
a4736e2808 [MDL-15300] Remove temporary files created while exporting a preset as ZIP file. Merged from MOODLE_19_STABLE. 2008-06-18 14:49:44 +00:00
robertall
933c129603 [MDL-15298] Don't create preset ZIP always in the same directory, as the same file name. Merged and ported from MOODLE_19_STABLE. 2008-06-18 11:53:15 +00:00
robertall
45d4986761 [MDL-15258] Clean up data_presets_export() function. 2008-06-16 18:33:26 +00:00
robertall
7c6a0735b5 [MDL-15258] Move data_presets_export() function out from common module specific library. Merged and ported from MOODLE_19_STABLE. 2008-06-16 14:02:27 +00:00
robertall
efe056922b [MDL-15069] Change filename of exported preset to ensure downloading the latest version. Merged and ported from MOODLE_19_STABLE. 2008-06-15 15:35:27 +00:00
skodak
3223bc9e9b MDL-15106 towards data mod dml conversion 2008-06-06 07:36:17 +00:00
dongsheng
ec60b8e6da "MDL-14129, fix print_error call" 2008-05-23 08:12:14 +00:00
dongsheng
8f7ca0030e MDL-14317, fix parameter type, see tracker, thanks Stephen, merged from MOODLE_19_STABLE 2008-04-16 03:24:28 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
poltawski
d9992b0626 MDL-12639 - prevent debug warnings about help buttons on database presets
Merged from MOODLE_19_STABLE
2007-12-18 21:27:45 +00:00
toyomoyo
db0f2a4496 MDL-12439 database preset fixes 2007-12-05 06:13:17 +00:00
Martin Langhoff
13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
mjollnir_
5019454537 Merged from MOODLE_18_STABLE: MDL-9585 - mod/data: moved functions and classes out of preset.php into lib.php 2007-04-26 22:04:43 +00:00
skodak
651268e00e MDL-9155 Error when creating an "image gallery" preset database when only some fields exist and do not remove existing data, comments and ratings when applying preset; merged from MOODLE_18_STABLE 2007-04-02 09:10:26 +00:00
toyomoyo
eba5e98bed replacing fieldsets with divs in small forms 2007-03-01 06:27:15 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
toyomoyo
64888fc1cb MDL-7861, xhtml strict issues 2007-01-05 08:01:33 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
moodler
2d3da9b8eb XHTML compliance MDL-7861 2006-12-18 04:47:58 +00:00
skodak
63efcb8c72 data preset coding style fixes 2006-12-13 20:32:13 +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
e59a895b90 MDL-7855 Sanitize field type when importing presents into data mod 2006-12-10 17:31:00 +00:00
skodak
0c4fe7d832 MDL-7848 Database presets import breaks non-null restriction on description 2006-12-08 22:23:45 +00:00