mirror of
https://github.com/moodle/moodle.git
synced 2025-02-19 15:45:59 +01:00
59 lines
1.6 KiB
HTML
Executable File
59 lines
1.6 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" name="form">
|
|
<input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>">
|
|
|
|
<table cellpadding="9" cellspacing="0" >
|
|
<!--<tr valign="top">
|
|
<td align="right">scorm_validate:</td>
|
|
<td>
|
|
<?php
|
|
unset($choices);
|
|
$choices[""] = get_string("none");
|
|
if (extension_loaded('domxml')) {
|
|
$choices["domxml"] = get_string("domxml","scorm");
|
|
}
|
|
if (version_compare(phpversion(),"5.0.0",">=")) {
|
|
$choices["php5"] = get_string("php5","scorm");
|
|
}
|
|
choose_from_menu ($choices, "scorm_validate", $CFG->scorm_validate, "");
|
|
?>
|
|
</td>
|
|
<td>
|
|
<?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="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>
|
|
|
|
</form>
|