2003-11-03 16:12:59 +00:00
|
|
|
<form name="theform" method="post" action="edit.php">
|
2003-11-03 16:27:46 +00:00
|
|
|
<table cellpadding=10 cellspacing=0 class=generalbox>
|
|
|
|
<tr><td align=right bgcolor="<?php echo $THEME->cellheading2 ?>">
|
2003-05-08 16:09:30 +00:00
|
|
|
<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 />
|
2002-12-13 09:06:30 +00:00
|
|
|
</font>
|
2003-11-03 16:27:46 +00:00
|
|
|
</td></tr>
|
|
|
|
<tr><td align=center bgcolor="<?php echo $THEME->cellheading2 ?>">
|
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>
|
|
|
|
<tr><td align=center bgcolor="<?php echo $THEME->cellheading2 ?>">
|
|
|
|
<?php
|
2003-05-08 16:09:30 +00:00
|
|
|
print_string("formattexttype");
|
2002-10-12 06:20:56 +00:00
|
|
|
echo ": ";
|
2002-10-18 09:38:58 +00:00
|
|
|
choose_from_menu(format_text_menu(), "format", $entry->format, "");
|
2003-05-08 16:09:30 +00:00
|
|
|
echo "<font size=\"1\">";
|
|
|
|
helpbutton("textformat", get_string("helpformatting"));
|
|
|
|
echo "</font>";
|
|
|
|
?>
|
2003-11-03 16:27:46 +00:00
|
|
|
</td></tr>
|
|
|
|
<tr><td align=center bgcolor="<?php echo $THEME->cellheading2 ?>" class=generalboxcontent>
|
2003-09-09 12:34:51 +00:00
|
|
|
<input type="hidden" name=id value="<?php echo $cm->id ?>">
|
|
|
|
<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
|
|
|
|