diff --git a/lib/filelib.php b/lib/filelib.php index 7a10c54d89783..536573a878a82 100644 --- a/lib/filelib.php +++ b/lib/filelib.php @@ -58,6 +58,9 @@ function get_mimetypes_array() { 'dv' => array ('type'=>'video/x-dv', 'icon'=>'video.gif'), 'dmg' => array ('type'=>'application/octet-stream', 'icon'=>'dmg.gif'), 'doc' => array ('type'=>'application/msword', 'icon'=>'word.gif'), + 'docx' => array ('type'=>'application/msword', 'icon'=>'docx.gif'), + 'docm' => array ('type'=>'application/msword', 'icon'=>'docm.gif'), + 'dotx' => array ('type'=>'application/msword', 'icon'=>'dotx.gif'), 'dcr' => array ('type'=>'application/x-director', 'icon'=>'flash.gif'), 'dif' => array ('type'=>'video/x-dv', 'icon'=>'video.gif'), 'dir' => array ('type'=>'application/x-director', 'icon'=>'flash.gif'), @@ -125,6 +128,13 @@ function get_mimetypes_array() { 'png' => array ('type'=>'image/png', 'icon'=>'image.gif'), 'pps' => array ('type'=>'application/vnd.ms-powerpoint', 'icon'=>'powerpoint.gif'), 'ppt' => array ('type'=>'application/vnd.ms-powerpoint', 'icon'=>'powerpoint.gif'), + 'pptx' => array ('type'=>'application/vnd.ms-powerpoint', 'icon'=>'pptx.gif'), + 'pptm' => array ('type'=>'application/vnd.ms-powerpoint', 'icon'=>'pptm.gif'), + 'potx' => array ('type'=>'application/vnd.ms-powerpoint', 'icon'=>'potx.gif'), + 'potm' => array ('type'=>'application/vnd.ms-powerpoint', 'icon'=>'potm.gif'), + 'ppam' => array ('type'=>'application/vnd.ms-powerpoint', 'icon'=>'ppam.gif'), + 'ppsx' => array ('type'=>'application/vnd.ms-powerpoint', 'icon'=>'ppsx.gif'), + 'ppsm' => array ('type'=>'application/vnd.ms-powerpoint', 'icon'=>'ppsm.gif'), 'ps' => array ('type'=>'application/postscript', 'icon'=>'pdf.gif'), 'qt' => array ('type'=>'video/quicktime', 'icon'=>'video.gif'), 'ra' => array ('type'=>'audio/x-realaudio', 'icon'=>'audio.gif'), @@ -170,6 +180,12 @@ function get_mimetypes_array() { 'xfd' => array ('type'=>'application/pdf', 'icon'=>'pdf.gif'), 'xfdf' => array ('type'=>'application/pdf', 'icon'=>'pdf.gif'), 'xls' => array ('type'=>'application/vnd.ms-excel', 'icon'=>'excel.gif'), + 'xlsx' => array ('type'=>'application/vnd.ms-excel', 'icon'=>'xlsx.gif'), + 'xlsm' => array ('type'=>'application/vnd.ms-excel', 'icon'=>'xlsm.gif'), + 'xltx' => array ('type'=>'application/vnd.ms-excel', 'icon'=>'xltx.gif'), + 'xltm' => array ('type'=>'application/vnd.ms-excel', 'icon'=>'xltm.gif'), + 'xlsb' => array ('type'=>'application/vnd.ms-excel', 'icon'=>'xlsb.gif'), + 'xlam' => array ('type'=>'application/vnd.ms-excel', 'icon'=>'xlam.gif'), 'xml' => array ('type'=>'application/xml', 'icon'=>'xml.gif'), 'xsl' => array ('type'=>'text/xml', 'icon'=>'xml.gif'), 'zip' => array ('type'=>'application/zip', 'icon'=>'zip.gif') diff --git a/pix/f/docm.gif b/pix/f/docm.gif new file mode 100644 index 0000000000000..7da1fc1a7b59c Binary files /dev/null and b/pix/f/docm.gif differ diff --git a/pix/f/docx.gif b/pix/f/docx.gif new file mode 100644 index 0000000000000..2843dea6848c5 Binary files /dev/null and b/pix/f/docx.gif differ diff --git a/pix/f/dotm.gif b/pix/f/dotm.gif new file mode 100644 index 0000000000000..29bfb7bde95d6 Binary files /dev/null and b/pix/f/dotm.gif differ diff --git a/pix/f/dotx.gif b/pix/f/dotx.gif new file mode 100644 index 0000000000000..443d3882be0df Binary files /dev/null and b/pix/f/dotx.gif differ diff --git a/pix/f/odt.gif b/pix/f/odt.gif index 0cbc73ca813c0..d09b2a344c706 100755 Binary files a/pix/f/odt.gif and b/pix/f/odt.gif differ diff --git a/pix/f/potm.gif b/pix/f/potm.gif new file mode 100644 index 0000000000000..cff9e99e44158 Binary files /dev/null and b/pix/f/potm.gif differ diff --git a/pix/f/potx.gif b/pix/f/potx.gif new file mode 100644 index 0000000000000..6c40066b25d60 Binary files /dev/null and b/pix/f/potx.gif differ diff --git a/pix/f/ppam.gif b/pix/f/ppam.gif new file mode 100644 index 0000000000000..9de80734f688a Binary files /dev/null and b/pix/f/ppam.gif differ diff --git a/pix/f/ppsm.gif b/pix/f/ppsm.gif new file mode 100644 index 0000000000000..a6b9a4683b174 Binary files /dev/null and b/pix/f/ppsm.gif differ diff --git a/pix/f/ppsx.gif b/pix/f/ppsx.gif new file mode 100644 index 0000000000000..e54ee1ac68af5 Binary files /dev/null and b/pix/f/ppsx.gif differ diff --git a/pix/f/pptm.gif b/pix/f/pptm.gif new file mode 100644 index 0000000000000..d9e1e2fcef5ef Binary files /dev/null and b/pix/f/pptm.gif differ diff --git a/pix/f/pptx.gif b/pix/f/pptx.gif new file mode 100644 index 0000000000000..fdef00d9cd251 Binary files /dev/null and b/pix/f/pptx.gif differ diff --git a/pix/f/xlam.gif b/pix/f/xlam.gif new file mode 100644 index 0000000000000..3448341489fb1 Binary files /dev/null and b/pix/f/xlam.gif differ diff --git a/pix/f/xlsb.gif b/pix/f/xlsb.gif new file mode 100644 index 0000000000000..c9dc26e98f99e Binary files /dev/null and b/pix/f/xlsb.gif differ diff --git a/pix/f/xlsm.gif b/pix/f/xlsm.gif new file mode 100644 index 0000000000000..321d33cf76b20 Binary files /dev/null and b/pix/f/xlsm.gif differ diff --git a/pix/f/xlsx.gif b/pix/f/xlsx.gif new file mode 100644 index 0000000000000..8d878992d2cf2 Binary files /dev/null and b/pix/f/xlsx.gif differ diff --git a/pix/f/xltm.gif b/pix/f/xltm.gif new file mode 100644 index 0000000000000..8733676a8921f Binary files /dev/null and b/pix/f/xltm.gif differ diff --git a/pix/f/xltx.gif b/pix/f/xltx.gif new file mode 100644 index 0000000000000..fa891e18420b1 Binary files /dev/null and b/pix/f/xltx.gif differ