2 if (empty($form->name
)) {
5 if (empty($form->reference
)) {
8 if (empty($form->summary
)) {
11 if (empty($form->launch
)) {
17 <form name=
"form" method=
"post" action=
"<?php echo $CFG->wwwroot ?>/mod/scorm/details.php">
20 <td align
=right
><p
><b
><?php
print_string("name") ?>:
</b></p></td>
22 <input type=
"text" name=
"name" size=
50 value=
"<?php p($form->name) ?>">
26 $strfilename = get_string("coursepacket", "scorm");
27 $strchooseafile = get_string("chooseapacket", "scorm");
30 <td align=
"right" nowrap
>
31 <p><b><?php echo $strfilename?>:
</b></p>
35 echo "<input name=\"reference\" size=\"50\" value=\"$form->reference\"> ";
36 button_to_popup_window ("/files/index.php?id=$course->id&choose=form.reference",
37 "coursefiles", $strchooseafile, 500, 750, $strchooseafile);
42 <td align=right
><p><b><?php print_string("summary") ?>:
</b></p>
45 helpbutton("summary", get_string("summary"), "scorm", true, true);
47 helpbutton("writing", get_string("helpwriting"), "moodle", true, true);
49 helpbutton("text", get_string("helptext"), "moodle", true, true);
54 <?php print_textarea($usehtmleditor, 20, 50, 680, 400, "summary", $form->summary
); ?>
58 <input type=
"hidden" name=course
value=
"<?php p($form->course) ?>">
59 <input type
="hidden" name
=coursemodule value
="<?php p($form->coursemodule) ?>">
60 <input type
="hidden" name
=datadir value
="<?php p($form->datadir) ?>">
61 <input type
="hidden" name
=launch value
="<?php p($form->launch) ?>">
62 <input type
="hidden" name
=popup value
="<?php p($form->popup) ?>">
63 <input type
="hidden" name
=auto value
="<?php p($form->auto) ?>">
64 <input type
="hidden" name
="maxgrade" value
="<?php p($form->maxgrade) ?>" />
65 <input type
="hidden" name
="grademethod" value
="<?php p($form->grademethod) ?>" />
66 <input type
="hidden" name
=section value
="<?php p($form->section) ?>">
67 <input type
="hidden" name
=module value
="<?php p($form->module) ?>">
68 <input type
="hidden" name
=modulename value
="<?php p($form->modulename) ?>">
69 <input type
="hidden" name
=instance value
="<?php p($form->instance) ?>">
70 <input type
="hidden" name
=mode value
="<?php p($form->mode) ?>">
71 <input type
="hidden" name
=destination value
="<?php echo $ME ?>">
73 <input type
="submit" value
="<?php print_string("continue") ?>">