Permalink
Browse files

changed rss image's alt text to title text since this image has no re…

…al obvious alt value, refer to http://moodle.org/mod/forum/discuss.php?d=16528
  • Loading branch information...
1 parent adfc03f commit 86944f037e0e7f98b7d96ee358ed058c7d1d9db0 dhawes committed Feb 14, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 blocks/rss_client/block_rss_client.php
@@ -174,7 +174,7 @@ function get_rss_by_id($rssid, $display_description, $shownumentries, $showtitle
isset($this->config->block_rss_client_show_channel_image) &&
$this->config->block_rss_client_show_channel_image &&
isset($rss->image) && isset($rss->image['link']) && isset($rss->image['title']) && isset($rss->image['url']) ) {
- $returnstring .= '<div class="rssclientimage"><a href="'. $rss->image['link'] .'"><img src="'. $rss->image['url'] .'" alt="'. $rss->image['title'] .'"/></a></div><br />';
+ $returnstring .= '<div class="rssclientimage"><a href="'. $rss->image['link'] .'"><img src="'. $rss->image['url'] .'" title="'. $rss->image['title'] .'" alt=""/></a></div><br />';
}
if ($showtitle) {

0 comments on commit 86944f0

Please sign in to comment.