mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-36110 - Blocks - Community finder icon alt attribute is now empty
This commit is contained in:
parent
03953061ca
commit
7245acb222
@ -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'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user