diff options
author | Pranav Kant <pranav913@gmail.com> | 2017-09-27 09:53:06 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-09-27 09:53:06 +0300 |
commit | 21504eb5a895c1c80f937e1b5eeb5ecdf89c8711 (patch) | |
tree | b56162db3eebb87475a6c593aa4c5507ccb0205f /templates | |
parent | d80a97af3a6e0d009eeadfed75ee8a64cc3a1920 (diff) |
support for external apps (#124)1.12.35
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/admin.php b/templates/admin.php index bbcdcb9f..6dc8aa81 100644 --- a/templates/admin.php +++ b/templates/admin.php @@ -15,4 +15,16 @@ script('richdocuments', 'admin'); <br/> <input type="checkbox" class="doc-format-ooxml" id="doc_format_ooxml_enable-richdocuments" <?php p($_['doc_format'] === 'ooxml' ? 'checked' : '') ?> /> <label for="doc_format_ooxml_enable-richdocuments"><?php p($l->t('Use OOXML by default for new files')) ?></label> + <br/> + <input type="checkbox" id="enable_external_apps_cb-richdocuments" <?php p($_['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 ($_['external_apps'] == '') p('hidden') ?>" > + <div id="external-apps-section"> + <input type="hidden" id="external-apps-raw" name="external-apps-raw" value="<?php p($_['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> </div> |