Merge branch 'MDL-83204-404' of https://github.com/roland04/moodle into MOODLE_404_STABLE

This commit is contained in:
Huong Nguyen
2024-09-23 11:12:45 +07:00
2 changed files with 7 additions and 2 deletions
+3 -1
View File
@@ -76,7 +76,9 @@ class hook_callbacks {
return;
}
$hook->add_html(
html_writer::link($url, get_string('getmoodleonyourmobile', 'tool_mobile'), ['class' => 'mobilelink']),
html_writer::div(
html_writer::link($url, get_string('getmoodleonyourmobile', 'tool_mobile'), ['class' => 'mobilelink']),
),
);
}
+4 -1
View File
@@ -79,7 +79,10 @@ class hook_callbacks {
if (!empty($policies)) {
$url = new moodle_url('/admin/tool/policy/viewall.php', ['returnurl' => $PAGE->url]);
$hook->add_html(
html_writer::link($url, get_string('userpolicysettings', 'tool_policy'), ['class' => 'policiesfooter']),
html_writer::div(
html_writer::link($url, get_string('userpolicysettings', 'tool_policy')),
'policiesfooter',
),
);
}
}