31 lines
823 B
HTML
31 lines
823 B
HTML
<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 ": ";
|
|
choose_from_menu(format_text_menu(), "format", $entry->format, "");
|
|
helpbutton("textformat", get_string("formattexttype")) ?>
|
|
</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) {
|
|
print_richedit_javascript("theform", "text", "no");
|
|
}
|
|
?>
|
|
|