mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
More tidying up
This commit is contained in:
parent
3515ae35e2
commit
685cf3d6c4
@ -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="'.
|
||||
|
Loading…
x
Reference in New Issue
Block a user