From c6ea1e27206ab3897f14527f02ea0882bf9a0d4b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 3 Aug 2009 11:41:08 +0000 Subject: [PATCH] mime type and icon for msword xml document --- ...s-officedocument.wordprocessingml.document.gif | Bin 0 -> 140 bytes phpgwapi/inc/class.mime_magic.inc.php | 1 + 2 files changed, 1 insertion(+) create mode 100644 etemplate/templates/default/images/mime16_application_vnd.openxmlformats-officedocument.wordprocessingml.document.gif diff --git a/etemplate/templates/default/images/mime16_application_vnd.openxmlformats-officedocument.wordprocessingml.document.gif b/etemplate/templates/default/images/mime16_application_vnd.openxmlformats-officedocument.wordprocessingml.document.gif new file mode 100644 index 0000000000000000000000000000000000000000..a343a3ca7e0b52a4cccc5342462f1c2ef3a5d886 GIT binary patch literal 140 zcmZ?wbhEHb6krfwSj5WE($;e9_%Q~C{|rD320#W7DE?$&WME)r&;fBkY8jXVBe?FY z+rZ$Y&Fb8_(OO=7Vq=(Ufb*})xCcUxyE@a|Sq$%KqPl7^Ro&=#&h4hzE(^L jR*hU`(7bxhmuZnxV$QBxlGW+R@Sr5BCvfLoP6lfLxY{%; literal 0 HcmV?d00001 diff --git a/phpgwapi/inc/class.mime_magic.inc.php b/phpgwapi/inc/class.mime_magic.inc.php index dce56dfab0..e237d3fd7e 100644 --- a/phpgwapi/inc/class.mime_magic.inc.php +++ b/phpgwapi/inc/class.mime_magic.inc.php @@ -255,6 +255,7 @@ class mime_magic 'dll' => 'application/octet-stream', 'dms' => 'application/octet-stream', 'doc' => 'application/msword', + 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', // msword xml format 'dot' => 'application/msword',//added by skwashd 'dvi' => 'application/x-dvi', 'dxr' => 'application/x-director',