Commit Graph

57 Commits

Author SHA1 Message Date
Rossiani Wijaya 8309268b42 MDL-34563 - removed double labeling and add label for input text 2012-08-16 14:17:50 +08:00
Rossiani Wijaya ee53ceb3eb MDL-34563 accessibility compliance for data module: Add forform input text and select tag 2012-08-13 15:13:54 +08:00
Marina Glancy 559276b153 MDL-32247,MDL-32831,MDL-32900 Use correct url building of file type icons
- function get_mimetypes_array() now contains also information about filetype groups and language strings
- use 'smart' human-readable mimetype description
- never determine filetype group based on filetype icon image! remove function mimeinfo_from_icon()
- get rid of class filetype_parser and file lib/filestorage/file_types.mm, replaced with functions file_get_typegroup(), file_extension_in_typegroup() and file_mimetype_in_typegroup()
- support multiple icon sizes, not only 16 and 32
- retrieve filetype icon only using proper functions file_..._icon() from lib/filelib.php throughout the code
- increase size of repository thumbnails to 90 and icons to 24 (will take effect when new icons exist)
2012-05-21 16:01:04 +08:00
Sam Hemelryk 3211569a6a Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
This reverts commit f9f281b8fe.
2012-04-11 17:18:58 +12:00
Sam Hemelryk 5bfeb5ffd3 Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle 2012-04-10 12:34:37 +12:00
Petr Skoda 54352ac979 MDL-32251 more E_STRICT fixes 2012-03-30 19:02:58 +02:00
Rossiani Wijaya f9f281b8fe MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag 2012-03-30 16:26:58 +08:00
Andrew Robert Nicols f0f41c5e57 MDL-31515 Allow for subsequent files to overwrite old files in database activity records 2012-02-06 15:19:11 +00: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
Petr Skoda 6bdfef5da9 MDL-24321 switching to standard stdClass() 2010-09-21 08:54:01 +00:00
Petr Skoda 39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Petr Skoda 800bb0f70f MDL-24079 mod/data now using new sql_like 2010-09-04 14:08:03 +00:00
Petr Skoda 50a8bd6c1d MDL-14589 file api cleanup 2010-07-11 13:30:33 +00:00
Petr Skoda 64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
Dongsheng Cai e425638049 MDL-16493, database module use filepicker to choose file/pciture, url field use file picker to choose link. 2010-05-24 09:05:40 +00:00
Dongsheng Cai 4d2ee4c2c0 MDL-16597, move print_filemanager to $OUTPUT->file_manager, now theme designers are able to costomize file manager. 2010-05-19 08:05:36 +00:00
Dongsheng Cai ff3cf1c937 "MDL-15405, simplified filemanager initilising in database module" 2010-03-15 06:31:41 +00:00
Dongsheng Cai e30d75ccdd "MDL-15405, perform filemanager init tasks in one function" 2010-03-08 03:28:22 +00:00
Dongsheng Cai a14a933c2b "MDL-16596, fixed nonjs filemanager" 2010-03-07 16:40:25 +00:00
Dongsheng Cai 26032c2d20 "MDL-15405, data module to use filemanager" 2010-03-05 05:37:09 +00:00
Penny Leach 01e81431a3 data/files MDL-21281 fixed incorrect case between $fs and $FS in some data module fields 2010-01-08 02:37:37 +00:00
Petr Skoda b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +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 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
tjhunt d436d197d1 MDL-19690 - the last lot of $CFG->pixpath to $OUTPUT->old_icon_url
Including MDL-19693

RIP $CFG->pixpath
2009-07-03 07:55:30 +00:00
skodak 7826abc79f MDL-18293 $DB->something is using exceptions, no need for ifs there, removing useless strings 2009-06-03 20:25:27 +00:00
skodak 4eef139962 MDL-14589 file browsing refactoring - moving url encoding to filelib.php for now 2009-05-20 22:32:02 +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 6bfa3f3ecf MDL-18542:
Aaargh... yet another one missed. Hopefully that's it.

Merged from STABLE_19
2009-03-20 11:36:17 +00:00
mjollnir_ 276378e6b0 MDL-15777 - updated data file and picture field types to export files using file api.
There's still something about this I don't like - documented in  MDL-16493 and code
2008-09-16 15:48:24 +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
scyrma 5a254a2938 MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9) 2008-07-10 09:55:11 +00:00
skodak e348793639 MDL-15106 towards data mod dml conversion 2008-06-06 08:39:44 +00:00
skodak a656d95103 MDL-15106 towards data mod dml conversion 2008-06-05 19:26:57 +00:00
robertall 2858af4240 [MDL-8407] Add new function text_export_supported() or export_text_value() to those "mod/data/field/*/field.class.php" files which need them. The existing code formatting has been cleaned up, too. Merged from MOODLE_19_STABLE. 2008-05-30 02:03:39 +00:00
dongsheng ec60b8e6da "MDL-14129, fix print_error call" 2008-05-23 08:12:14 +00:00
dongsheng 5f7a233352 MDL-14320, remove useless icon in edit entry page, merged from MOODLE_19_STABLE 2008-04-17 09:45:09 +00:00
dongsheng 1dfbf846f8 MDL-14320, improve coding style, thanks Petr, merged from MOODLE_19_STABLE 2008-04-16 02:46:03 +00:00
dongsheng f2368fa5bb MDL-14320, remove icon when no file in entry, Thanks Robert 2008-04-15 02:41:27 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
toyomoyo 7900ecb02c MDL-5958, code for advanced search for db module from Elijah (HSU) 2007-02-26 06:56:05 +00:00
skodak 0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +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 54bb46f55b fixed undefined $course 2006-04-22 17:25:37 +00:00
moodler a2f96d3e55 Use better variable names in file class 2006-03-30 03:54:39 +00:00
moodler 2ef2b3f19d Fixed Fatal error: Call to undefined function get_course() in /data/www/html/server/dev/mod/data/field/file/field.class.php on line 133 2006-03-23 02:50:21 +00:00
moodler 0997e51afe Lots and lots and lots of cleanup for the data module code, mostly
to do with how the field classes worked.  Now it should be even easier
for developers.

No changes for users.  :-P

The changes are not well tested yet!
2006-03-22 08:07:26 +00:00
vyshane e1791b72e8 Added CSV import facility for the data module. Fixed notice for checkbox and
multimenu field types.
2006-03-21 04:36:36 +00:00
vyshane 4e53996865 Made script work with 1.5 2006-02-24 06:14:39 +00:00