summaryrefslogtreecommitdiff
path: root/templates/comment.tmpl
blob: 1b9064ea0d006c48d2a54af0e5afd62ee4743ee0 (plain)
  1. <div class="comment" id="<TMPL_VAR NAME=INLINEPAGE>">
  2. <div class="comment-subject">
  3. <TMPL_IF PERMALINK>
  4. <a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
  5. <TMPL_ELSE>
  6. <TMPL_VAR TITLE>
  7. </TMPL_IF>
  8. </div>
  9. <div class="inlinecontent">
  10. <TMPL_VAR CONTENT>
  11. </div>
  12. <div class="comment-header">
  13. Comment by
  14. <TMPL_IF NAME="COMMENTUSER">
  15. <TMPL_IF NAME="COMMENTOPENID">
  16. <span class="author" title="OpenID">
  17. <a href="<TMPL_VAR NAME=COMMENTOPENID>"><TMPL_VAR NAME=COMMENTAUTHOR></a>
  18. </span>
  19. <TMPL_ELSE>
  20. <span class="author" title="Signed in">
  21. <TMPL_IF NAME="COMMENTAUTHORURL">
  22. <a href="<TMPL_VAR NAME=COMMENTAUTHORURL>"><TMPL_VAR NAME=COMMENTAUTHOR></a>
  23. <TMPL_ELSE>
  24. <TMPL_VAR NAME=COMMENTAUTHOR>
  25. </TMPL_IF>
  26. </span>
  27. </TMPL_IF>
  28. <TMPL_ELSE><!-- !COMMENTUSER -->
  29. <TMPL_IF NAME=COMMENTIP>
  30. <span class="author" title="Unauthenticated, from <TMPL_VAR NAME=COMMENTIP>">
  31. <TMPL_ELSE><!-- !COMMENTIP -->
  32. <span class="author" title="Unauthenticated, from unknown IP address">
  33. </TMPL_IF>
  34. <TMPL_IF NAME="AUTHORURL">
  35. <a href="<TMPL_VAR NAME=AUTHORURL>"><TMPL_VAR NAME=AUTHOR></a>
  36. <TMPL_ELSE>
  37. <TMPL_VAR NAME=AUTHOR>
  38. </TMPL_IF>
  39. </span>
  40. </TMPL_IF><!-- !COMMENTUSER -->
  41. &mdash; <TMPL_VAR CTIME>
  42. </div>
  43. <TMPL_IF NAME="HAVE_ACTIONS">
  44. <div class="actions">
  45. <ul>
  46. <TMPL_IF NAME="REMOVEURL">
  47. <li><a href="<TMPL_VAR REMOVEURL>" rel="nofollow">Remove comment</a></li>
  48. </TMPL_IF>
  49. </ul>
  50. </div><!--.actions-->
  51. </TMPL_IF>
  52. </div><!--.comment-->