tidied up the page comment interface. Improved vaildation as well.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40030 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Will Rossiter 2007-08-15 01:25:12 +00:00
parent 6e43abc98f
commit d12ea7b2a7

View File

@ -17,6 +17,7 @@
<% if Comments.MoreThanOnePage %> <% if Comments.MoreThanOnePage %>
<div id="PageCommentsPagination"> <div id="PageCommentsPagination">
<p>
<% if Comments.PrevLink %> <% if Comments.PrevLink %>
<a href="$Comments.PrevLink">&laquo; previous</a> <a href="$Comments.PrevLink">&laquo; previous</a>
<% end_if %> <% end_if %>
@ -34,12 +35,13 @@
<% if Comments.NextLink %> <% if Comments.NextLink %>
<a href="$Comments.NextLink">next &raquo;</a> <a href="$Comments.NextLink">next &raquo;</a>
<% end_if %> <% end_if %>
</p>
</div> </div>
<% end_if %> <% end_if %>
<% else %> <% else %>
<p id="NoComments">No one has commented on this page yet.</p> <p id="NoComments">No one has commented on this page yet.</p>
<% end_if %> <% end_if %>
</div> </div>
<a class="commentrss" href="$CommentRssLink">RSS feed for comments on this page</a> <p id="CommentsRSSFeed"><a class="commentrss" href="$CommentRssLink">RSS feed for comments on this page</a></p>
</div> </div>