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:
authorLukas Reschke <lukas@statuscode.ch>2016-12-06 14:53:09 +0300
committerLukas Reschke <lukas@statuscode.ch>2016-12-06 14:53:09 +0300
commit62bd261c0b1bdc6267567c36f44b6d7a0b599bcf (patch)
tree9a96a4140e1a08f4732c35c13f79005ba9f02a0e /templates
parentd359d1452fd990d470caad6393ef9f523551ed71 (diff)
Remove unrequired "Office" interface
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'templates')
-rw-r--r--templates/documents.php33
1 files changed, 0 insertions, 33 deletions
diff --git a/templates/documents.php b/templates/documents.php
index 1d3556c0..33978dc7 100644
--- a/templates/documents.php
+++ b/templates/documents.php
@@ -8,39 +8,6 @@ script('files', 'jquery.fileupload');
?>
<div id="documents-content">
<ul class="documentslist">
- <li class="add-document">
- <a class="icon-add add-<?php p($_['doc_format'] === 'ooxml' ? 'docx' : 'odt') ?> svg" target="_blank" href="">
- <label><?php p($l->t('New Document')) ?></label>
- </a>
- <a class="icon-add add-<?php p($_['doc_format'] === 'ooxml' ? 'xlsx' : 'ods') ?> svg" target="_blank" href="">
- <label><?php p($l->t('New Spreadsheet')) ?></label>
- </a>
- <a class="icon-add add-<?php p($_['doc_format'] === 'ooxml' ? 'pptx' : 'odp') ?> svg" target="_blank" href="">
- <label><?php p($l->t('New Presentation')) ?></label>
- </a>
- <div id="upload" title="<?php p($l->t('Upload (max. %s)', array($_['uploadMaxHumanFilesize']))) ?>">
- <form data-upload-id="1"
- id="data-upload-form"
- class="file_upload_form"
- action="<?php print_unescaped(link_to('files', 'ajax/upload.php')); ?>"
- method="post"
- enctype="multipart/form-data"
- target="file_upload_target_1">
- <?php if($_['uploadMaxFilesize'] >= 0):?>
- <input type="hidden" name="MAX_FILE_SIZE" id="max_upload"
- value="<?php p($_['uploadMaxFilesize']) ?>" />
- <?php endif;?>
- <!-- Send the requesttoken, this is needed for older IE versions
- because they don't send the CSRF token via HTTP header in this case -->
- <input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" id="requesttoken" />
- <input type="hidden" class="max_human_file_size"
- value="(max <?php p($_['uploadMaxHumanFilesize']); ?>)" />
- <input type="file" id="file_upload_start" name='files[]' />
- <a href="#" class="icon-upload upload svg">
- <label><?php p($l->t('Upload')) ?></label></a>
- </form>
- </div>
- </li>
<li class="progress icon-loading"><div><?php p($l->t('Loading documents...')); ?></div></li>
<li class="document template" data-id="" style="display:none;">
<a target="_blank" href=""><label></label></a>