Added sco frame size

Completed compliance for scorm 1.2
This commit is contained in:
bobopinna 2005-05-09 09:50:37 +00:00
parent b3df3a0d71
commit 5f18d4e79a
10 changed files with 175 additions and 82 deletions

View file

@ -1,8 +1,12 @@
<?php
if (empty($CFG->scorm_frameheight)) {
$CFG->scorm_frameheight = 640;
$CFG->scorm_frameheight = 600;
}
if (empty($CFG->scorm_framewidth)) {
$CFG->scorm_structurewidth = 800;
}
?>
<form method="post" action="module.php" name="form">
<input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>">
@ -26,6 +30,15 @@
<?php print_string("validationtype", "scorm") ?>
</td>
</tr> -->
<tr valign="top">
<td align="right">scorm_framewidth:</td>
<td>
<input type="text" name="scorm_framewidth" value="<?php echo $CFG->scorm_framewidth ?>" size="3" />
</td>
<td>
<?php print_string("framewidth", "scorm") ?>
</td>
</tr>
<tr valign="top">
<td align="right">scorm_frameheight:</td>
<td>