From: nfreear Date: Thu, 16 Mar 2006 11:13:21 +0000 (+0000) Subject: Accessibility: do NOT change, fixed call to trim in function, helpbutton (OU-Bugz... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=eab1f9aebdd801784550f4767726c26a19360f50;p=moodle.git Accessibility: do NOT change, fixed call to trim in function, helpbutton (OU-Bugz: 752) --- diff --git a/lib/weblib.php b/lib/weblib.php index ada6f82e58..bf36dd9f69 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -4045,8 +4045,9 @@ function helpbutton ($page, $title='', $module='moodle', $image=true, $linktext= $linkobject = ''; - //Accessibility: prefix the alt text/title with 'Help:' - $tooltip = get_string('helpprefix', '', trim($title)); + //Accessibility: prefix the alt text/title with 'Help with', strip distracting dots '...' + // PLEASE DO NOT CHANGE. ('...' is VERY distracting for non-visual users) + $tooltip = get_string('helpprefix', '', trim($title, ". \t")); if ($image) { if ($imagetext == '') {