COntinue buttons should break out of frames

This commit is contained in:
moodler
2004-08-07 13:43:01 +00:00
parent 5132e606f1
commit 51a96819cc
+3 -1
View File
@@ -1214,11 +1214,13 @@ function print_heading_with_help($text, $helppage, $module="moodle", $icon="") {
function print_continue($link) {
global $CFG;
if (!$link) {
$link = $_SERVER["HTTP_REFERER"];
}
print_heading("<a href=\"$link\">".get_string("continue")."</a>");
print_heading("<a target=\"{$CFG->framename}\" href=\"$link\">".get_string("continue")."</a>");
}