summaryrefslogtreecommitdiff
path: root/templates/editpage.tmpl
blob: 1a27beb6f7dcdce9fd85c3d93b80b217f56757a2 (plain)
  1. <TMPL_IF NAME="PAGE_CONFLICT">
  2. <p>
  3. <b>Your changes conflict with other changes made to the page.</b>
  4. </p>
  5. <p>
  6. Conflict markers have been inserted into the page content. Reconcile the
  7. conflict and commit again to save your changes.
  8. </p>
  9. </TMPL_IF>
  10. <TMPL_IF NAME="FAILED_SAVE">
  11. <p>
  12. <b>Failed to save your changes.</b>
  13. </p>
  14. <p>
  15. Your changes were not able to be saved to disk. The system gave the error:
  16. <blockquote>
  17. <TMPL_VAR ERROR_MESSAGE>
  18. </blockquote>
  19. Your changes are preserved below, and you can try again to save them.
  20. </p>
  21. </TMPL_IF>
  22. <TMPL_IF NAME="PAGE_GONE">
  23. <p>
  24. <b>The page you were editing has disappeared.</b>
  25. </p>
  26. <p>
  27. Perhaps someone else has deleted it or moved it. If you want to recreate
  28. this page with your text, click "Save Page" again.
  29. </p>
  30. </TMPL_IF>
  31. <TMPL_IF NAME="CREATION_CONFLICT">
  32. <p>
  33. <b>While you were creating this page, someone else independently created a page
  34. with the same name.</b>
  35. </p>
  36. <p>
  37. The edit box below contains the page's current content, followed by the
  38. content you entered previously, to allow you to merge the two
  39. together before saving.
  40. </p>
  41. </TMPL_IF>
  42. <TMPL_VAR FORM-START>
  43. <TMPL_VAR FIELD-DO>
  44. <TMPL_VAR FIELD-SID>
  45. <TMPL_VAR FIELD-FROM>
  46. <TMPL_VAR FIELD-RCSINFO>
  47. <TMPL_VAR FIELD-NEWFILE>
  48. <TMPL_IF NAME="PAGE_SELECT">
  49. Page location: <TMPL_VAR FIELD-PAGE>
  50. Page type: <TMPL_VAR FIELD-TYPE>
  51. <TMPL_ELSE>
  52. <br />
  53. <TMPL_VAR FIELD-PAGE>
  54. <TMPL_VAR FIELD-TYPE>
  55. </TMPL_IF>
  56. <TMPL_VAR FIELD-EDITCONTENT><br />
  57. <TMPL_IF NAME="CAN_COMMIT">
  58. Optional comment about this change:<br />
  59. <TMPL_VAR FIELD-COMMENTS><br />
  60. </TMPL_IF>
  61. <TMPL_VAR FORM-SUBMIT>
  62. <TMPL_VAR HELPONFORMATTINGLINK>
  63. <TMPL_IF NAME="FIELD-ATTACHMENT">
  64. <div id=attachments>
  65. <br />
  66. <table><caption>Attachments</caption>
  67. <tr><td colspan=5><TMPL_VAR FIELD-ATTACHMENT><TMPL_VAR FIELD-UPLOAD></td></tr>
  68. <TMPL_LOOP NAME="ATTACHMENT_LIST">
  69. <tr><td><TMPL_VAR FIELD-SELECT><TMPL_VAR LINK></td><td><TMPL_VAR SIZE></td><td><TMPL_VAR MTIME></td></tr>
  70. </TMPL_LOOP>
  71. <TMPL_IF NAME="ATTACHMENT_LIST">
  72. <tr><td colspan=2><TMPL_VAR FIELD-LINK><TMPL_VAR FIELD-DELETE><TMPL_VAR FIELD-RENAME></td></tr>
  73. </TMPL_IF>
  74. </tr>
  75. </table>
  76. </div>
  77. </TMPL_IF>
  78. <TMPL_VAR FORM-END>
  79. <TMPL_IF NAME="PAGE_PREVIEW">
  80. <hr />
  81. <div class="header">
  82. <span>Page preview:</span>
  83. </div>
  84. <div id="preview">
  85. <TMPL_VAR PAGE_PREVIEW>
  86. </div>
  87. </TMPL_IF>