Commit graph

113 commits

Author SHA1 Message Date
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
Aparup Banerjee
357317fb6e Merge branch 'MDL-27432_gd_error' of git://github.com/andyjdavis/moodle 2011-12-08 13:56:51 +08:00
Eloy Lafuente (stronk7)
f8b02913ad MDL-30007 standardise data field subplugin lang files 2011-11-30 03:46:08 +01:00
Eloy Lafuente (stronk7)
9b7e2cbb2e MDL-30007 standardise data field subplugin version files 2011-11-30 02:59:39 +01:00
Andrew Davis
6b2f218473 MDL-27432 mod_data: improved handling of the absence of the GD php extension 2011-11-28 12:58:44 +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
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
a7d4cb676d MDL-22980, move mod/data/field/*/icon.gif to mod/data/pix/field/*.gif 2010-06-29 07:20:51 +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
Petr Skoda
d776d59ee2 MDL-21235 fixed select method name 2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b MDL-21235 more conversion to new select 2010-01-16 18:25:51 +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
1adbd2c350 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 14:55:15 +00:00
nicolasconnault
4102b449ef MDL-19806 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:13:51 +00:00
nicolasconnault
601104f238 MDL-19806 Upgraded calls to choose_from_menu 2009-08-17 15:19:49 +00:00
skodak
9d7493399d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:35:10 +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
fmarier
316914bf6e MDL-17037 ran all GIF images through gifsicle and PNG through optipng 2009-04-05 23:33:00 +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
urs_hunkler
11d6ec1355 merged from 1.8 - $thumbwidth not calculated 2007-08-05 16:42:31 +00:00
nicolasconnault
f7cec5cf56 MDL-8855 - Wrote additional GD code to support alpha transparency in PNG files. 2007-03-13 02:40:18 +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
0f13ec8f9b MDL-8105 some more icon class fixes including new .iconhelp for help and docs icon 2007-01-08 20:30:38 +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
007e4f6ede xhtml and accessibility cleanup in data mod MDL-7813
* image alt value is now called "Alternative text" because it should not be considered optional
2006-12-13 09:29:03 +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
toyomoyo
e420932827 merged fix for MDL-7270, fixing warnings 2006-12-11 03:14:32 +00:00
skodak
7150b8ae20 MDL-7434 all images that convey information should have alt text to convey that information - part 3 2006-11-26 16:20:19 +00:00
tjhunt
450a0a7db7 Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs. 2006-05-17 16:47:44 +00:00
moodler
de251840b4 Added some feedback to the picture thumbnail regneneration bug 5011 2006-04-10 16:46:52 +00:00
moodler
0143db5788 More clean ups 2006-04-06 17:12:55 +00:00
moodler
b4f3e56cc1 Fixes from Dan Stowell to support thumbnail images, with some modifications
from me to remove unnecessary messages.    bug 5011
2006-04-06 16:20:50 +00:00
moodler
b9957ccb1d Changes to match file class changes 2006-03-30 04:26:50 +00:00
moodler
473dd2888b Various little fixes. 2006-03-26 05:03:10 +00:00
moodler
26d93549f5 Fixed up some styles and pagepath for field-editing pages 2006-03-22 13:38:29 +00:00
moodler
423bd918b5 Fixing silly stuff 2006-03-22 08:44:26 +00:00