From: toyomoyo Date: Mon, 13 Nov 2006 02:41:50 +0000 (+0000) Subject: fix for MDL-7482, adding alt text for messaging controls X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0ebb4add7993248790cea6d245970fdd2ebaf5d8;p=moodle.git fix for MDL-7482, adding alt text for messaging controls --- diff --git a/message/lib.php b/message/lib.php index 72a9aa612f..3a738fd0cf 100644 --- a/message/lib.php +++ b/message/lib.php @@ -592,7 +592,7 @@ function message_contact_link($userid, $linktype='add', $return=false, $script=" $output = ''. ''. - ''. + ''.$string.''. $text.''; if ($return) { @@ -623,9 +623,9 @@ function message_history_link($userid1, $userid2=0, $returnstr=false, $keywords= } if ($linktext == 'icon') { // Icon only - $fulllink = ''; + $fulllink = ''.$strmessagehistory.''; } else if ($linktext == 'both') { // Icon and standard name - $fulllink = ''; + $fulllink = ''.$strmessagehistory.''; $fulllink .= ' '.$strmessagehistory; } else if ($linktext) { // Custom name $fulllink = $linktext;