summaryrefslogtreecommitdiff
path: root/templates/editpage.tmpl
blob: 36b616f5b7d7df80d6d4922b7f13281f85ec39a3 (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=attachment><p>
  65. Attach a file: <TMPL_VAR FIELD-ATTACHMENT><input name="_submit" type="submit" value="Upload" />
  66. </p></div>
  67. </TMPL_IF>
  68. <TMPL_VAR FORM-END>
  69. <TMPL_IF NAME="PAGE_PREVIEW">
  70. <hr />
  71. <div class="header">
  72. <span>Page preview:</span>
  73. </div>
  74. <div id="preview">
  75. <TMPL_VAR PAGE_PREVIEW>
  76. </div>
  77. </TMPL_IF>