Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git] / mod / journal / edit.html
blob3f2bc1f4af7b5398107f6c9811f1f4a7d5d5b41d
1 <form id="theform" method="post" action="edit.php">
2 <table cellpadding="10" cellspacing="0" class="generalbox">
3 <tr><td align="right">
4 <?php
5 helpbutton('reading', get_string('helpreading'), 'moodle', true, true);
6 echo '<br />';
7 helpbutton('writing', get_string('helpwriting'), 'moodle', true, true);
8 echo '<br />';
9 if ($usehtmleditor) {
10 helpbutton('richtext', get_string('helprichtext'), 'moodle', true, true);
11 } else {
12 emoticonhelpbutton('theform', 'text');
14 echo '<br />';
16 </td></tr>
17 <tr><td align="center">
18 <?php print_textarea($usehtmleditor, 20, 60, 630, 400, "text", $entry->text); ?>
19 </td></tr>
20 <tr><td align="center">
21 <?php
22 print_string('formattexttype');
23 echo ':&nbsp;';
24 choose_from_menu(format_text_menu(), 'format', $entry->format, '');
25 helpbutton('textformat', get_string('helpformatting'));
27 </td></tr>
28 <tr><td align="center" class="generalboxcontent">
29 <input type="hidden" name="id" value="<?php echo $cm->id ?>" />
30 <input type="submit" value="<?php print_string('savechanges') ?>" />
31 <input type="reset" value="<?php print_string('revert') ?>" />
32 </td></tr></table>
33 </form>