2009-09-21 23:22:16 +02:00
<div id= "PageComments_holder" class= "typography" >
2008-08-12 04:59:27 +02:00
<% if CanPostComment %>
<h4><% _t ( 'POSTCOM ', 'Post your comment ' ) %></h4>
2009-09-21 23:22:16 +02:00
2008-08-12 04:59:27 +02:00
$PostCommentForm
<% else %>
<p>You can 't post comments until you have logged in<% if PostingRequiresPermission %>, and that you have an appropriate permission level<% end_if %> . Please <a href= "Security/login?BackURL={$Page.URLSegment}/" title= "Login to post a comment" >login by clicking here</a> . </p>
<% end_if %>
2007-07-19 12:40:05 +02:00
2007-09-16 18:37:15 +02:00
<h4><% _t ( 'COMMENTS ', 'Comments ' ) %></h4>
2007-07-19 12:40:05 +02:00
2009-09-21 23:22:16 +02:00
<div id= "CommentHolder" >
2007-07-19 12:40:05 +02:00
<% if Comments %>
2009-09-21 23:22:16 +02:00
<ul id= "PageComments" >
2007-07-19 12:40:05 +02:00
<% control Comments %>
2009-09-21 23:22:16 +02:00
<li class= "$EvenOdd<% if FirstLast %> $FirstLast <% end_if %> $SpamClass" >
2007-07-19 12:40:05 +02:00
<% include PageCommentInterface_singlecomment %>
2009-09-21 23:22:16 +02:00
</li>
2007-07-19 12:40:05 +02:00
<% end_control %>
2009-09-21 23:22:16 +02:00
</ul>
2007-07-19 12:40:05 +02:00
<% if Comments . MoreThanOnePage %>
<div id= "PageCommentsPagination" >
2007-08-15 03:25:12 +02:00
<p>
2007-07-19 12:40:05 +02:00
<% if Comments . PrevLink %>
2007-09-16 18:37:15 +02:00
<a href= "$Comments.PrevLink" >« ; <% _t('PREV','previous') %></a>
2007-07-19 12:40:05 +02:00
<% end_if %>
<% if Comments . Pages %>
<% control Comments . Pages %>
<% if CurrentBool %>
<strong>$PageNum</strong>
<% else %>
<a href= "$Link" >$PageNum</a>
<% end_if %>
<% end_control %>
<% end_if %>
<% if Comments . NextLink %>
2007-09-16 18:37:15 +02:00
<a href= "$Comments.NextLink" ><% _t ( 'NEXT ', 'next ' ) %> » ;</a>
2007-07-19 12:40:05 +02:00
<% end_if %>
2007-08-15 03:25:12 +02:00
</p>
2007-07-19 12:40:05 +02:00
</div>
<% end_if %>
<% else %>
2007-09-16 18:37:15 +02:00
<p id= "NoComments" ><% _t ( 'NOCOMMENTSYET ', 'No one has commented on this page yet . ' ) %></p>
2007-07-19 12:40:05 +02:00
<% end_if %>
2009-09-21 23:22:16 +02:00
</div>
2008-12-15 03:07:44 +01:00
<p id= "CommentsRSSFeed" >
<a class= "commentrss" href= "$CommentRssLink" ><% _t ( 'RSSFEEDCOMMENTS ', 'RSS feed for comments on this page ' ) %></a> |
<a href= "PageComment/rss" class= "commentrss" title= "<% _t('RSSVIEWALLCOMMENTS', 'View all Comments') %>" ><% _t ( 'RSSFEEDALLCOMMENTS ', 'RSS feed for all comments ' ) %></a>
</p>
2007-07-19 12:40:05 +02:00
</div>