diff options
Diffstat (limited to 'modules/comment/views/comment_form.html.php')
| -rw-r--r-- | modules/comment/views/comment_form.html.php | 21 | 
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> + | 
