forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
editsection.html
28 lines (26 loc) · 985 Bytes
/
editsection.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<form id="theform" method="post" action="editsection.php">
<table summary="Summary of week" cellpadding="5" class="boxaligncenter">
<tr valign="top">
<td align="right"><p><b><?php print_string("summary") ?>:</b></p>
<br />
<?php helpbutton("summaries", get_string("helpsummaries"), "moodle", true, true);
echo "<br />";
if ($usehtmleditor) {
helpbutton("richtext2", get_string("helprichtext"), "moodle", true, true);
} else {
helpbutton("text2", get_string("helptext"), "moodle", true, true);
}
?>
<br />
</td>
<td>
<?php print_textarea($usehtmleditor, 25, 60, 660, 200, "summary", $form->summary); ?>
</td>
</tr>
</table>
<div class="singlebutton">
<input type="hidden" name="id" value="<?php echo $form->id ?>" />
<input type="hidden" name="sesskey" value="<?php echo sesskey() ?>" />
<input type="submit" value="<?php print_string("savechanges") ?>" />
</div>
</form>