diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2013-11-27 00:05:48 +0100 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-11-27 00:05:48 +0100 |
commit | 2d822e3b95c70f2640b2b079bcca3b1be2dc916e (patch) | |
tree | 50558406c6ef7be57d24a495f92bcad47fb8c43b /settings/templates/admin.php | |
parent | 4f15282bc998bb68896b5df67f4f749dd435897d (diff) | |
download | nextcloud-server-2d822e3b95c70f2640b2b079bcca3b1be2dc916e.tar.gz nextcloud-server-2d822e3b95c70f2640b2b079bcca3b1be2dc916e.zip |
add warning for HTTP connection
Diffstat (limited to 'settings/templates/admin.php')
-rw-r--r-- | settings/templates/admin.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 253a7ff5f50..5d170a62f2e 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -15,6 +15,20 @@ $levelLabels = array( <?php +// is ssl working ? +if (!$_['isConnectedViaHTTPS']) { + ?> +<fieldset class="personalblock"> + <h2><?php p($l->t('Security Warning'));?></h2> + + <span class="securitywarning"> + <?php p($l->t('You are accessing %s with HTTP. We strongly suggest to setup and use HTTPS.', $theme->getTitle())); ?> + </span> + +</fieldset> +<?php +} + // is htaccess working ? if (!$_['htaccessworking']) { ?> |