summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2011-02-06 18:11:50 +0100
committerAndreas Gohr <andi@splitbrain.org>2011-02-06 18:11:50 +0100
commite8188911ccbdab0473f7deef630d2083fd8fe44a (patch)
tree84b34746ab48b0e577e6b4387c722a32b228d88a /inc/html.php
parent7441e340554a7a982047997cf61f72adaefacc99 (diff)
downloadrpg-e8188911ccbdab0473f7deef630d2083fd8fe44a.tar.gz
rpg-e8188911ccbdab0473f7deef630d2083fd8fe44a.tar.bz2
hide security check image if everything is alright
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index 3afa4862f..c91888494 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1443,7 +1443,8 @@ function html_admin(){
// @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>';
+ <img src="data/security.png" alt="Your data directory seems to be protected properly."
+ onerror="this.parentNode.style.display=\'none\'" /></a>';
print p_locale_xhtml('admin');