Skip to content
  • Marina Glancy's avatar
    559276b1
    MDL-32247,MDL-32831,MDL-32900 Use correct url building of file type icons · 559276b1
    Marina Glancy authored
    - 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)
    559276b1
    MDL-32247,MDL-32831,MDL-32900 Use correct url building of file type icons
    Marina Glancy authored
    - 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)
Loading