Skip to content
Snippets Groups Projects
Commit ca44c299 authored by Alexander Bias's avatar Alexander Bias
Browse files

Activity icons should be rendered with image_icon() and not with pix_icon anymore

parent 4a48a4a0
Branches
Tags
No related merge requests found
......@@ -6,6 +6,7 @@ Changes
### Unreleased
* 2018-03-06 - Activity icons should be rendered with image_icon() and not with pix_icon anymore.
* 2018-03-06 - pix_url() is deprecated in Moodle 3.3, change to pix_icon() and fontawesome icons.
* 2017-12-12 - Prepare compatibility for Moodle 3.3, no functionality change.
......
......@@ -1323,7 +1323,7 @@ class block_course_overview_campus extends block_base {
foreach ($coursenews[$c->id] as $modname => $html) {
echo '<div class="coc-module">';
// Output activity icon.
echo $OUTPUT->pix_icon('icon', $modname, 'mod_'.$modname, array('class' => 'iconlarge activityicon'));
echo $OUTPUT->image_icon('icon', $modname, 'mod_'.$modname, array('class' => 'iconlarge activityicon'));
// Output activity introduction string.
if (get_string_manager()->string_exists("activityoverview", $modname)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment