Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (25 sloc) 901 Bytes
<FORM name="theform" method="post" <?=$onsubmit ?> action="edit.php">
<? print_textarea($usehtmleditor, 20, 60, 595, 400, "text", $entry->text); ?>
<? if ($usehtmleditor) {
helpbutton("richtext", get_string("helprichtext"));
} else {
helpbutton("text", get_string("helptext"));
}
?>
<P align=center>
<? print_string("formattexttype");
echo ":&nbsp;";
choose_from_menu(format_text_menu(), "format", $entry->format, ""); ?>
</P>
<P align=center>
<INPUT type="hidden" name=id value="<?=$cm->id ?>">
<INPUT type="submit" value="<? print_string("savechanges") ?>">
<INPUT type="reset" value="<? print_string("revert") ?>">
</P>
</FORM>
<? if ($usehtmleditor) { ?>
<SCRIPT language="JavaScript" event="onload" for="window">
document.richedit.options = "history=no;source=no";
document.richedit.docHtml = theform.text.innerText;
</SCRIPT>
<? } ?>
Something went wrong with that request. Please try again.