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
|
@ -1016,7 +1016,7 @@ class default_questiontype {
|
|||
} else {
|
||||
$img = 'i/unflagged';
|
||||
}
|
||||
return '<img ' . $id . 'src="' . $OUTPUT->old_icon_url($img) .
|
||||
return '<img ' . $id . 'src="' . $OUTPUT->pix_url($img) .
|
||||
'" alt="' . get_string('flagthisquestion', 'question') . '" />';
|
||||
}
|
||||
|
||||
|
@ -1050,7 +1050,7 @@ class default_questiontype {
|
|||
|
||||
/// Work out the contents of the link.
|
||||
$stredit = get_string('edit');
|
||||
$linktext = '<img src="' . $OUTPUT->old_icon_url('t/edit') . '" alt="' . $stredit . '" />';
|
||||
$linktext = '<img src="' . $OUTPUT->pix_url('t/edit') . '" alt="' . $stredit . '" />';
|
||||
|
||||
if (!empty($cmoptions->thispageurl)) {
|
||||
/// The module allow editing in the same window, print an ordinary link.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue