moodle/mod/scorm/config.html
2007-04-20 07:54:42 +00:00

41 lines
1.0 KiB
HTML
Executable File

<?php
if (!isset($CFG->scorm_frameheight)) {
$CFG->scorm_frameheight = '500';
}
if (!isset($CFG->scorm_framewidth)) {
$CFG->scorm_framewidth = '100%';
}
?>
<form method="post" action="module.php" id="form">
<div>
<input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>" />
<table cellpadding="9" cellspacing="0" >
<tr valign="top">
<td align="right">scorm_framewidth:</td>
<td>
<input type="text" name="scorm_framewidth" value="<?php echo $CFG->scorm_framewidth ?>" size="5" />
</td>
<td>
<?php print_string("framewidth", "scorm") ?>
</td>
</tr>
<tr valign="top">
<td align="right">scorm_frameheight:</td>
<td>
<input type="text" name="scorm_frameheight" value="<?php echo $CFG->scorm_frameheight ?>" size="5" />
</td>
<td>
<?php print_string("frameheight", "scorm") ?>
</td>
</tr>
<tr>
<td colspan="3" align="center">
<input type="submit" value="<?php print_string("savechanges") ?>" />
</td>
</tr>
</table>
</div>
</form>