From 51a96819cc153a69082e2535a4288ebc7628f602 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 7 Aug 2004 13:43:01 +0000 Subject: [PATCH] COntinue buttons should break out of frames --- lib/weblib.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/weblib.php b/lib/weblib.php index 7ae00d8cb7..b0bcfa4189 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -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("".get_string("continue").""); + print_heading("framename}\" href=\"$link\">".get_string("continue").""); } -- 2.39.5