MDL-36110 - Blocks - Community finder icon alt attribute is now empty

This commit is contained in:
Jason Fowler 2012-12-04 15:15:22 +08:00
parent 03953061ca
commit 7245acb222

View File

@ -69,7 +69,7 @@ class block_community extends block_list {
} }
$icon = html_writer::empty_tag('img', array('src' => $OUTPUT->pix_url('i/group'), $icon = html_writer::empty_tag('img', array('src' => $OUTPUT->pix_url('i/group'),
'class' => 'icon', 'alt' => get_string('addcourse', 'block_community'))); 'class' => 'icon', 'alt' => ""));
$addcourseurl = new moodle_url('/blocks/community/communitycourse.php', $addcourseurl = new moodle_url('/blocks/community/communitycourse.php',
array('add' => true, 'courseid' => $this->page->course->id)); array('add' => true, 'courseid' => $this->page->course->id));
$searchlink = html_writer::tag('a', $icon . get_string('addcourse', 'block_community'), $searchlink = html_writer::tag('a', $icon . get_string('addcourse', 'block_community'),