$output = '<span class="'.$linktype.'">'.
'<a href="'.$script.'&'.$command.'='.$userid.
'&sesskey='.sesskey().'" title="'.$string.'">'.
- '<img src="'.$CFG->pixpath.$icon.'" height="11" width="11" border="0">'.
+ '<img src="'.$CFG->pixpath.$icon.'" height="11" width="11" border="0" alt="'.$string.'">'.
$text.'</a></span>';
if ($return) {
}
if ($linktext == 'icon') { // Icon only
- $fulllink = '<img src="'.$CFG->pixpath.'/t/log.gif" height="11" width="11" border="0">';
+ $fulllink = '<img src="'.$CFG->pixpath.'/t/log.gif" height="11" width="11" border="0" alt="'.$strmessagehistory.'">';
} else if ($linktext == 'both') { // Icon and standard name
- $fulllink = '<img src="'.$CFG->pixpath.'/t/log.gif" height="11" width="11" border="0">';
+ $fulllink = '<img src="'.$CFG->pixpath.'/t/log.gif" height="11" width="11" border="0" alt="'.$strmessagehistory.'">';
$fulllink .= ' '.$strmessagehistory;
} else if ($linktext) { // Custom name
$fulllink = $linktext;