summaryrefslogtreecommitdiffstats
path: root/apps/files_external/templates
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-12-15 20:02:16 +0100
committerFrank Karlitschek <frank@owncloud.org>2012-12-15 20:02:16 +0100
commit30b0e8b70c7f3fd4e3357cc25e6e84554ea21b22 (patch)
tree4359177cb4c93831714c92bdb78cf8f00ac55b1d /apps/files_external/templates
parent6ff38624a717316d7992c81db6d4dbf8f5d86f3a (diff)
downloadnextcloud-server-30b0e8b70c7f3fd4e3357cc25e6e84554ea21b22.tar.gz
nextcloud-server-30b0e8b70c7f3fd4e3357cc25e6e84554ea21b22.zip
cleaning up the settings. standardize the format, add missing I10N and other small things. Yes. This is not perfect. But way better than before ;-)
Diffstat (limited to 'apps/files_external/templates')
-rw-r--r--apps/files_external/templates/settings.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php
index 50f4a16a5ab..dd537d779a6 100644
--- a/apps/files_external/templates/settings.php
+++ b/apps/files_external/templates/settings.php
@@ -127,19 +127,14 @@
</fieldset>
</form>
+<?php if ( ! $_['isAdminPage']): ?>
<form id="files_external"
method="post"
enctype="multipart/form-data"
action="<?php echo OCP\Util::linkTo('files_external', 'ajax/addRootCertificate.php'); ?>">
<fieldset class="personalblock">
-<?php if ( ! $_['isAdminPage']): ?>
+ <legend><strong><?php echo $l->t('SSL root certificates');?></strong></legend>
<table id="sslCertificate" data-admin='<?php echo json_encode($_['isAdminPage']); ?>'>
- <thead>
- <tr>
- <th><?php echo $l->t('SSL root certificates'); ?></th>
- <th>&nbsp;</th>
- </tr>
- </thead>
<tbody width="100%">
<?php foreach ($_['certs'] as $rootCert): ?>
<tr id="<?php echo $rootCert ?>">
@@ -156,6 +151,6 @@
</table>
<input type="file" id="rootcert_import" name="rootcert_import" style="width:230px;">
<input type="submit" name="cert_import" value="<?php echo $l->t('Import Root Certificate'); ?>" />
- <?php endif; ?>
</fieldset>
</form>
+<?php endif; ?>