summaryrefslogtreecommitdiff
path: root/templates/comments_form.tmpl
blob: 9a9455f99b98a5d6c8278962a44233bb646e83a2 (plain)
  1. <div class="comments-form">
  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. <TMPL_IF NAME=USERNAME>
  8. Signed in as <TMPL_VAR NAME=USERNAME ESCAPE=HTML><br />
  9. <TMPL_ELSE>
  10. <TMPL_IF NAME=ALLOWAUTHOR>
  11. Name: <TMPL_VAR NAME=FIELD-AUTHOR> (optional)<br />
  12. Website: <TMPL_VAR NAME=FIELD-URL> (optional)<br />
  13. </TMPL_IF>
  14. </TMPL_IF>
  15. Subject: <TMPL_VAR FIELD-SUBJECT><br />
  16. <TMPL_VAR FIELD-EDITCONTENT><br />
  17. Page type: <TMPL_VAR FIELD-TYPE><br />
  18. <TMPL_VAR FORM-SUBMIT><br />
  19. <TMPL_VAR HELPONFORMATTINGLINK><br />
  20. A subset of HTML is allowed.<br />
  21. IkiWiki directives ([[!directive]]) are <TMPL_UNLESS NAME="ALLOWDIRECTIVES">not </TMPL_UNLESS>allowed in comments on this wiki.<br />
  22. <TMPL_VAR NAME="FORM-END">
  23. <TMPL_IF NAME="PAGE_PREVIEW">
  24. <hr />
  25. <div class="header">
  26. <span>Comment preview:</span>
  27. </div><!-- .header -->
  28. <div id="preview">
  29. <TMPL_VAR PAGE_PREVIEW>
  30. </div><!-- #preview -->
  31. </TMPL_IF>
  32. </div><!-- .comments-form -->