mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
MDL-20787 final switch to new $OUTPUT->pix_url() - yay!
This commit is contained in:
parent
cb1e046d6e
commit
b5d0cafc6f
157 changed files with 576 additions and 576 deletions
|
@ -345,7 +345,7 @@
|
|||
if ($listing->doctype == 'user'){ // A special handle for users
|
||||
$icon = $OUTPUT->user_picture(moodle_user_picture($listing->userid, 0));
|
||||
} else {
|
||||
$iconpath = $OUTPUT->old_icon_url('icon', $listing->doctype);
|
||||
$iconpath = $OUTPUT->pix_url('icon', $listing->doctype);
|
||||
$icon = "<img align=\"top\" src=\"".$iconpath."\" class=\"activityicon\" alt=\"\"/>";
|
||||
}
|
||||
$coursename = $DB->get_field('course', 'fullname', array('id' => $listing->courseid));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue