addNewCommentView.inc 523 B

1234567891011
  1. <div id="addComment">
  2. Commenting as: <?=$user->getDisplayName()?>
  3. <form method="POST" action="?a=submitnewcomment&id=<?=$postData['post_id']?>&t=<?=$postData['topic_id']?>" enctype="multipart/form-data">
  4. <textarea name="commentBody"></textarea>
  5. <br />
  6. <label for="attachment1">Upload Attachment:</label><input type="file" name="attachment1" id="attachment1" />
  7. <br />
  8. <input type="hidden" name="parentComment" value="<?=$parentCommentId?>" />
  9. <input type="submit" name="submit" value="Post" />
  10. </form>
  11. </div>