mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
The quiz module now can handle adaptive questions and can render remote questions via RQP web services.
26 lines
627 B
PHP
26 lines
627 B
PHP
<?php defined('MOODLE_INTERNAL') or die('Direct access to this script is forbidden.');?>
|
|
|
|
<div align="center">
|
|
<?php
|
|
if (!empty($popup)) {
|
|
?>
|
|
|
|
<script language="javascript" type="text/javascript">
|
|
<!--
|
|
|
|
document.write('<input type="button" value="<?php print_string('closewindow') ?>" '+
|
|
'onclick="javascript: window.opener.location.href=\'view.php?id=<?php echo $cm->id ?>\'; '+
|
|
'window.close();" />');
|
|
// -->
|
|
</script>
|
|
<noscript>
|
|
<?php print_string('closewindow'); ?>
|
|
</noscript>
|
|
|
|
<?php
|
|
} else {
|
|
print_single_button("view.php", array( 'id' => $cm->id ), get_string('continue'));
|
|
}
|
|
?>
|
|
</div>
|