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