More tidying up

This commit is contained in:
ikawhero 2006-03-10 09:16:11 +00:00
parent 3515ae35e2
commit 685cf3d6c4

View File

@ -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="'.