diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-12-06 23:09:40 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-12-06 23:09:40 +0300 |
commit | 75af90b4f196014ecbf333229431147009bf8950 (patch) | |
tree | 21adf6961b038dab3f3ab8e5b46ecd53bfeff786 /templates | |
parent | f304fd46299cffa52b0fb4c1373bd8f0789bf1ad (diff) |
Cleanup source code
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin.php | 17 | ||||
-rw-r--r-- | templates/documents.php | 4 |
2 files changed, 0 insertions, 21 deletions
diff --git a/templates/admin.php b/templates/admin.php index efdc57b0..d3c01fcd 100644 --- a/templates/admin.php +++ b/templates/admin.php @@ -10,23 +10,6 @@ script('richdocuments', 'admin'); <span id="documents-admin-msg" class="msg"></span> <br/> - <input type="checkbox" class="test-server-enable" id="test_server_enable-richdocuments" /> - <label for="test-server-enable"><?php p($l->t('Enable test server for specific groups')) ?></label><br/> - <p id="test-server-section" class="indent <?php if ($_['test_server_groups'] === '' || $_['test_wopi_url'] === '') p('hidden') ?>"> - <label for="test_server_group_select"><?php p($l->t('Groups')) ?></label> - <input type="hidden" id="test_server_group_select" value="<?php p($_['test_server_groups'])?>" title="<?php p($l->t('None')); ?>" style="width: 200px" /><br/> - - <label for="test_wopi_url"><?php p($l->t('Test server')) ?></label> - <input type="text" name="test_wopi_url" id="test_wopi_url" value="<?php p($_['test_wopi_url'])?>" style="width:300px;" /><br/> - <em><?php p($l->t('URL (and port) of the Collabora Online test server.')) ?></em><br/> - - <button type="button" id="test_wopi_apply"><?php p($l->t('Apply')) ?></button> - <span id="test-documents-admin-msg" class="msg"></span> - </p> - <input type="checkbox" class="edit-groups-enable" id="edit_groups_enable-richdocuments" /> - <label for="edit_groups_enable-richdocuments"><?php p($l->t('Enable edit for specific groups')) ?></label> - <input type="hidden" id="edit_group_select" value="<?php p($_['edit_groups'])?>" title="<?php p($l->t('All')); ?>" style="width: 200px"> - <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> </div>
\ No newline at end of file diff --git a/templates/documents.php b/templates/documents.php index 33978dc7..ccf29b84 100644 --- a/templates/documents.php +++ b/templates/documents.php @@ -1,10 +1,6 @@ <?php -style( 'richdocuments', 'share' ); style( 'richdocuments', 'style' ); -script('richdocuments', 'share'); script('richdocuments', 'documents'); -script('files', 'file-upload'); -script('files', 'jquery.fileupload'); ?> <div id="documents-content"> <ul class="documentslist"> |