summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-02-08 13:37:57 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-02-08 13:38:50 +0100
commita26e66b232990ad6d767c821dc362e0453af6d62 (patch)
tree06332f784752ca8dd03a398241a6c8b9af752bd5
parent59249ebc0ca3731711ee99d591742164b32d0cdd (diff)
downloadnextcloud-server-a26e66b232990ad6d767c821dc362e0453af6d62.tar.gz
nextcloud-server-a26e66b232990ad6d767c821dc362e0453af6d62.zip
improve and shorten security warning, add link to docs, fix #1342
-rw-r--r--core/css/styles.css1
-rw-r--r--core/templates/installation.php3
2 files changed, 3 insertions, 1 deletions
diff --git a/core/css/styles.css b/core/css/styles.css
index cefab2d49ff..fd74ffc5981 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -210,6 +210,7 @@ fieldset.warning {
border-radius:5px;
}
fieldset.warning legend { color:#b94a48 !important; }
+fieldset.warning a { color:#b94a48 !important; font-weight:bold; }
/* Alternative Logins */
#alternative-logins legend { margin-bottom:10px; }
diff --git a/core/templates/installation.php b/core/templates/installation.php
index f3d232b637e..360be496463 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -29,7 +29,8 @@
<?php if(!$_['htaccessWorking']): ?>
<fieldset class="warning">
<legend><strong><?php echo $l->t('Security Warning');?></strong></legend>
- <span><?php echo $l->t('Your data directory and your files are probably accessible from the internet. The .htaccess file that ownCloud provides is not working. We strongly suggest that you configure your webserver in a way that the data directory is no longer accessible or you move the data directory outside the webserver document root.');?></span>
+ <p><?php echo $l->t('Your data directory and files are probably accessible from the internet because the .htaccess file does not work.');?><br>
+ <?php echo $l->t('For information how to properly configure your server, please see the <a href="http://doc.owncloud.org/server/5.0/admin_manual/installation.html" target="_blank">documentation</a>.');?></p>
</fieldset>
<?php endif; ?>
<fieldset id="adminaccount">