Skip to content

Commit

Permalink
More tidying up
Browse files Browse the repository at this point in the history
  • Loading branch information
ikawhero committed Mar 10, 2006
1 parent 3515ae3 commit 685cf3d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/weblib.php
Expand Up @@ -3965,8 +3965,9 @@ function helpbutton ($page, $title='', $module='moodle', $image=true, $linktext=

$linkobject = '<span class="helplink">';

//Accessibility: prefix the alt text/title with 'Help with', strip distracting dots '...'
$tooltip = get_string('helpprefix', '', trim($title,' \t.'));
//Accessibility: prefix the alt text/title with 'Help:'
$tooltip = get_string('helpprefix', '', trim($title));

if ($image) {
if ($imagetext == '') {
$imagetext = '<img alt="'.$tooltip.'" src="'.
Expand Down

0 comments on commit 685cf3d

Please sign in to comment.