mirror of
https://github.com/moodle/moodle.git
synced 2025-02-09 17:41:52 +01:00
76 lines
2.8 KiB
HTML
Executable File
76 lines
2.8 KiB
HTML
Executable File
<?php
|
|
if (empty($form->name)) {
|
|
$form->name = "";
|
|
}
|
|
if (empty($form->reference)) {
|
|
$form->reference = "";
|
|
}
|
|
if (empty($form->summary)) {
|
|
$form->summary = "";
|
|
}
|
|
if (empty($form->launch)) {
|
|
$form->launch = "";
|
|
}
|
|
?>
|
|
|
|
|
|
<form name="form" method="post" action="<?php echo $CFG->wwwroot ?>/mod/scorm/details.php">
|
|
<table cellpadding="5">
|
|
<tr valign="top">
|
|
<td align="right"><p><b><?php print_string("name") ?>:</b></p></td>
|
|
<td>
|
|
<input type="text" name="name" size="50" value="<?php p($form->name) ?>" />
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
$strfilename = get_string("coursepacket", "scorm");
|
|
$strchooseafile = get_string("chooseapacket", "scorm");
|
|
?>
|
|
<tr valign="top">
|
|
<td align="right" nowrap="nowrap">
|
|
<p><b><?php echo $strfilename?>:</b></p>
|
|
</td>
|
|
<td>
|
|
<?php
|
|
echo "<input name=\"reference\" size=\"50\" value=\"$form->reference\" /> ";
|
|
button_to_popup_window ("/files/index.php?id=$course->id&choose=form.reference",
|
|
"coursefiles", $strchooseafile, 500, 750, $strchooseafile);
|
|
?>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td align="right"><p><b><?php print_string("summary") ?>:</b></p>
|
|
<font size="1">
|
|
<?php
|
|
helpbutton("summary", get_string("summary"), "scorm", true, true);
|
|
echo "<br />";
|
|
helpbutton("writing", get_string("helpwriting"), "moodle", true, true);
|
|
echo "<br />";
|
|
helpbutton("text", get_string("helptext"), "moodle", true, true);
|
|
?>
|
|
</font>
|
|
</td>
|
|
<td>
|
|
<?php print_textarea($usehtmleditor, 20, 50, 680, 400, "summary", $form->summary); ?>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="hidden" name="course" value="<?php p($form->course) ?>" />
|
|
<input type="hidden" name="coursemodule" value="<?php p($form->coursemodule) ?>" />
|
|
<input type="hidden" name="datadir" value="<?php p($form->datadir) ?>" />
|
|
<input type="hidden" name="launch" value="<?php p($form->launch) ?>" />
|
|
<input type="hidden" name="popup" value="<?php p($form->popup) ?>" />
|
|
<input type="hidden" name="auto" value="<?php p($form->auto) ?>" />
|
|
<input type="hidden" name="maxgrade" value="<?php p($form->maxgrade) ?>" />
|
|
<input type="hidden" name="grademethod" value="<?php p($form->grademethod) ?>" />
|
|
<input type="hidden" name="section" value="<?php p($form->section) ?>" />
|
|
<input type="hidden" name="module" value="<?php p($form->module) ?>" />
|
|
<input type="hidden" name="modulename" value="<?php p($form->modulename) ?>" />
|
|
<input type="hidden" name="instance" value="<?php p($form->instance) ?>" />
|
|
<input type="hidden" name="mode" value="<?php p($form->mode) ?>" />
|
|
<input type="hidden" name="destination" value="<?php echo $ME ?>" />
|
|
<center>
|
|
<input type="submit" value="<?php print_string("continue") ?>" />
|
|
</center>
|
|
</form>
|