From 64e5d438c7ce291dd030b51d1467fc8736f0aa27 Mon Sep 17 00:00:00 2001
From: Andy Staudacher
Date: Sat, 13 Feb 2010 13:57:02 -0800
Subject: HTML validation, avoid empty
---
modules/comment/views/comments.html.php | 3 +++
1 file changed, 3 insertions(+)
(limited to 'modules/comment/views')
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php
index 0ed07c22..58ff1765 100644
--- a/modules/comment/views/comments.html.php
+++ b/modules/comment/views/comments.html.php
@@ -10,7 +10,9 @@
= t("No comments yet. Be the first to comment!",
array("attrs" => html::mark_clean("id= \"g-no-comments\" href=\"" . url::site("form/add/comments/{$item->id}") . "\" class=\"showCommentForm\""))) ?>
+
endif ?>
+ if ($comments->count()): ?>
foreach ($comments as $comment): ?>
endforeach ?>
+ endif ?>
--
cgit v1.2.3
From b103306f3d60407fd4e97ec601ba9baed467f766 Mon Sep 17 00:00:00 2001
From: Chad Kieffer
Date: Thu, 18 Feb 2010 19:26:07 -0700
Subject: Don't need 'right' class here. Positioning is absolute to the right.
---
modules/comment/views/comments.html.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'modules/comment/views')
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php
index 58ff1765..8e2a9e51 100644
--- a/modules/comment/views/comments.html.php
+++ b/modules/comment/views/comments.html.php
@@ -1,6 +1,6 @@
id}") ?>" id="g-admin-comment-button"
- class="g-button ui-corner-all ui-icon-left ui-state-default right">
+ class="g-button ui-corner-all ui-icon-left ui-state-default">
= t("Add a comment") ?>
--
cgit v1.2.3