diff --git a/templates/Layout/CommentsInterface.ss b/templates/Layout/CommentsInterface.ss new file mode 100755 index 0000000..3dd1983 --- /dev/null +++ b/templates/Layout/CommentsInterface.ss @@ -0,0 +1,73 @@ +<% if CommentsEnabled %> +
<% _t('CommentsInterface_ss.COMMENTLOGINERROR', 'You cannot post comments until you have logged in') %><% if PostingRequiresPermission %>,<% _t('CommentsInterface_ss.COMMENTPERMISSIONERROR', 'and that you have an appropriate permission level') %><% end_if %>. + <% _t('CommentsInterface_ss.COMMENTPOSTLOGIN', 'Login Here') %>. +
+ <% end_if %> + <% else %> +<% _t('CommentsInterface_ss.COMMENTSDISABLED', 'Posting comments has been disabled') %>.
+ <% end_if %> + ++ <% _t('CommentsInterface_ss.RSSFEEDCOMMENTS', 'RSS feed for comments on this page') %> | + <% _t('CommentsInterface_ss.RSSFEEDALLCOMMENTS', 'RSS feed for all comments') %> +
+<% _t('CommentsInterface_pendingcomment_ss.AWAITINGMODERATION', 'Your comment has been submitted and is now awaiting moderation.') %>
++ <% if $URL %> + <% _t('CommentsInterface_singlecomment_ss.PBY','Posted by') %> $AuthorName.XML, $Created.Nice ($Created.Ago) + <% else %> + <% _t('CommentsInterface_singlecomment_ss.PBY','Posted by') %> $AuthorName.XML, $Created.Nice ($Created.Ago) + <% end_if %> +
+ + <% if $ApproveLink || $SpamLink || $HamLink || $DeleteLink %> +
+ <% loop Comments %> +-
+ <% include CommentsInterface_singlecomment %>
+
+ <% end_loop %>
+
+ + <% if Comments.MoreThanOnePage %> ++ <% if Comments.PrevLink %> + « <% _t('CommentsInterface_ss.PREV','previous') %> + <% end_if %> + + <% if Comments.Pages %> + <% loop Comments.Pages %> + <% if CurrentBool %> + $PageNum + <% else %> + $PageNum + <% end_if %> + <% end_loop %> + <% end_if %> + + <% if Comments.NextLink %> + <% _t('CommentsInterface_ss.NEXT','next') %> » + <% end_if %> +
+style='display: none' <% end_if %> ><% _t('CommentsInterface_ss.NOCOMMENTSYET','No one has commented on this page yet.') %>
+ +