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:
authorJulius Härtl <jus@bitgrid.net>2018-11-08 19:10:03 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-12-20 09:38:45 +0300
commitb56d63b227991208c7fa65c4c36524678b97e3b9 (patch)
treed7ddbbcc883765b3a9f2e25636a09e7ddc894ca4 /templates
parent129516e4f5f8576765faf000b461398075153c87 (diff)
Add personal settings for template folder
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'templates')
-rw-r--r--templates/personal.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/personal.php b/templates/personal.php
index 24807f32..9ba9e3d4 100644
--- a/templates/personal.php
+++ b/templates/personal.php
@@ -1,5 +1,17 @@
+<?php
+style('richdocuments', 'admin');
+script('richdocuments', 'personal');
+?>
<div class="section" id="richdocuments">
<h2>
<?php p($l->t('Collabora Online')) ?>
</h2>
+ <span id="documents-admin-msg" class="msg"></span>
+ <p><label for="templateInputField"><?php p($l->t('Select a template directory')); ?></label><br />
+ <input type="text" name="templateInputField" id="templateInputField" value="<?php p($_['templateFolder']); ?>" disabled />
+ <button id="templateSelectButton"><span class="icon-folder" title="<?php p($l->t('Select a personal template folder')); ?>" data-toggle="tooltip"></span></button>
+ <button id="templateResetButton"><span class="icon-delete" title="<?php p($l->t('Remove personal template folder')); ?>" data-toggle="tooltip"></span></button>
+ </p>
+ <p><em><?php p($l->t('Templates inside of this directory will be added to the template selector of Collabora online.')); ?></em></p>
+ </div>
</div>