moodle/mod/journal/edit.html
2003-06-13 16:08:56 +00:00

47 lines
1.2 KiB
HTML

<FORM name="theform" method="post" <?=$onsubmit ?> action="edit.php">
<table><tr>
<td align=right>
<font size="1">
<?PHP
helpbutton("reading", get_string("helpreading"), "moodle", true, true);
echo "<br />";
helpbutton("writing", get_string("helpwriting"), "moodle", true, true);
echo "<br />";
if ($usehtmleditor) {
helpbutton("richtext", get_string("helprichtext"), "moodle", true, true);
} else {
emoticonhelpbutton("theform", "text");
}
?>
<br />
</font>
</td>
</tr></table>
<? print_textarea($usehtmleditor, 20, 60, 630, 400, "text", $entry->text); ?>
<p align=center>
<?PHP
print_string("formattexttype");
echo ":&nbsp;";
choose_from_menu(format_text_menu(), "format", $entry->format, "");
echo "<font size=\"1\">";
helpbutton("textformat", get_string("helpformatting"));
echo "</font>";
?>
</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>
<?PHP
if ($usehtmleditor) {
print_richedit_javascript("theform", "text", "no");
}
?>