Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-06-04 11:41:08 +0300
committerJoas Schilling <coding@schilljs.com>2020-06-04 11:41:08 +0300
commit7dcb1cdb42fda87d87bd2a0af28ee4a957840ad9 (patch)
tree070e03187cdf89131bab7d91a5f374a8e0ec2fcb /apps/settings/templates
parent7ef10b2f4851c987029c9fe05062272eebbf9e1b (diff)
Remove controller and routes which have no UI component anyway
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/settings/templates')
-rw-r--r--apps/settings/templates/certificates.php44
1 files changed, 0 insertions, 44 deletions
diff --git a/apps/settings/templates/certificates.php b/apps/settings/templates/certificates.php
deleted file mode 100644
index d9587f97946..00000000000
--- a/apps/settings/templates/certificates.php
+++ /dev/null
@@ -1,44 +0,0 @@
-<div class="section">
- <h2 data-anchor-name="ssl-root-certificate"><?php p($l->t('SSL Root Certificates')); ?></h2>
- <table id="sslCertificate" class="grid" data-type="<?php p($_['type']); ?>">
- <thead>
- <tr>
- <th><?php p($l->t('Common Name')); ?></th>
- <th><?php p($l->t('Valid until')); ?></th>
- <th><?php p($l->t('Issued By')); ?></th>
- </tr>
- </thead>
- <tbody>
- <?php foreach ($_['certs'] as $rootCert): /**@var \OCP\ICertificate $rootCert */ ?>
- <tr class="<?php echo $rootCert->isExpired() ? 'expired' : 'valid' ?>"
- data-name="<?php p($rootCert->getName()) ?>">
- <td class="rootCert"
- title="<?php p($rootCert->getOrganization()) ?>">
- <?php p($rootCert->getCommonName()) ?>
- </td>
- <td title="<?php p($l->t('Valid until %s', $l->l('date', $rootCert->getExpireDate()))) ?>">
- <?php echo $l->l('date', $rootCert->getExpireDate()) ?>
- </td>
- <td title="<?php p($rootCert->getIssuerOrganization()) ?>">
- <?php p($rootCert->getIssuerName()) ?>
- </td>
- <td <?php if ($rootCert != ''): ?>class="remove"
- <?php else: ?>style="visibility:hidden;"
- <?php endif; ?>><img alt="<?php p($l->t('Delete')); ?>"
- title="<?php p($l->t('Delete')); ?>"
- class="action"
- src="<?php print_unescaped(image_path('core', 'actions/delete.svg')); ?>"/>
- </td>
- </tr>
- <?php endforeach; ?>
- </tbody>
- </table>
- <form class="uploadButton" method="post"
- action="<?php p($_['urlGenerator']->linkToRoute($_['uploadRoute'])); ?>"
- target="certUploadFrame">
- <label for="rootcert_import" class="inlineblock button"
- id="rootcert_import_button"><?php p($l->t('Import root certificate')); ?></label>
- <input type="file" id="rootcert_import" name="rootcert_import"
- class="hiddenuploadfield">
- </form>
-</div>