summaryrefslogtreecommitdiff
path: root/inc/form.php
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2008-10-12 20:16:38 +0200
committerAnika Henke <anika@selfthinker.org>2008-10-12 20:16:38 +0200
commit07493d0546e04d6abc0c398b7e360139a58891a8 (patch)
treec74ad8eb2a6363320678f3267aff583edc233128 /inc/form.php
parent704fb05441638874171cd9bdb2e3c6dcb0de0823 (diff)
downloadrpg-07493d0546e04d6abc0c398b7e360139a58891a8.tar.gz
rpg-07493d0546e04d6abc0c398b7e360139a58891a8.tar.bz2
removed 'ALT+' from all titles of elements with accesskeys (FS#1172)
darcs-hash:20081012181638-f7d6d-d4614321134f78fc176688d8aaf9d9acccf1952e.gz
Diffstat (limited to 'inc/form.php')
-rw-r--r--inc/form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/form.php b/inc/form.php
index cd72f7b43..767788ea4 100644
--- a/inc/form.php
+++ b/inc/form.php
@@ -350,7 +350,7 @@ function form_makeButton($type, $act, $value='', $attrs=array()) {
$elem = array('_elem'=>'button', 'type'=>$type, '_action'=>$act,
'value'=>$value, 'class'=>'button');
if (!empty($attrs['accesskey']) && empty($attrs['title'])) {
- $attrs['title'] = $value . ' [ALT+'.strtoupper($attrs['accesskey']).']';
+ $attrs['title'] = $value . ' ['.strtoupper($attrs['accesskey']).']';
}
return array_merge($elem, $attrs);
}