summaryrefslogtreecommitdiff
path: root/templates/editpage.tmpl
blob: 36076cb3534bfb269e2cb174784be90ceee88deb (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. <div class="editcontentdiv">
  21. <TMPL_VAR FIELD-EDITCONTENT><br />
  22. </div>
  23. </li>
  24. <TMPL_IF NAME="CAN_COMMIT">
  25. <li>
  26. <label for="comments" class="block">Optional comment about this change:</label>
  27. <TMPL_VAR FIELD-COMMENTS><br />
  28. </li>
  29. </TMPL_IF>
  30. </ol>
  31. <TMPL_VAR FORM-SUBMIT>
  32. <TMPL_VAR HELPONFORMATTINGLINK>
  33. <TMPL_IF NAME="FIELD-ATTACHMENT">
  34. <a class="toggle" href="#attachments">Attachments</a>
  35. <div class="<TMPL_VAR ATTACHMENTS-CLASS>" id="attachments">
  36. <table>
  37. <tr><td colspan="5"><TMPL_VAR FIELD-ATTACHMENT><TMPL_VAR FIELD-UPLOAD></td></tr>
  38. <TMPL_LOOP NAME="ATTACHMENT_LIST">
  39. <tr><td><TMPL_VAR FIELD-SELECT><TMPL_VAR LINK></td><td><TMPL_VAR SIZE></td><td><TMPL_VAR MTIME></td></tr>
  40. </TMPL_LOOP>
  41. <TMPL_IF NAME="ATTACHMENT_LIST">
  42. <tr><td colspan="2"><TMPL_VAR FIELD-LINK><TMPL_VAR FIELD-RENAME><TMPL_VAR FIELD-REMOVE></td></tr>
  43. </TMPL_IF>
  44. </table>
  45. </div>
  46. </TMPL_IF>
  47. <TMPL_VAR FORM-END>
  48. <TMPL_VAR WMD_PREVIEW>
  49. <TMPL_IF NAME="PAGE_PREVIEW">
  50. <hr />
  51. <div class="header">
  52. <span>Page preview:</span>
  53. </div>
  54. <div id="preview">
  55. <TMPL_VAR PAGE_PREVIEW>
  56. </div>
  57. </TMPL_IF>
  58. <TMPL_IF NAME="PAGE_DIFF">
  59. <hr />
  60. <div class="header">
  61. <span>Diff:</span>
  62. </div>
  63. <div id="diff">
  64. <TMPL_VAR PAGE_DIFF>
  65. </div>
  66. </TMPL_IF>