corrected typo (superfluous double-quote) when inserting $CFG->frametarget (see MDL-8675)

This commit is contained in:
gbateson
2007-02-28 03:29:29 +00:00
parent 9f60b599b9
commit 083dad4922
+1 -1
View File
@@ -1683,7 +1683,7 @@ class hotpot_xml_quiz extends hotpot_xml_tree {
$replace .= '\\2';
}
if ($form_name) {
$replace = '<form action="'.$CFG->wwwroot.'/mod/hotpot/attempt.php" method="post" name="'.$form_name.'" target="'.$CFG->framename.'">'.$replace.'</form>';
$replace = '<form action="'.$CFG->wwwroot.'/mod/hotpot/attempt.php" method="post" name="'.$form_name.'"'.$CFG->frametarget.'>'.$replace.'</form>';
}
if ($center) {
$replace = '<div style="margin-left:auto; margin-right:auto; text-align: center;">'.$replace.'</div>';