diff options
Diffstat (limited to 'inc/html.php')
-rw-r--r-- | inc/html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/html.php b/inc/html.php index b9c6138b2..570f12b17 100644 --- a/inc/html.php +++ b/inc/html.php @@ -183,8 +183,8 @@ function html_btn($name,$id,$akey,$params,$method='get',$tooltip=''){ $ret .= '<input type="submit" value="'.htmlspecialchars($label).'" class="button" '; if($akey){ - $tip .= ' [ALT+'.strtoupper($akey).']'; - $ret .= 'accesskey="'.$akey.'" '; + $tip .= ' ['.strtoupper($akey).']'; + $ret .= 'accesskey="'.htmlspecialchars($label).' '.$akey.'" '; } $ret .= 'title="'.$tip.'" '; $ret .= '/>'; |