editcomment.tmpl 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <div class="editcomment">
  2. <TMPL_VAR MESSAGE>
  3. <br />
  4. <TMPL_VAR FORM-START>
  5. <TMPL_VAR FIELD-DO>
  6. <TMPL_VAR FIELD-SID>
  7. <TMPL_VAR FIELD-PAGE>
  8. <TMPL_UNLESS NAME=USERNAME>
  9. <TMPL_IF NAME=ALLOWAUTHOR>
  10. <label for="author" class="block">Name:</label>
  11. <TMPL_VAR NAME=FIELD-AUTHOR> (optional, or <a href="<TMPL_VAR SIGNINURL>">signin</a>)
  12. <br/>
  13. <label for="url" class="block">Website:</label>
  14. <TMPL_VAR NAME=FIELD-URL> (optional)
  15. <br />
  16. <label for="url" class="block">Email:</label>
  17. <TMPL_VAR NAME=FIELD-EMAIL> <TMPL_VAR FIELD-ANONSUBSCRIBE>
  18. <br />
  19. <TMPL_ELSE>
  20. (You might want to <a href="<TMPL_VAR SIGNINURL>">Signin</a> first?)
  21. <br />
  22. </TMPL_IF>
  23. </TMPL_UNLESS>
  24. <label for="subject" class="block">Subject:</label>
  25. <TMPL_VAR FIELD-SUBJECT><br />
  26. <label for="editcontent" class="block">Comment:</label>
  27. <TMPL_VAR FIELD-EDITCONTENT><br />
  28. <TMPL_VAR FORM-SUBMIT> <TMPL_VAR FIELD-TYPE> <TMPL_VAR HELPONFORMATTINGLINK>
  29. <TMPL_VAR FIELD-SUBSCRIBE><br />
  30. <TMPL_VAR NAME="FORM-END">
  31. <TMPL_VAR WMD_PREVIEW>
  32. <TMPL_IF NAME="PAGE_PREVIEW">
  33. <hr />
  34. <div class="header">
  35. <span>Comment preview:</span>
  36. </div><!-- .header -->
  37. <div id="preview">
  38. <TMPL_VAR PAGE_PREVIEW>
  39. </div><!-- #preview -->
  40. </TMPL_IF>
  41. </div><!-- .editcomment -->