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>2020-01-23 20:55:32 +0300
committerJulius Härtl <jus@bitgrid.net>2020-01-27 09:33:44 +0300
commite4845597c5e8742918477ce300adca2c02e516f3 (patch)
treefbcbb0c1d2936e5aef8a9808b755c0de502e23dd /templates
parentd97d7843abdb92dd0550304ca75c12e46389ec80 (diff)
Migrate other settings to vue
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'templates')
-rw-r--r--templates/admin.php47
1 files changed, 0 insertions, 47 deletions
diff --git a/templates/admin.php b/templates/admin.php
index e36ec123..65b15635 100644
--- a/templates/admin.php
+++ b/templates/admin.php
@@ -7,53 +7,6 @@ script('files', 'jquery.fileupload');
?>
<div id="admin-vue" data-initial="<?php p(json_encode($_['settings'], true)); ?>"></div>
-<div class="section" id="richdocuments-advanced">
-
- <h2>
- <?php p($l->t('Advanced Settings')) ?>
- </h2>
- <p>
- <input type="checkbox" class="use-groups-enable checkbox" id="use_groups_enable-richdocuments" />
- <label for="use_groups_enable-richdocuments"><?php p($l->t('Restrict usage to specific groups')) ?></label>
- <br/>
- <em><?php p($l->t('Collabora Online is enabled for all users by default. When this setting is active, only members of the specified groups can use it.')) ?></em><br />
- <input type="hidden" id="use_group_select" value="<?php p($_['settings']['use_groups'])?>" title="<?php p($l->t('All')); ?>">
- </p>
- <p>
- <input type="checkbox" class="edit-groups-enable checkbox" id="edit_groups_enable-richdocuments" />
- <label for="edit_groups_enable-richdocuments"><?php p($l->t('Restrict edit to specific groups')) ?></label>
- <br/>
- <em><?php p($l->t('All users can edit documents with Collabora Online by default. When this setting is active, only the members of the specified groups can edit and the others can only view documents.')) ?></em><br />
- <input type="hidden" id="edit_group_select" value="<?php p($_['settings']['edit_groups'])?>" title="<?php p($l->t('All')); ?>">
- </p>
-
- <p>
- <input type="checkbox" class="doc-format-ooxml checkbox" id="doc_format_ooxml_enable-richdocuments" <?php p($_['settings']['doc_format'] === 'ooxml' ? 'checked' : '') ?> />
- <label for="doc_format_ooxml_enable-richdocuments"><?php p($l->t('Use Office Open XML (OOXML) instead of OpenDocument Format (ODF) by default for new files')) ?></label>
- </p>
- <p>
- <input type="checkbox" class="checkbox" id="enable_external_apps_cb-richdocuments" <?php p($_['settings']['external_apps'] !== '' ? 'checked' : '') ?> />
- <label for="enable_external_apps_cb-richdocuments"><?php p($l->t('Enable access for external apps')) ?></label>
- <div id="enable-external-apps-section" class="indent <?php if ($_['settings']['external_apps'] === '') p('hidden') ?>" >
- <div id="external-apps-section">
- <input type="hidden" id="external-apps-raw" name="external-apps-raw" value="<?php p($_['settings']['external_apps']) ?>">
- </div>
-
- <button type="button" id="external-apps-save-button"><?php p($l->t('Save')) ?></button>
- <button type="button" id="external-apps-add-button"><?php p($l->t('Add')) ?></button>
- <span id="enable-external-apps-section-msg" class="msg"></span>
- </div>
- </p>
- <p>
- <input type="checkbox" class="checkbox" id="enable_canonical_webroot_cb-richdocuments" <?php p($_['settings']['canonical_webroot'] !== '' ? 'checked' : '') ?> />
- <label for="enable_canonical_webroot_cb-richdocuments"><?php p($l->t('Use Canonical webroot')) ?></label>
- <div id="enable-canonical-webroot-section" class="indent <?php if ($_['settings']['canonical_webroot'] === '') p('hidden') ?>" >
- <input type="text" id="canonical-webroot" name="canonical-webroot-name" value="<?php p($_['settings']['canonical_webroot']) ?>">
- <br/>
- <p class="rd-settings-documentation"><em><?php p($l->t('Canonical webroot, in case there are multiple, for Collabora to use. Provide the one with least restrictions. Eg: Use non-shibbolized webroot if this instance is accessed by both shibbolized and non-shibbolized webroots. You can ignore this setting if only one webroot is used to access this instance.')) ?></em></p>
- </div>
- </p>
-</div>
<?php if ($_['settings']['templatesAvailable'] === true) { ?>
<form class="section" id="richdocuments-templates" method="post" action="/template/">
<input class="hidden-visually" id="add-template" type="file" />