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