diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-14 07:11:11 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-14 07:11:11 -0800 |
commit | df8273e3f26f35ad87fd6f96610f370bdad7f1e5 (patch) | |
tree | fa4419ea94b9bc43582505899c83a370d2f3f8b3 /modules/comment/views | |
parent | da251228cbb54818852c49d37ec7eb31f2313160 (diff) | |
parent | 995e592a3d7e6b6778c2c3a2e9bed8e087252f57 (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/comment/views')
-rw-r--r-- | modules/comment/views/comments.html.php | 3 |
1 files changed, 3 insertions, 0 deletions
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 <a %attrs>comment</a>!", array("attrs" => html::mark_clean("id= \"g-no-comments\" href=\"" . url::site("form/add/comments/{$item->id}") . "\" class=\"showCommentForm\""))) ?> </p> +<ul> </ul> <? endif ?> +<? if ($comments->count()): ?> <ul> <? foreach ($comments as $comment): ?> <li id="g-comment-<?= $comment->id ?>"> @@ -39,4 +41,5 @@ </li> <? endforeach ?> </ul> +<? endif ?> </div> |