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