diff options
author | Henry Castro <hcastro@collabora.com> | 2016-03-06 00:40:47 +0300 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2016-03-06 00:40:47 +0300 |
commit | 08dbf236d95697673b779c3b2179d8fb161e4698 (patch) | |
tree | bbf508ef10efab0ac12d31f74e7f7fae4801fb3b /templates | |
parent | ce5528be4d9532f6c49091288ef8c5d24d9cfd19 (diff) |
Add WOPI client settings
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin.php | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/templates/admin.php b/templates/admin.php index 2d391d30..59cf7584 100644 --- a/templates/admin.php +++ b/templates/admin.php @@ -5,34 +5,39 @@ script('richdocuments', 'admin'); <h2><?php p($l->t('Documents')) ?></h2> <p><?php p($l->t('MS Word support (requires openOffice/libreOffice)')) ?></p> <p> - <input type="radio" name="docs_converter" value="local" id="docs_converter_local" - <?php print_unescaped($_['converter']=='local' ? 'checked="checked"' : '') ?> + <input type="radio" name="docs_converter" value="local" id="docs_converter_local" + <?php print_unescaped($_['converter']=='local' ? 'checked="checked"' : '') ?> /> <label for="docs_converter_local"><?php p($l->t('Local')) ?></label><br> <em><?php p($l->t('openOffice/libreOffice is installed on this server. Path to binary is provided via preview_libreoffice_path in config.php')) ?></em> </p> <p> <input type="radio" name="docs_converter" value="external" id="docs_converter_external" - <?php print_unescaped($_['converter']=='external' ? 'checked="checked"' : '') ?> + <?php print_unescaped($_['converter']=='external' ? 'checked="checked"' : '') ?> /> <label for="docs_converter_external"><?php p($l->t('External')) ?></label><br> <em><?php p($l->t('openOffice/libreOffice is installed on external server running a format filter server')) ?></em> </p> <p> <input type="radio" name="docs_converter" value="off" id="docs_converter_off" - <?php print_unescaped($_['converter']=='off' ? 'checked="checked"' : '') ?> + <?php print_unescaped($_['converter']=='off' ? 'checked="checked"' : '') ?> /> <label for="docs_converter_off"><?php p($l->t('Disabled')) ?></label><br> <em><?php p($l->t('No MS Word support')) ?></em> </p> <div id="docs_extra" <?php print_unescaped($_['converter']!=='external' ? 'style="display:none"' : '') ?>> - <input type="text" name="docs_url" id="docs_url" - value="<?php p($_['converter_url'])?>" - original-title="<?php p($l->t('scheme://domain.tld[:port]')) ?>" + <input type="text" name="docs_url" id="docs_url" + value="<?php p($_['converter_url'])?>" + original-title="<?php p($l->t('scheme://domain.tld[:port]')) ?>" style="width:250px;" /> <br /><em><?php p($l->t('Server URL')) ?></em> </div> + <br /> + <div id="wopi_client"> + <input type="text" name="wopi_url" id="wopi_url" value="<?php p($_['wopi_url'])?>" style="width:250px;"> + <br /><em><?php p($l->t('WOPI Client')) ?></em> + </div> <br /><button type="button" id="docs_apply"><?php p($l->t('Apply and test')) ?></button> <span id="documents-admin-msg" class="msg"></span> </div> |