2007-07-19 12:40:05 +02:00
|
|
|
<div id="PageComments_holder" class="typography">
|
2009-05-26 03:56:07 +02:00
|
|
|
|
|
|
|
<h4><% _t('POSTCOM','Post your comment') %></h4>
|
|
|
|
<% if PostCommentForm %>
|
|
|
|
<% if CanPostComment %>
|
|
|
|
$PostCommentForm
|
|
|
|
<% else %>
|
2010-06-18 06:24:00 +02: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 04:15:24 +02:00
|
|
|
</p>
|
2009-05-26 03:56:07 +02:00
|
|
|
<% end_if %>
|
2008-08-12 04:59:27 +02:00
|
|
|
<% else %>
|
2009-05-26 04:16:46 +02:00
|
|
|
<p><% _t('COMMENTSDISABLED', 'Posting comments has been disabled') %>.</p>
|
2008-08-12 04:59:27 +02:00
|
|
|
<% end_if %>
|
2009-05-26 03:56:07 +02:00
|
|
|
|
2007-09-16 18:37:15 +02:00
|
|
|
<h4><% _t('COMMENTS','Comments') %></h4>
|
2007-07-19 12:40:05 +02: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 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 %>
|
|
|
|
</div>
|
2009-12-15 04:33:38 +01:00
|
|
|
<% if DeleteAllLink %>
|
2010-05-17 02:23:53 +02:00
|
|
|
<p id="DeleteComments"><a href="$DeleteAllLink">
|
2010-05-20 09:28:13 +02:00
|
|
|
<% _t('PageCommentInterface.DELETEALLCOMMENTS','Delete all comments on this page') %>
|
2010-05-17 02:23:53 +02:00
|
|
|
</a></p>
|
2009-12-15 04:33:38 +01:00
|
|
|
<% end_if %>
|
2009-01-05 07:17:59 +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>
|
|
|
|
|