diff options
author | Anika Henke <anika@selfthinker.org> | 2011-02-06 14:29:36 +0000 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2011-02-06 14:29:36 +0000 |
commit | b2f0ffd06a0582bf1b3307f940643c32dd3be4bc (patch) | |
tree | d48d80c6db63f3184b5ea14f11a803e61c82ed2d | |
parent | dd47a3146c007e5609ac18a5d6db1f5271d1273a (diff) | |
download | rpg-b2f0ffd06a0582bf1b3307f940643c32dd3be4bc.tar.gz rpg-b2f0ffd06a0582bf1b3307f940643c32dd3be4bc.tar.bz2 |
improved data security check on admin
-rw-r--r-- | inc/html.php | 8 |
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'); |