diff --git a/mod/hotpot/lib.php b/mod/hotpot/lib.php index 2b02b0da941..a2379d2d38b 100644 --- a/mod/hotpot/lib.php +++ b/mod/hotpot/lib.php @@ -1781,7 +1781,7 @@ class hotpot_xml_quiz extends hotpot_xml_tree { $script = ''."\n"; $this->html = preg_replace('||i', $script.'', $this->html, 1); } - function insert_submission_form($attemptid, $startblock, $endblock, $keep_contents=false) { + function insert_submission_form($attemptid, $startblock, $endblock, $keep_contents=false, $targetframe='') { $form_name = 'store'; $form_fields = '' . '' @@ -1791,7 +1791,7 @@ class hotpot_xml_quiz extends hotpot_xml_tree { . '' . '' ; - $this->insert_form($startblock, $endblock, $form_name, $form_fields, $keep_contents); + $this->insert_form($startblock, $endblock, $form_name, $form_fields, $keep_contents, false, $targetframe); } function insert_giveup_form($attemptid, $startblock, $endblock, $keep_contents=false) { $form_name = ''; // no
'; + $replace = ''; } if ($center) { $replace = '