Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-02-05 23:22:37 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-02-05 23:22:37 +0300
commitdcdebbae00a2bfed9b0969b0138c1b2693ce6df2 (patch)
tree152d6a60afd04026c8c5f0eb5c2df9f125875094 /appinfo
parent5c38800f79ebd18cc9271cdc099615b5a982b02f (diff)
Use the proper old templates
else creating a new file leads to a non saveable template on 3.x collabora Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index cfecd257..b996505e 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -58,9 +58,9 @@ if (class_exists('\OC\Files\Type\TemplateManager')) {
$manager->registerTemplate('application/vnd.openxmlformats-officedocument.wordprocessingml.document', dirname(__DIR__) . '/assets/docxtemplate.docx');
$manager->registerTemplate('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', dirname(__DIR__) . '/assets/xlsxtemplate.xlsx');
$manager->registerTemplate('application/vnd.openxmlformats-officedocument.presentationml.presentation', dirname(__DIR__) . '/assets/pptxtemplate.pptx');
- $manager->registerTemplate('application/vnd.oasis.opendocument.presentation', dirname(__DIR__) . '/assets/presentation.otp');
- $manager->registerTemplate('application/vnd.oasis.opendocument.text', dirname(__DIR__) . '/assets/document.ott');
- $manager->registerTemplate('application/vnd.oasis.opendocument.spreadsheet', dirname(__DIR__) . '/assets/spreadsheet.ots');
+ $manager->registerTemplate('application/vnd.oasis.opendocument.presentation', dirname(__DIR__) . '/assets/template.odp');
+ $manager->registerTemplate('application/vnd.oasis.opendocument.text', dirname(__DIR__) . '/assets/template.odt');
+ $manager->registerTemplate('application/vnd.oasis.opendocument.spreadsheet', dirname(__DIR__) . '/assets/template.ods');
}