diff options
Diffstat (limited to 'modules/comment/views')
-rw-r--r-- | modules/comment/views/comment_form.html.php | 34 | ||||
-rw-r--r-- | modules/comment/views/comment_list.html.php | 4 |
2 files changed, 21 insertions, 17 deletions
diff --git a/modules/comment/views/comment_form.html.php b/modules/comment/views/comment_form.html.php index 163fd180..1561035f 100644 --- a/modules/comment/views/comment_form.html.php +++ b/modules/comment/views/comment_form.html.php @@ -1,21 +1,25 @@ <? defined("SYSPATH") or die("No direct script access."); ?> -<form id="gCommentAdd" class="gExpandedForm"> +<form id="gCommentAdd"> <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") ?>" /> + <ul> + <li> + <label for="gCommentAuthor"><?= _("Your Name") ?></label> + <input type="text" name="author" id="gCommentAuthor" /> + </li> + <li> + <label for="gCommentEmail"><?= _("Your Email (not displayed)") ?></label> + <input type="text" name="email" id="gCommentEmail" /> + </li> + <li> + <label for="gCommentText"><?= _("Comment") ?></label> + <textarea name="text" id="gCommentText"></textarea> + </li> + <li> + <input type="hidden" id="gItemId" name="item_id" value="<?= $item_id ?>" /> + <input type="submit" id="gCommentSubmit" value="<?= _("Add") ?>" /> + </li> + </ul> </fieldset> </form> diff --git a/modules/comment/views/comment_list.html.php b/modules/comment/views/comment_list.html.php index 1545a106..ea824597 100644 --- a/modules/comment/views/comment_list.html.php +++ b/modules/comment/views/comment_list.html.php @@ -1,11 +1,11 @@ <? defined("SYSPATH") or die("No direct script access."); ?> <ul id="gCommentThread"> <? foreach (array_reverse($comments) as $index => $comment): ?> - <li id="gComment-<?= $index; ?>" class="gComment <?= $index % 2 ? 'odd' : 'even' ?>"> + <li id="gComment-<?= $index; ?>" class="gComment <?= $index % 2 ? 'gOdd' : 'gEven' ?>"> <p> <a href="#" class="gAuthor"><?= $comment->author ?></a> <?= comment::format_elapsed_time($comment->datetime) ?>, - <span class="understate"><?= strftime('%c', $comment->datetime) ?></span> + <span class="gUnderstate"><?= strftime('%c', $comment->datetime) ?></span> </p> <div> <?= $comment->text ?> |