summaryrefslogtreecommitdiff
path: root/modules/comment/views/comment_form.html.php
diff options
context:
space:
mode:
authorJozef Selesi <jozefs@users.sourceforge.net>2008-11-11 20:54:12 +0000
committerJozef Selesi <jozefs@users.sourceforge.net>2008-11-11 20:54:12 +0000
commit752459c64cafec0f003c4b8531201c58a5fecad7 (patch)
tree5d608658a9102d1c5f15d47e8e8fd422ac9b427d /modules/comment/views/comment_form.html.php
parentdd9058ada40b3afd47d3cbf800b78862bc44bdb6 (diff)
Display comments from the database.
Diffstat (limited to 'modules/comment/views/comment_form.html.php')
-rw-r--r--modules/comment/views/comment_form.html.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/comment/views/comment_form.html.php b/modules/comment/views/comment_form.html.php
new file mode 100644
index 00000000..418f0027
--- /dev/null
+++ b/modules/comment/views/comment_form.html.php
@@ -0,0 +1,21 @@
+<? defined("SYSPATH") or die("No direct script access."); ?>
+<form id="gCommentAdd" class="gExpandedForm">
+ <fieldset>
+ <legend>Add comment</legend>
+ <div class="row">
+ <label for="gCommentAuthor">Your Name</label>
+ <input type="text" name="author" id="gCommentAuthor" class="text" />
+ </div>
+ <div class="row">
+ <label for="gCommentEmail">Your Email (not displayed)</label>
+ <input type="text" name="email" id="gCommentEmail" class="text" />
+ </div>
+ <div class="row">
+ <label for="gCommentText">Comment</label>
+ <textarea name="text" id="gCommentText"></textarea>
+ </div>
+ <input type="hidden" id="gItemId" name="item_id" value="<?= $item_id ?>" />
+ <input type="submit" id="gCommentSubmit" value="Add" />
+ </fieldset>
+</form>
+