</div>
</div>
</td>
- <td align="center" width="100%">';
+ <td align="center" width="100%">
<a name="maincontent" id="maincontent" title="<?php print_string('anchortitle', 'lesson') ?>"></a>
<?php
} // End if($firstpageid = get...
</script>
</td>
</tr>
- </table>";
+ </table>
<?php print_simple_box_end(); ?>
<br /><br /><br /><br />
<?php } //end if($lesson->timed) {
<td><?php echo $feedback ?></td>
</tr>
</table>
+
<form name="pageform" method ="post" action="view.php">
<input type="hidden" name="id" value="<?php echo $cm->id ?>" />
<input type="hidden" name="action" value="navigation" />
}
$options = new stdClass;
$options->noclean = true;
- $options->para = false;
- $feedback = format_text($page->contents, FORMAT_MOODLE, $options);
+ $options->para = true;
+ $feedback = print_simple_box(format_text($page->contents, FORMAT_MOODLE, $options), 'center', '', '', 5, 'generalbox', '', true);
$feedback .= '<em>'.get_string("youranswer", "lesson").'</em> : '.format_text($studentanswer, FORMAT_MOODLE, $options).
"<div class=\"$class\">".format_text($response, FORMAT_MOODLE, $options).'</div>';
}