mirror of
https://github.com/moodle/moodle.git
synced 2025-01-22 16:18:24 +01:00
36 lines
1.0 KiB
HTML
36 lines
1.0 KiB
HTML
<center>
|
|
<form name="theform" method="post" <?php echo $onsubmit ?> action="editsection.php">
|
|
<table border=0 cellpadding=0 cellspacing=0>
|
|
<tr>
|
|
<td align=top>
|
|
<p><b><?php print_string("summaryof", "", "$sectionname $form->section") ?></b></p>
|
|
</td>
|
|
<td align=top width=100>
|
|
|
|
</td>
|
|
<td align=top>
|
|
<font size=-1>
|
|
<?php helpbutton("summaries", get_string("helpsummaries"), "moodle", true, true);
|
|
if ($usehtmleditor) {
|
|
helpbutton("richtext", get_string("helprichtext"), "moodle", true, true);
|
|
} else {
|
|
helpbutton("text", get_string("helptext"), "moodle", true, true);
|
|
}
|
|
?>
|
|
</font>
|
|
</td>
|
|
</tr></table>
|
|
<?php print_textarea($usehtmleditor, 4, 60, 660, 200, "summary", $form->summary); ?>
|
|
<p>
|
|
<input type="hidden" name=id value="<?php echo $form->id ?>">
|
|
<input type="submit" value="<?php print_string("savechanges") ?>">
|
|
<input type="reset" value="<?php print_string("revert") ?>">
|
|
</p>
|
|
</form>
|
|
</center>
|
|
<?php
|
|
if ($usehtmleditor) {
|
|
print_richedit_javascript("theform", "summary", "yes");
|
|
}
|
|
?>
|