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:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-02-24 17:55:43 +0300
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-02-24 18:01:25 +0300
commit117d75a282575b8e54fdc24e0a6a475e1a434fe3 (patch)
treedc1eee4cb8c9e329b156c03fb407c45c61353b59 /templates
parent7c761381dc5e0bd0bde370b10ce67ed7f57b385b (diff)
Add settings to disable certificate validation
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'templates')
-rw-r--r--templates/admin.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/admin.php b/templates/admin.php
index b006d967..eca2a983 100644
--- a/templates/admin.php
+++ b/templates/admin.php
@@ -17,7 +17,13 @@ script('files', 'jquery.fileupload');
<label for="wopi_url"><?php p($l->t('Collabora Online server')) ?></label>
<input type="text" name="wopi_url" id="wopi_url" value="<?php p($_['wopi_url'])?>" style="width: 300px; display: block;">
<em><?php p($l->t('URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client.')) ?></em>
- <br/><button type="button" id="wopi_apply"><?php p($l->t('Apply')) ?></button>
+ <br/>
+ <input type="checkbox" class="checkbox" id="disable_certificate_verification" <?php p($_['disable_certificate_verification'] !== '' ? 'checked' : '') ?> />
+ <label for="disable_certificate_verification"><?php p($l->t('Disable certificate verification (insecure)')) ?></label>
+ <div>
+ <em><?php p($l->t('Enable if your Collabora Online server uses a self signed certificate')) ?></em>
+ </div>
+ <button type="button" id="wopi_apply"><?php p($l->t('Apply')) ?></button>
<span id="documents-admin-msg" class="msg"></span>
<br/>
<br/>