summaryrefslogtreecommitdiff
path: root/editpage.tmpl
blob: 00ec9e1aefa31cc8c7e5a142bf322ff1b2c9d96c (plain)
  1. <TMPL_VAR JAVASCRIPT>
  2. <TMPL_VAR MESSAGE>
  3. <br />
  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. <label for="page" class="inline">Sideplacering:</label><TMPL_VAR FIELD-PAGE>
  12. <label for="type" class="inline">Sidetype:</label><TMPL_VAR FIELD-TYPE>
  13. <TMPL_ELSE>
  14. <TMPL_VAR FIELD-PAGE>
  15. <TMPL_VAR FIELD-TYPE>
  16. </TMPL_IF>
  17. <div class="editcontentdiv">
  18. <TMPL_VAR FIELD-EDITCONTENT><br />
  19. </div>
  20. <TMPL_IF NAME="CAN_COMMIT">
  21. <label for="editmessage" class="block">Valgfri kommentar om denne ændring:</label>
  22. <TMPL_VAR FIELD-EDITMESSAGE><br />
  23. </TMPL_IF>
  24. <TMPL_VAR FORM-SUBMIT>
  25. <TMPL_VAR HELPONFORMATTINGLINK>
  26. <TMPL_IF NAME="FIELD-ATTACHMENT">
  27. <a class="toggle" href="#attachments">Vedhæftninger</a>
  28. <div class="<TMPL_VAR ATTACHMENTS-CLASS>" id="attachments">
  29. <table>
  30. <tr><td colspan="5"><TMPL_VAR FIELD-ATTACHMENT><TMPL_VAR FIELD-UPLOAD></td></tr>
  31. <TMPL_LOOP NAME="ATTACHMENT_LIST">
  32. <tr><td><TMPL_VAR FIELD-SELECT><TMPL_VAR LINK></td><td><TMPL_VAR SIZE></td><td><TMPL_VAR MTIME></td></tr>
  33. </TMPL_LOOP>
  34. <TMPL_IF NAME="ATTACHMENT_LIST">
  35. <tr><td colspan="2"><TMPL_VAR FIELD-LINK><TMPL_VAR FIELD-RENAME><TMPL_VAR FIELD-REMOVE></td></tr>
  36. </TMPL_IF>
  37. </table>
  38. </div>
  39. </TMPL_IF>
  40. <TMPL_VAR FORM-END>
  41. <TMPL_VAR WMD_PREVIEW>
  42. <TMPL_IF NAME="PAGE_PREVIEW">
  43. <hr />
  44. <div class="header">
  45. <span>Smugkig:</span>
  46. </div>
  47. <div id="preview">
  48. <TMPL_VAR PAGE_PREVIEW>
  49. </div>
  50. </TMPL_IF>
  51. <TMPL_IF NAME="PAGE_DIFF">
  52. <hr />
  53. <div class="header">
  54. <span>Diff:</span>
  55. </div>
  56. <div id="diff">
  57. <TMPL_VAR PAGE_DIFF>
  58. </div>
  59. </TMPL_IF>