mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Control when cancel has been selected. Inform and finalize.
This commit is contained in:
parent
87d8623181
commit
f2deadb30c
@ -52,6 +52,16 @@
|
||||
exit;
|
||||
}
|
||||
|
||||
//If cancel has been selected, inform and end
|
||||
if ($cancel) {
|
||||
print_header("$site->shortname: $strcourserestore", $site->fullname,
|
||||
"<A HREF=\"$moodle_home/$CFG->admin/index.php\">$stradministration</A> -> $strcourserestore");
|
||||
print_heading(get_string("restorecancelled"));
|
||||
print_continue("$moodle_home/$CFG->admin/index.php");
|
||||
print_footer();
|
||||
exit;
|
||||
}
|
||||
|
||||
//We are here, so me have a file.
|
||||
//Print header
|
||||
print_header("$site->shortname: $strcourserestore", $site->fullname,
|
||||
|
Loading…
x
Reference in New Issue
Block a user