Advertisement
m4w4n

Plug

Oct 25th, 2013
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.61 KB | None | 0 0
  1. <div class='replies-container'>
  2. <b:loop values='data:post.comments' var='childComment'>
  3. <b:if cond='data:childComment.inReplyTo == data:comment.id'>
  4. <div class='comment-replies' expr:id='data:childComment.id'>
  5.  
  6. <div expr:class='&quot;comment-author-thread &quot; + data:childComment.authorClass' expr:id='data:childComment.anchorName'>
  7. <b:if cond='data:childComment.favicon'>
  8. <img expr:src='data:childComment.favicon' height='16px' style='margin-bottom:-2px;' width='16px'/>
  9. </b:if>
  10. <a expr:name='data:childComment.anchorName'/>
  11. <b:if cond='data:blog.enabledCommentProfileImages'>
  12. <data:childComment.authorAvatarImage/>
  13. </b:if>
  14. </div>
  15.  
  16. <div class='reply-to'>
  17. <b:if cond='data:childComment.authorUrl'>
  18. <a expr:href='data:childComment.authorUrl' rel='nofollow'><data:childComment.author/></a>
  19. <b:else/>
  20. <data:childComment.author/>
  21. </b:if>
  22. replied...
  23.  
  24. <div class='comment-body-thread'>
  25. <b:if cond='data:childComment.isDeleted'>
  26. <span class='deleted-comment'><data:childComment.body/></span>
  27. <b:else/>
  28. <p><data:childComment.body/></p>
  29. </b:if>
  30. </div>
  31.  
  32. <div class='comment-footer-thread'>
  33. <span class='comment-timestamp'>
  34. <a expr:href='data:childComment.url' title='Comment permalink'>
  35. <data:childComment.timestamp/>
  36. </a>
  37. <b:include data='childComment' name='commentDeleteIcon'/>
  38. </span>
  39. </div>
  40. </div>
  41. </div>
  42. </b:if>
  43. </b:loop>
  44. </div>
  45.  
  46. <b:if cond='data:post.allowNewComments'>
  47. <b:if cond='data:post.numComments &lt; 200'>
  48. <a class='reply-action' expr:onclick='&quot;reply(&apos;&quot; + data:comment.id + &quot;&apos;);return false;&quot;' href='#'>Reply</a><br/>
  49. <b:else/>
  50. <script type='text/javascript'>
  51. var indexc = &#39;<data:post.numComments/>&#39;
  52. var indexcomment = &#39;<data:comment.id/>&#39;
  53. //<![CDATA[
  54. var indexpage = indexc/200;
  55. indexpage = Math.ceil(indexpage);
  56. var indexl = window.location.href;
  57. indexl = indexl.indexOf("commentPage=" + indexpage + "");
  58. var replyAction = "<a class='reply-action' onclick='reply(&quot;" + indexcomment + "&quot;);return false;' href='#'>Reply</a><br/>";
  59. if(indexl!=-1)if(indexc<indexpage*200)document.write(replyAction);
  60. //]]>
  61. </script>
  62. </b:if>
  63. <div class='contenedorreply' expr:id='&quot;contenedorreply-&quot; + data:comment.id'/>
  64. </b:if>
  65. </b:if>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement