mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-36110 - Blocks - Community finder icon alt attribute is now empty
This commit is contained in:
parent
99584654ce
commit
e0971d8b42
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue