mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
Merge branch 'MDL-71844' of https://github.com/paulholden/moodle
This commit is contained in:
commit
7b7b42b643
1 changed files with 6 additions and 2 deletions
|
@ -59,10 +59,14 @@ if (!$task) {
|
|||
}
|
||||
|
||||
// Start output.
|
||||
$PAGE->set_url(new moodle_url('/admin/tool/task/schedule_task.php'));
|
||||
$PAGE->set_url(new moodle_url('/admin/tool/task/schedule_task.php', ['task' => $taskname]));
|
||||
$PAGE->set_context($context);
|
||||
$PAGE->navbar->add(get_string('scheduledtasks', 'tool_task'), new moodle_url('/admin/tool/task/scheduledtasks.php'));
|
||||
$PAGE->set_heading($SITE->fullname);
|
||||
$PAGE->set_title($task->get_name());
|
||||
|
||||
navigation_node::override_active_url(new moodle_url('/admin/tool/task/scheduledtasks.php'));
|
||||
$PAGE->navbar->add(s($task->get_name()));
|
||||
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading($task->get_name());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue