]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix icons for xml,ppt,dot,dotx files.
authorAndreas Fischer <bantu@owncloud.com>
Thu, 23 Jan 2014 01:46:05 +0000 (02:46 +0100)
committerAndreas Fischer <bantu@owncloud.com>
Thu, 23 Jan 2014 01:46:05 +0000 (02:46 +0100)
lib/private/helper.php
lib/private/mimetypes.list.php

index 1c8d01c141fda4d9cd7e844f29fa8252a44e5808..90ef704c3cca94b4e89b9e5ad579599163d18dfb 100644 (file)
@@ -161,6 +161,7 @@ class OC_Helper {
                        'application/vnd.oasis.opendocument.text-template' => 'x-office/document',
                        'application/vnd.oasis.opendocument.text-web' => 'x-office/document',
                        'application/vnd.oasis.opendocument.text-master' => 'x-office/document',
+                       'application/mspowerpoint' => 'x-office/presentation',
                        'application/vnd.ms-powerpoint' => 'x-office/presentation',
                        'application/vnd.openxmlformats-officedocument.presentationml.presentation' => 'x-office/presentation',
                        'application/vnd.openxmlformats-officedocument.presentationml.template' => 'x-office/presentation',
@@ -171,6 +172,7 @@ class OC_Helper {
                        'application/vnd.ms-powerpoint.slideshow.macroEnabled.12' => 'x-office/presentation',
                        'application/vnd.oasis.opendocument.presentation' => 'x-office/presentation',
                        'application/vnd.oasis.opendocument.presentation-template' => 'x-office/presentation',
+                       'application/msexcel' => 'x-office/spreadsheet',
                        'application/vnd.ms-excel' => 'x-office/spreadsheet',
                        'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' => 'x-office/spreadsheet',
                        'application/vnd.openxmlformats-officedocument.spreadsheetml.template' => 'x-office/spreadsheet',
index 9db396e9fd27cbb2e5bbd6fb0b106298f365334a..1ad333b5084872643a515c4f310d7e3f1eb2bda7 100644 (file)
@@ -36,6 +36,8 @@ return array(
        'c++' => 'text/x-c++src',
        'doc'=>'application/msword',
        'docx'=>'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
+       'dot'=>'application/msword',
+       'dotx'=>'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
        'dv'=>'video/dv',
        'epub' => 'application/epub+zip',
        'exe'=>'application/x-ms-dos-executable',