summaryrefslogtreecommitdiff
path: root/templates/editpage.tmpl
blob: 118ca455046ad414f1e41366d7fbb16b33e984e4 (plain)
  1. <TMPL_VAR JAVASCRIPT>
  2. <TMPL_VAR MESSAGE>
  3. <TMPL_VAR FORM-START>
  4. <TMPL_VAR FIELD-DO>
  5. <TMPL_VAR FIELD-SID>
  6. <TMPL_VAR FIELD-FROM>
  7. <TMPL_VAR FIELD-RCSINFO>
  8. <TMPL_VAR FIELD-NEWFILE>
  9. <ol class="form">
  10. <TMPL_IF NAME="PAGE_SELECT">
  11. <li>
  12. <label for="page" class="inline">Page location:</label><TMPL_VAR FIELD-PAGE>
  13. <label for="type" class="inline">Page type:</label><TMPL_VAR FIELD-TYPE>
  14. </li>
  15. <TMPL_ELSE>
  16. <TMPL_VAR FIELD-PAGE>
  17. <TMPL_VAR FIELD-TYPE>
  18. </TMPL_IF>
  19. <li>
  20. <TMPL_VAR FIELD-EDITCONTENT><br />
  21. </li>
  22. <TMPL_IF NAME="CAN_COMMIT">
  23. <li>
  24. <label for="comments" class="block">Optional comment about this change:</label>
  25. <TMPL_VAR FIELD-COMMENTS><br />
  26. </li>
  27. </TMPL_IF>
  28. </ol>
  29. <TMPL_VAR FORM-SUBMIT>
  30. <TMPL_VAR HELPONFORMATTINGLINK>
  31. <TMPL_IF NAME="FIELD-ATTACHMENT">
  32. <a class="toggle" href="#attachments">Attachments</a>
  33. <div class="<TMPL_VAR ATTACHMENTS-CLASS>" id="attachments">
  34. <table>
  35. <tr><td colspan="5"><TMPL_VAR FIELD-ATTACHMENT><TMPL_VAR FIELD-UPLOAD></td></tr>
  36. <TMPL_LOOP NAME="ATTACHMENT_LIST">
  37. <tr><td><TMPL_VAR FIELD-SELECT><TMPL_VAR LINK></td><td><TMPL_VAR SIZE></td><td><TMPL_VAR MTIME></td></tr>
  38. </TMPL_LOOP>
  39. <TMPL_IF NAME="ATTACHMENT_LIST">
  40. <tr><td colspan="2"><TMPL_VAR FIELD-LINK><TMPL_VAR FIELD-RENAME><TMPL_VAR FIELD-REMOVE></td></tr>
  41. </TMPL_IF>
  42. </table>
  43. </div>
  44. </TMPL_IF>
  45. <TMPL_VAR FORM-END>
  46. <TMPL_VAR WMD_PREVIEW>
  47. <TMPL_IF NAME="PAGE_PREVIEW">
  48. <hr />
  49. <div class="header">
  50. <span>Page preview:</span>
  51. </div>
  52. <div id="preview">
  53. <TMPL_VAR PAGE_PREVIEW>
  54. </div>
  55. </TMPL_IF>
  56. <TMPL_IF NAME="PAGE_DIFF">
  57. <hr />
  58. <div class="header">
  59. <span>Diff:</span>
  60. </div>
  61. <div id="diff">
  62. <TMPL_VAR PAGE_DIFF>
  63. </div>
  64. </TMPL_IF>