mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 03:16:42 +02:00
55 lines
1.7 KiB
HTML
55 lines
1.7 KiB
HTML
<FORM NAME="form" METHOD="post" ACTION="<?=$ME ?>">
|
|
|
|
<table cellpadding=5>
|
|
|
|
<tr valign=top>
|
|
<td align=right><P><B><? print_string("choicename","choice") ?>:</B></P></TD>
|
|
<td>
|
|
<input type="text" name="name" size=30 value="<? p($form->name) ?>">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign=top>
|
|
<td align=right><P><B><? print_string("choicetext","choice") ?>:</B></P></TD>
|
|
<td>
|
|
<textarea name="text" rows=15 cols=30 wrap="virtual"><? p($form->text) ?></textarea>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign=top>
|
|
<td align=right><P><B><? print_string("choice1","choice") ?>:</B></P></TD>
|
|
<td>
|
|
<input type="text" name="answer1" size=30 value="<?
|
|
if ($form->answer1) {
|
|
p($form->answer1);
|
|
} else {
|
|
print_string("yes");
|
|
} ?>">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign=top>
|
|
<td align=right><P><B><? print_string("choice2","choice") ?>:</B></P></TD>
|
|
<td>
|
|
<input type="text" name="answer2" size=30 value="<?
|
|
if ($form->answer2) {
|
|
p($form->answer2);
|
|
} else {
|
|
print_string("no");
|
|
} ?>">
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<CENTER>
|
|
<input type="hidden" name=course value="<? p($form->course) ?>">
|
|
<input type="hidden" name=coursemodule value="<? p($form->coursemodule) ?>">
|
|
<input type="hidden" name=section value="<? p($form->section) ?>">
|
|
<input type="hidden" name=module value="<? p($form->module) ?>">
|
|
<input type="hidden" name=modulename value="<? p($form->modulename) ?>">
|
|
<input type="hidden" name=instance value="<? p($form->instance) ?>">
|
|
<input type="hidden" name=mode value="<? p($form->mode) ?>">
|
|
<input type="submit" value="<? print_string("savechanges") ?>">
|
|
</CENTER>
|
|
</FORM>
|