2007-01-04 21:32:36 +00:00
|
|
|
<form id="theform" method="post" action="edit.php">
|
2004-09-12 16:24:41 +00:00
|
|
|
<table cellpadding="10" cellspacing="0" class="generalbox">
|
2005-05-17 19:55:37 +00:00
|
|
|
<tr><td align="right">
|
2004-09-12 16:24:41 +00:00
|
|
|
<?php
|
2005-03-24 12:43:22 +00:00
|
|
|
helpbutton('reading', get_string('helpreading'), 'moodle', true, true);
|
|
|
|
echo '<br />';
|
|
|
|
helpbutton('writing', get_string('helpwriting'), 'moodle', true, true);
|
|
|
|
echo '<br />';
|
2003-05-08 16:09:30 +00:00
|
|
|
if ($usehtmleditor) {
|
2005-03-24 12:43:22 +00:00
|
|
|
helpbutton('richtext', get_string('helprichtext'), 'moodle', true, true);
|
2003-05-08 16:09:30 +00:00
|
|
|
} else {
|
2005-03-24 12:43:22 +00:00
|
|
|
emoticonhelpbutton('theform', 'text');
|
2003-05-08 16:09:30 +00:00
|
|
|
}
|
2005-03-24 12:43:22 +00:00
|
|
|
echo '<br />';
|
2003-05-08 16:09:30 +00:00
|
|
|
?>
|
2003-11-03 16:27:46 +00:00
|
|
|
</td></tr>
|
2005-05-17 19:55:37 +00:00
|
|
|
<tr><td align="center">
|
2003-09-09 12:34:51 +00:00
|
|
|
<?php print_textarea($usehtmleditor, 20, 60, 630, 400, "text", $entry->text); ?>
|
2003-11-03 16:27:46 +00:00
|
|
|
</td></tr>
|
2005-05-17 19:55:37 +00:00
|
|
|
<tr><td align="center">
|
2003-11-03 16:27:46 +00:00
|
|
|
<?php
|
2005-03-24 12:43:22 +00:00
|
|
|
print_string('formattexttype');
|
|
|
|
echo ': ';
|
|
|
|
choose_from_menu(format_text_menu(), 'format', $entry->format, '');
|
|
|
|
helpbutton('textformat', get_string('helpformatting'));
|
2003-05-08 16:09:30 +00:00
|
|
|
?>
|
2003-11-03 16:27:46 +00:00
|
|
|
</td></tr>
|
2005-05-17 19:55:37 +00:00
|
|
|
<tr><td align="center" class="generalboxcontent">
|
2004-09-12 16:24:41 +00:00
|
|
|
<input type="hidden" name="id" value="<?php echo $cm->id ?>" />
|
2005-03-24 12:43:22 +00:00
|
|
|
<input type="submit" value="<?php print_string('savechanges') ?>" />
|
|
|
|
<input type="reset" value="<?php print_string('revert') ?>" />
|
2003-11-03 16:27:46 +00:00
|
|
|
</td></tr></table>
|
2003-05-08 16:09:30 +00:00
|
|
|
</form>
|
2002-10-12 06:20:56 +00:00
|
|
|
|