//comments module templates
$S.setVal("tpl_socialcomments",'<div id="articlecomments"><h4 class="icon">#{ArticleType} comments (<em class="cmt">#{NumberOfComments}</em>)</h4><div id="cmt-sort-wrapper"><span>Sort:</span> <a class="" id="sort-TimeStampDescending" href="#" onclick="CBC.APP.PLUCK.Comments.sortComments(this,\'TimeStampDescending\');return false;">Most recent</a> | <a class="" id="sort-TimeStampAscending" href="#" onclick="CBC.APP.PLUCK.Comments.sortComments(this,\'TimeStampAscending\');return false;">First to last</a> | <a id="sort-RecommendationsDescending" href="#" onclick="CBC.APP.PLUCK.Comments.sortComments(this,\'RecommendationsDescending\');return false;">Most recommended</a></div><div id="cmt-wrapper" class="clearfix"><img src="/includes/objects/pluck/gfx/loading.gif" alt="Loading.." class="loading"/></div><ul id="cmt-paginator"></ul></div><a name="postc"></a><div id="socialcomments-submit"><h4>Post your comment</h4><p class="notice">Note: The CBC does not necessarily endorse any of the views posted. By submitting your comments, you acknowledge that CBC has the right to reproduce, broadcast and publicize those comments or any part thereof in any manner whatsoever. Please note that comments are pre-moderated/reviewed and published according to our <a href="/aboutcbc/discover/termsofuse.html#Submissions" target="_blank">submission guidelines</a>.</p><span id="cmt-post-statusbox"></span><div id="cmt-form-wrapper"><div id="cmt-form-label" class="clearfix"><span class="label">Comment:</span><span class="comment-chars-count">Characters allowed: <em id="cmtCharCount">#{maxCmtLength}</em></span></div><textarea disabled="disabled" id="cmt-post-textarea" rows="10" cols="60" onkeypress="CBC.APP.PLUCK.Comments.handleCommentsEntry(this);"></textarea><span class="cmd"><button disabled="disabled" id="cmt-post-button" onclick="CBC.APP.PLUCK.Comments.submit();return false;">Post</button><a href="/aboutcbc/discover/termsofuse.html#Submissions" target="_blank">Submission policy</a></span></div></div>');
$S.setVal("tpl_cmt",'<div class="comment #[isOddRow: {false:||true:odd}] clearfix"><div class="clearfix"><span><strong><a href="/membercentre/ViewMember.aspx?u=#{CommentAuthorId}" title="View #{DisplayName}&#039;s Page" target="_blank"><em>#{DisplayName}</em></a> wrote:</strong>Posted #{PostedAtTime}</span><span class="r">#{CommentBody}</span></div><div class="cmd clearfix"><span>#[Recommended: {false:<a onclick="CBC.APP.PLUCK.Comments.recommend(this,\'#{CommentKey}\');this.blur();return false;" title="Recommend this comment" class="cmd-r" href="#"><em>Recommend</em><em>this comment</em></a></span><span class="r"><a onclick="CBC.APP.PLUCK.Comments.recommend(this,\'#{CommentKey}\');this.blur();return false;" title="Recommend this comment" href="#"><em>#{NumberOfRecommendations}</em>Recommend this comment</a>||true:<span class="l-full"><strong#{FourDigitsClass}>#{NumberOfRecommendations}</strong><em>#{People}</em><em>recommended</em><em>this comment</em></span></span><span class="r"><em>Recommended</em><span class="r-full">#{NumberOfRecommendations}</span> }] #[Reported: {false:<a class="report" onclick="CBC.APP.PLUCK.Comments.spawnAbuse(this,\'#{CommentKey}\');return false;" href="#">Report abuse</a>||true:<span>Reported </span>}]</span></div></div>');
$S.setVal("tpl_cmt_rec",'<div class="comment #[isOddRow: {false:||true:odd}] clearfix"><div class="clearfix"><span><strong><a href="/membercentre/ViewMember.aspx?u=#{CommentAuthorId}" title="View #{DisplayName}&#039;s Page" target="_blank"><em>#{DisplayName}</em></a> wrote:</strong>Posted #{PostedAtTime}</span><span class="r">#{CommentBody}</span></div><div class="cmd clearfix"><span>#[Recommended: {false:<a onclick="CBC.APP.PLUCK.Comments.recommend(this,\'#{CommentKey}\');this.blur();return false;" title="Recommend this comment" class="cmd-rd" href="#"><strong#{FourDigitsClass}>#{NumberOfRecommendations}</strong><em>#{People}</em><em>recommended</em><em>this comment</em></a></span><span class="r"><a onclick="CBC.APP.PLUCK.Comments.recommend(this,\'#{CommentKey}\');this.blur();return false;" title="Recommend this comment" href="#"><em>#{NumberOfRecommendations}</em>Recommend this comment</a>||true:<span class="l-full"><strong#{FourDigitsClass}>#{NumberOfRecommendations}</strong><em>#{People}</em><em>recommended</em><em>this comment</em></span></span><span class="r"><em>Recommended</em><span class="r-full">#{NumberOfRecommendations}</span> }] #[Reported: {false:<a class="report" onclick="CBC.APP.PLUCK.Comments.spawnAbuse(this,\'#{CommentKey}\');return false;" href="#">Report abuse</a>||true:<span>Reported </span>}]</span></div></div>');
$S.setVal("tpl_cmt_blocked",'<div class="comment #[isOddRow: {false:||true:odd}] clearfix"><div class="clearfix"><span><strong><a href="/membercentre/ViewMember.aspx?u=#{CommentAuthorId}" title="View #{DisplayName}&#039;s Page" target="_blank"><em>#{DisplayName}</em></a> wrote:</strong>Posted #{PostedAtTime}</span><span class="r blocked">This comment has been removed by the moderator.</span></div></div>');
$S.setVal("tpl_cmtAbuseReport",'<a href="#" title="Close" id="cmt-abusereport-close" onclick="CBC.APP.PLUCK.Comments.closeAbuse();return false;"><img src="/includes/objects/pluck/gfx/close_sml.gif" alt="Close"/></a><h3>Report Abuse</h3><label>Report article as: (Required)</label><select name="cmt-abusereport-type" id="cmt-abusereport-type"><option value=""/><option value="Obscenity or vulgarity">Obscenity/vulgarity</option><option value="Hate speech">Hate speech</option><option value="Personal attack">Personal attack</option><option value="Advertising or Spam">Advertising/Spam</option><option value="Copyright or Plagiarism">Copyright/Plagiarism</option><option value="Other">Other</option></select><label>Comment: (Optional)</label><textarea name="cmt-abusereport-comment" id="cmt-abusereport-comment"></textarea><div class="clearfix"><input type="submit" id="cmt-abusereport-submit" name="cmt-abusereport-submit" value="Report" /><span id="cmt-abusereport-statusbox">Please select a report article.</span></div>');
$S.setVal("tpl_cmtPaginator_li",'<li class="page"><a class="#{activeClass}" href="#socialcomments" onclick="CBC.APP.PLUCK.Comments.getData({articleKey:\'#{ArticleKey}\',pageNumber:#{pageNumber},sort:\'#{sort}\'});">#{pageNumber}</a></li>');
