[AMOS commit] MDL-32247,MDL-32831,MDL-32900 Use correct url building of file type icons Committed into Git: 2012-05-21 07:17 UTC

[AMOS commit] MDL-32247,MDL-32831,MDL-32900 Use correct url building of file type icons Committed into Git: 2012-05-21 07:17 UTC

by AMOS bot -
Number of replies: 0
Author: Marina Glancy
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)


http://git.moodle.org/gw?p=moodle.git;a=commit;h=559276b153640310d6c7fa3695f8d71ad0396f39
http://github.com/moodle/moodle/commit/559276b153640310d6c7fa3695f8d71ad0396f39

+ 2.3 en [application/vnd.moodle.backup,core_mimetypes]
+ 2.3 en [application/vnd.openxmlformats-officedocument.presentationml.presentation,core_mimetypes]
+ 2.3 en [application/vnd.openxmlformats-officedocument.presentationml.slideshow,core_mimetypes]
+ 2.3 en [application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,core_mimetypes]
+ 2.3 en [application/vnd.openxmlformats-officedocument.spreadsheetml.template,core_mimetypes]
+ 2.3 en [application/vnd.openxmlformats-officedocument.wordprocessingml.document,core_mimetypes]
+ 2.3 en [archive,core_mimetypes]
+ 2.3 en [audio,core_mimetypes]
+ 2.3 en [default,core_mimetypes]
+ 2.3 en [document/unknown,core_mimetypes]
+ 2.3 en [image,core_mimetypes]
+ 2.3 en [text/html,core_mimetypes]
+ 2.3 en [text/plain,core_mimetypes]
- 2.3 en [application/zip,core_mimetypes]
- 2.3 en [audio/mp3,core_mimetypes]
- 2.3 en [audio/wav,core_mimetypes]
- 2.3 en [image/bmp,core_mimetypes]
- 2.3 en [image/gif,core_mimetypes]
- 2.3 en [image/jpeg,core_mimetypes]
- 2.3 en [image/png,core_mimetypes]