]> sipb.mit.edu Git - ikiwiki.git/blob - templates/editpage.tmpl
fixed
[ikiwiki.git] / templates / editpage.tmpl
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-FROM>
45 <TMPL_VAR FIELD-RCSINFO>
46 <TMPL_VAR FIELD-NEWFILE>
47 <TMPL_IF NAME="PAGE_SELECT">
48 Page location: <TMPL_VAR FIELD-PAGE>
49 Page type: <TMPL_VAR FIELD-TYPE>
50 <TMPL_ELSE>
51 <br />
52 <TMPL_VAR FIELD-PAGE>
53 <TMPL_VAR FIELD-TYPE>
54 </TMPL_IF>
55 <TMPL_VAR FIELD-EDITCONTENT><br />
56 <TMPL_IF NAME="CAN_COMMIT">
57 Optional comment about this change:<br />
58 <TMPL_VAR FIELD-COMMENTS><br />
59 </TMPL_IF>
60 <input id="_submit" name="_submit" type="submit" value="Save Page" />
61 <input id="_submit_2" name="_submit" type="submit" value="Preview" />
62 <input id="_submit_3" name="_submit" type="submit" value="Cancel" />
63 <TMPL_VAR HELPONFORMATTINGLINK>
64 <TMPL_VAR FORM-END>
65
66 <TMPL_IF NAME="PAGE_PREVIEW">
67 <hr />
68 <div class="header">
69 <span>Page preview:</span>
70 </div>
71 <div id="preview">
72 <TMPL_VAR PAGE_PREVIEW>
73 </div>
74 </TMPL_IF>