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
|
@ -24,7 +24,7 @@ class block_course_list extends block_list {
|
|||
$this->content->icons = array();
|
||||
$this->content->footer = '';
|
||||
|
||||
$icon = "<img src=\"" . $OUTPUT->old_icon_url('i/course') . "\"".
|
||||
$icon = "<img src=\"" . $OUTPUT->pix_url('i/course') . "\"".
|
||||
" class=\"icon\" alt=\"".get_string("coursecategory")."\" />";
|
||||
|
||||
$adminseesall = true;
|
||||
|
@ -116,7 +116,7 @@ class block_course_list extends block_list {
|
|||
return;
|
||||
}
|
||||
|
||||
$icon = '<img src="'.$OUTPUT->old_icon_url('i/mnethost') . '" class="icon" alt="'.get_string('course').'" />';
|
||||
$icon = '<img src="'.$OUTPUT->pix_url('i/mnethost') . '" class="icon" alt="'.get_string('course').'" />';
|
||||
|
||||
// only for logged in users!
|
||||
if (!isloggedin() || isguestuser()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue