mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +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
|
@ -42,7 +42,7 @@ function rss_get_link($courseid, $userid, $modulename, $id, $tooltiptext='') {
|
|||
}
|
||||
|
||||
$rsspath = rss_get_url($courseid, $userid, $modulename, $id);
|
||||
$rsspix = $OUTPUT->old_icon_url('i/rss');
|
||||
$rsspix = $OUTPUT->pix_url('i/rss');
|
||||
|
||||
return '<a href="'. $rsspath .'"><img src="'. $rsspix .'" title="'. strip_tags($tooltiptext) .'" alt="'.get_string('rss').'" /></a>';
|
||||
|
||||
|
@ -214,7 +214,7 @@ function rss_standard_header($title = NULL, $link = NULL, $description = NULL) {
|
|||
*/
|
||||
|
||||
//write image info
|
||||
$rsspix = $OUTPUT->old_icon_url('i/rsssitelogo');
|
||||
$rsspix = $OUTPUT->pix_url('i/rsssitelogo');
|
||||
|
||||
//write the info
|
||||
$result .= rss_start_tag('image', 2, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue