From: moodler Date: Sat, 7 Aug 2004 13:43:01 +0000 (+0000) Subject: COntinue buttons should break out of frames X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=51a96819cc153a69082e2535a4288ebc7628f602;p=moodle.git COntinue buttons should break out of frames --- 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").""); }