summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-08-04 17:50:30 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-08-04 18:08:04 +0200
commit573177d1768dd69dde94106919a61344f4146794 (patch)
tree8178dafb76c6139dd9bf009ef6980d5c59aab989 /settings/templates
parent4105d17133a372547396c2f4862f98423f5564e0 (diff)
downloadnextcloud-server-573177d1768dd69dde94106919a61344f4146794.tar.gz
nextcloud-server-573177d1768dd69dde94106919a61344f4146794.zip
only add the possibility to import ssl root certificates to the personal
setting if the user can mount external storages
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/personal.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index e7832b85ebd..490133c9f25 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -205,6 +205,7 @@ if($_['passwordChangeSupported']) {
<?php }
};?>
+<?php if($_['showCertificates']) : ?>
<div id="ssl-root-certificates" class="section">
<h2><?php p($l->t('SSL root certificates')); ?></h2>
<table id="sslCertificate" class="grid">
@@ -242,6 +243,7 @@ if($_['passwordChangeSupported']) {
<input type="button" id="rootcert_import_button" value="<?php p($l->t('Import root certificate')); ?>"/>
</form>
</div>
+<?php endif; ?>
<div class="section">
<h2><?php p($l->t('Version'));?></h2>