Merge branch 'MDL-82867-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE

This commit is contained in:
Huong Nguyen
2025-11-13 08:44:42 +07:00
2 changed files with 3 additions and 4 deletions
@@ -392,11 +392,11 @@ class exifremover_service extends service implements file_redactor_service_inter
}
}
$icon = $OUTPUT->pix_icon('i/externallink', get_string('opensinnewwindow'));
$icon = $OUTPUT->pix_icon('i/externallink', get_string('opensinnewwindow'), attributes: ['class' => 'ms-1']);
$a = (object) [
'link' => html_writer::link(
url: 'https://exiftool.sourceforge.net/install.html',
text: "https://exiftool.sourceforge.net/install.html $icon",
text: 'https://exiftool.sourceforge.net/install.html' . $icon,
attributes: ['role' => 'opener', 'rel' => 'noreferrer', 'target' => '_blank'],
),
];
+1 -2
View File
@@ -1941,8 +1941,7 @@ class core_renderer extends renderer_base {
$newwindowicon = $this->pix_icon(
'i/externallink',
get_string('opensinnewwindow'),
'moodle',
['class' => 'fa fa-externallink fa-fw']
attributes: ['class' => 'ms-1'],
);
}