]> source.dussan.org Git - nextcloud-server.git/commitdiff
improve and shorten security warning, add link to docs, fix #1342
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Fri, 8 Feb 2013 12:37:57 +0000 (13:37 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Fri, 8 Feb 2013 12:38:50 +0000 (13:38 +0100)
core/css/styles.css
core/templates/installation.php

index cefab2d49ff39af12451e9016bbfce9c405565c4..fd74ffc5981cfc440a80e1e01faa5aabf35a9016 100644 (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; }
index f3d232b637e6e6d44f32684919f6791a4379b057..360be496463391c6a10a86e748744e104e986be8 100644 (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">