summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Haug2011-04-27 06:20:58 (GMT)
committer Nathan Haug2011-04-27 06:20:58 (GMT)
commit72144a6f0a91b03ae633d7402f95304b8c380714 (patch)
treeaa68e653a36bb2099089fc1f1863d57f63ef5884
parent9e376f4fbed3d3f7c3262893921337f3721638cd (diff)
Issue #1047480: Provide icons for rtf (application/rtf) and pps
(application/vnd.openxmlformats-officedocument.presentationml.slideshow) files.
-rw-r--r--filefield.theme.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/filefield.theme.inc b/filefield.theme.inc
index 38843ef..8af08cb 100644
--- a/filefield.theme.inc
+++ b/filefield.theme.inc
@@ -163,6 +163,7 @@ function _filefield_generic_icon_map($file) {
case 'application/vnd.oasis.opendocument.presentation':
case 'application/vnd.oasis.opendocument.presentation-template':
case 'application/vnd.openxmlformats-officedocument.presentationml.presentation':
+ case 'application/vnd.openxmlformats-officedocument.presentationml.slideshow':
case 'application/vnd.stardivision.impress':
case 'application/vnd.sun.xml.impress':
case 'application/vnd.sun.xml.impress.template':
@@ -226,6 +227,10 @@ function _filefield_generic_icon_map($file) {
case 'application/xhtml+xml':
return 'text-html';
+ // RTF files.
+ case 'application/rtf':
+ return 'text-rtf';
+
// Executable types.
case 'application/x-macbinary':
case 'application/x-ms-dos-executable':