improve and shorten security warning, add link to docs, fix #1342

This commit is contained in:
Jan-Christoph Borchardt 2013-02-08 13:37:57 +01:00
parent 59249ebc0c
commit a26e66b232
2 changed files with 3 additions and 1 deletions

View File

@ -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; }

View File

@ -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">