summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorBen Coburn <btcoburn@silicodon.net>2006-04-28 03:51:58 +0200
committerBen Coburn <btcoburn@silicodon.net>2006-04-28 03:51:58 +0200
commitb1112787e60be712d508e80baaf0d6f9a861f0ac (patch)
tree8bcd2701fc510a6b2cd29d701ed678cc804c8add /inc
parent73ca7c9c18c7cdc9f38624ade2027d000a7d5372 (diff)
downloadrpg-b1112787e60be712d508e80baaf0d6f9a861f0ac.tar.gz
rpg-b1112787e60be712d508e80baaf0d6f9a861f0ac.tar.bz2
accesskey tooltip rewriting
Does client-side rewriting of accesskey tooltip text so that it will be more OS and browser specific. Dokuwiki should output all accesskey tooltips as [ALT+<key>] because this patch matches on "[ALT+". darcs-hash:20060428015158-05dcb-0102a1b2068c053e81dd21ad3927c78b6c9f349e.gz
Diffstat (limited to 'inc')
-rw-r--r--inc/html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index 908849d2b..6d0b7e116 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -248,7 +248,7 @@ function html_btn($name,$id,$akey,$params,$method='get'){
$ret .= '<input type="submit" value="'.htmlspecialchars($label).'" class="button" ';
if($akey){
- $ret .= 'title="ALT+'.strtoupper($akey).'" ';
+ $ret .= 'title="[ALT+'.strtoupper($akey).']" ';
$ret .= 'accesskey="'.$akey.'" ';
}
$ret .= '/>';