mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
3a4b8c823d
Skodak has found more incorrect tags. See bug 1376 (http://moodle.org/bugs/bug.php?op=show&bugid=1376)
58 lines
1.6 KiB
HTML
58 lines
1.6 KiB
HTML
<FORM name="theform" method="post" action="comment.php">
|
|
<table class=generalbox cellpadding=5 bgcolor="<?php p($THEME->cellheading)?>">
|
|
<tr valign=top>
|
|
<td align=right><p><b><?php echo get_string("comment","glossary") ?>:</b></p>
|
|
<font size="1">
|
|
<?php
|
|
helpbutton("writing", get_string("helpwriting"), "moodle", true, true);
|
|
echo "<br />";
|
|
if ($usehtmleditor) {
|
|
helpbutton("richtext", get_string("helprichtext"), "moodle", true, true);
|
|
} else {
|
|
emoticonhelpbutton("form", "comment");
|
|
}
|
|
?>
|
|
<br />
|
|
</font>
|
|
</td>
|
|
<td>
|
|
<?php
|
|
print_textarea($usehtmleditor, 20, 60, 680, 400, "text", $form->text);
|
|
|
|
echo "<p align=right>";
|
|
helpbutton("textformat", get_string("helpformatting"));
|
|
print_string("formattexttype");
|
|
echo ": ";
|
|
if (!isset($form->format)) {
|
|
if (!$form->format) {
|
|
$form->format = $defaultformat;
|
|
}
|
|
}
|
|
choose_from_menu(format_text_menu(), "format", $form->format, "");
|
|
echo "</p>";
|
|
?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan=2>
|
|
<p align=center>
|
|
<?php
|
|
if (isset($comment->id)) {
|
|
echo "<input type=\"hidden\" name=cid value=\"$comment->id\">";
|
|
}
|
|
?>
|
|
<input type="hidden" name=id value="<?php p($cm->id) ?>">
|
|
<input type="hidden" name=eid value="<?php p($entry->id) ?>">
|
|
<input type="hidden" name=action value="<?php p($action) ?>">
|
|
<input type="hidden" name=confirm value="1">
|
|
|
|
<input type="submit" value="<?php print_string("savechanges") ?>">
|
|
<input type="reset" value="<?php print_string("revert") ?>">
|
|
</P>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</p>
|
|
|
|
</form>
|