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
|
@ -241,9 +241,9 @@ abstract class question_bank_column_base {
|
|||
protected function get_sort_icon($reverse) {
|
||||
global $OUTPUT;
|
||||
if ($reverse) {
|
||||
return ' <img src="' . $OUTPUT->old_icon_url('t/up') . '" alt="' . get_string('desc') . '" />';
|
||||
return ' <img src="' . $OUTPUT->pix_url('t/up') . '" alt="' . get_string('desc') . '" />';
|
||||
} else {
|
||||
return ' <img src="' . $OUTPUT->old_icon_url('t/down') . '" alt="' . get_string('asc') . '" />';
|
||||
return ' <img src="' . $OUTPUT->pix_url('t/down') . '" alt="' . get_string('asc') . '" />';
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -578,7 +578,7 @@ abstract class question_bank_action_column_base extends question_bank_column_bas
|
|||
protected function print_icon($icon, $title, $url) {
|
||||
global $OUTPUT;
|
||||
echo '<a title="' . $title . '" href="' . $url . '">
|
||||
<img src="' . $OUTPUT->old_icon_url($icon) . '" class="iconsmall" alt="' . $title . '" /></a>';
|
||||
<img src="' . $OUTPUT->pix_url($icon) . '" class="iconsmall" alt="' . $title . '" /></a>';
|
||||
}
|
||||
|
||||
public function get_required_fields() {
|
||||
|
@ -627,7 +627,7 @@ class question_bank_preview_action_column extends question_bank_action_column_ba
|
|||
if (question_has_capability_on($question, 'use')) {
|
||||
parse_str(QUESTION_PREVIEW_POPUP_OPTIONS, $options);
|
||||
$image = new html_image();
|
||||
$image->src = $OUTPUT->old_icon_url('t/preview');
|
||||
$image->src = $OUTPUT->pix_url('t/preview');
|
||||
$image->add_class('iconsmall');
|
||||
$image->alt = $this->strpreview;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue