2007-07-19 10:40:05 +00:00
|
|
|
<div id="PageComments_holder" class="typography">
|
2009-05-26 01:56:07 +00:00
|
|
|
|
|
|
|
<h4><% _t('POSTCOM','Post your comment') %></h4>
|
|
|
|
<% if PostCommentForm %>
|
|
|
|
<% if CanPostComment %>
|
|
|
|
$PostCommentForm
|
|
|
|
<% else %>
|
2010-06-18 04:24:00 +00:00
|
|
|
<p><% _t('COMMENTLOGINERROR', 'You cannot post comments until you have logged in') %><% if PostingRequiresPermission %>,<% _t('COMMENTPERMISSIONERROR', 'and that you have an appropriate permission level') %><% end_if %>.
|
|
|
|
<a href="Security/login?BackURL={$Page.Link}" title="Login to post a comment"><% _t('COMMENTPOSTLOGIN', 'Login Here') %></a>.
|
2009-05-26 02:15:24 +00:00
|
|
|
</p>
|
2009-05-26 01:56:07 +00:00
|
|
|
<% end_if %>
|
2008-08-12 02:59:27 +00:00
|
|
|
<% else %>
|
2009-05-26 02:16:46 +00:00
|
|
|
<p><% _t('COMMENTSDISABLED', 'Posting comments has been disabled') %>.</p>
|
2008-08-12 02:59:27 +00:00
|
|
|
<% end_if %>
|
2009-05-26 01:56:07 +00:00
|
|
|
|
2007-09-16 16:37:15 +00:00
|
|
|
<h4><% _t('COMMENTS','Comments') %></h4>
|
2007-07-19 10:40:05 +00:00
|
|
|
|
|
|
|
<div id="CommentHolder">
|
|
|
|
<% if Comments %>
|
|
|
|
<ul id="PageComments">
|
|
|
|
<% control Comments %>
|
|
|
|
<li class="$EvenOdd<% if FirstLast %> $FirstLast <% end_if %> $SpamClass">
|
|
|
|
<% include PageCommentInterface_singlecomment %>
|
|
|
|
</li>
|
|
|
|
<% end_control %>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<% if Comments.MoreThanOnePage %>
|
|
|
|
<div id="PageCommentsPagination">
|
2007-08-15 01:25:12 +00:00
|
|
|
<p>
|
2007-07-19 10:40:05 +00:00
|
|
|
<% if Comments.PrevLink %>
|
2007-09-16 16:37:15 +00:00
|
|
|
<a href="$Comments.PrevLink">« <% _t('PREV','previous') %></a>
|
2007-07-19 10:40:05 +00: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 16:37:15 +00:00
|
|
|
<a href="$Comments.NextLink"><% _t('NEXT','next') %> »</a>
|
2007-07-19 10:40:05 +00:00
|
|
|
<% end_if %>
|
2007-08-15 01:25:12 +00:00
|
|
|
</p>
|
2007-07-19 10:40:05 +00:00
|
|
|
</div>
|
|
|
|
<% end_if %>
|
|
|
|
<% else %>
|
2007-09-16 16:37:15 +00:00
|
|
|
<p id="NoComments"><% _t('NOCOMMENTSYET','No one has commented on this page yet.') %></p>
|
2007-07-19 10:40:05 +00:00
|
|
|
<% end_if %>
|
|
|
|
</div>
|
2009-12-15 03:33:38 +00:00
|
|
|
<% if DeleteAllLink %>
|
2010-05-17 00:23:53 +00:00
|
|
|
<p id="DeleteComments"><a href="$DeleteAllLink">
|
2010-05-20 07:28:13 +00:00
|
|
|
<% _t('PageCommentInterface.DELETEALLCOMMENTS','Delete all comments on this page') %>
|
2010-05-17 00:23:53 +00:00
|
|
|
</a></p>
|
2009-12-15 03:33:38 +00:00
|
|
|
<% end_if %>
|
2009-01-05 06:17:59 +00: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 10:40:05 +00:00
|
|
|
</div>
|
|
|
|
|