summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2011-02-06 14:29:36 +0000
committerAnika Henke <anika@selfthinker.org>2011-02-06 14:29:36 +0000
commitb2f0ffd06a0582bf1b3307f940643c32dd3be4bc (patch)
treed48d80c6db63f3184b5ea14f11a803e61c82ed2d /inc/html.php
parentdd47a3146c007e5609ac18a5d6db1f5271d1273a (diff)
downloadrpg-b2f0ffd06a0582bf1b3307f940643c32dd3be4bc.tar.gz
rpg-b2f0ffd06a0582bf1b3307f940643c32dd3be4bc.tar.bz2
improved data security check on admin
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/html.php b/inc/html.php
index 4d5d557af..3afa4862f 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1440,10 +1440,10 @@ function html_admin(){
}
// data security check
- echo '<a style="background: transparent url(data/security.png) left top no-repeat;
- display: block; width:380px; height:73px; border:none; float:right"
- target="_blank"
- href="http://www.dokuwiki.org/security#web_access_security"></a>';
+ // @todo: could be checked and only displayed if $conf['savedir'] is under the web root
+ echo '<a style="border:none; float:right;" target="_blank"
+ href="http://www.dokuwiki.org/security#web_access_security">
+ <img src="data/security.png" alt="Broken image? Everything\'s alright!" /></a>';
print p_locale_xhtml('admin');