summaryrefslogtreecommitdiff
path: root/editcomment.tmpl
blob: a2edc691e7cf98dedbfe6195f10791f678842f07 (plain)
  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. <TMPL_ELSE>
  17. (You might want to <a href="<TMPL_VAR SIGNINURL>">Signin</a> first?)
  18. <br />
  19. </TMPL_IF>
  20. </TMPL_UNLESS>
  21. <label for="subject" class="block">Subject:</label>
  22. <TMPL_VAR FIELD-SUBJECT><br />
  23. <label for="editcontent" class="block">Comment:</label>
  24. <TMPL_VAR FIELD-EDITCONTENT><br />
  25. <TMPL_VAR FORM-SUBMIT> <TMPL_VAR FIELD-TYPE> <TMPL_VAR HELPONFORMATTINGLINK><br />
  26. <TMPL_VAR NAME="FORM-END">
  27. <TMPL_VAR WMD_PREVIEW>
  28. <TMPL_IF NAME="PAGE_PREVIEW">
  29. <hr />
  30. <div class="header">
  31. <span>Comment preview:</span>
  32. </div><!-- .header -->
  33. <div id="preview">
  34. <TMPL_VAR PAGE_PREVIEW>
  35. </div><!-- #preview -->
  36. </TMPL_IF>
  37. </div><!-- .editcomment -->