MDL-19118 Fixed a couple of XHTML errors in comment form definition

This commit is contained in:
nicolasconnault
2009-10-23 02:02:13 +00:00
parent b9b3a3e7cd
commit 012cdce483
+3 -1
View File
@@ -313,7 +313,8 @@ EOD;
$html .= <<<EOD
<div class='comment-area'>
<div class="bd">
<form method="POST" id="comment-form-{$this->cid}" action="{$CFG->wwwroot}/comment/comment_post.php">
<form method="post" id="comment-form-{$this->cid}" action="{$CFG->wwwroot}/comment/comment_post.php">
<div>
<textarea name="content" rows="1" id="dlg-content-{$this->cid}"></textarea>
<input type="hidden" name="contextid" value="$this->contextid" />
<input type="hidden" name="action" value="add" />
@@ -322,6 +323,7 @@ EOD;
<input type="hidden" name="courseid" value="{$this->course->id}" />
<input type="hidden" name="sesskey" value="{$sesskey}" />
<input type="hidden" name="client_id" value="$this->cid" />
</div>
</form>
</div>
<div class="fd" id="comment-action-{$this->cid}">