summaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo/app.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-08-18 21:11:11 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-08-18 21:11:11 +0200
commit0890a915b3269c1d9f4b082009fdaca36c66319e (patch)
tree7f2bb08c8474a8f3e5d291b5cb8573a82a67967e /apps/files/appinfo/app.php
parent9be836814cb4165ea54a086a0f97526d783bcd37 (diff)
downloadnextcloud-server-0890a915b3269c1d9f4b082009fdaca36c66319e.tar.gz
nextcloud-server-0890a915b3269c1d9f4b082009fdaca36c66319e.zip
adding file templates for ods, odt and odp
Diffstat (limited to 'apps/files/appinfo/app.php')
-rw-r--r--apps/files/appinfo/app.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/appinfo/app.php b/apps/files/appinfo/app.php
index aa839b81d18..bd3245ded3f 100644
--- a/apps/files/appinfo/app.php
+++ b/apps/files/appinfo/app.php
@@ -24,4 +24,6 @@ OC_Search::registerProvider('OC_Search_Provider_File');
$templateManager = OC_Helper::getFileTemplateManager();
$templateManager->registerTemplate('text/html', 'core/templates/filetemplates/template.html');
-
+$templateManager->registerTemplate('application/vnd.oasis.opendocument.presentation', 'core/templates/filetemplates/template.odp');
+$templateManager->registerTemplate('application/vnd.oasis.opendocument.text', 'core/templates/filetemplates/template.odt');
+$templateManager->registerTemplate('application/vnd.oasis.opendocument.spreadsheet', 'core/templates/filetemplates/template.ods');