]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - templates/editpage.tmpl
* Patch from Ethan to improve behavior if a page is deleted or moved while
[git.ikiwiki.info.git] / templates / editpage.tmpl
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html>
4 <head>
5 <base href="<TMPL_VAR BASEURL>" />
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7 <title><TMPL_VAR FORM-TITLE></title>
8 <link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
9 <link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
10 <TMPL_IF NAME="FAVICON">
11 <link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />
12 </TMPL_IF>
13 </head>
14 <body>
15 <TMPL_IF NAME="PAGE_CONFLICT">
16 <p>
17 <b>Your changes conflict with other changes made to the page.</b>
18 </p>
19 <p>
20 Conflict markers have been inserted into the page content. Reconcile the
21 conflict and commit again to save your changes.
22 </p>
23 </TMPL_IF>
24 <TMPL_IF NAME="FAILED_SAVE">
25 <p>
26 <b>Failed to save your changes.</b>
27 </p>
28 <p>
29 Your changes were not able to be saved to disk. The system gave the error:
30 <blockquote>
31 <TMPL_VAR ERROR_MESSAGE>
32 </blockquote>
33 Your changes are preserved below, and you can try again to save them.
34 </p>
35 </TMPL_IF>
36 <TMPL_IF NAME="PAGE_GONE">
37 <p>
38 <b>The page you were editing has disappeared.</b>
39 </p>
40 <p>
41 Perhaps someone else has deleted it or moved it. If you want to recreate
42 this page with your text, click "Save Page" again.
43 </p>
44 </TMPL_IF>
45 <TMPL_VAR FORM-START>
46 <div class="header">
47 <span><TMPL_VAR INDEXLINK>/ <TMPL_VAR FORM-TITLE></span>
48 </div>
49 <TMPL_VAR FIELD-DO>
50 <TMPL_VAR FIELD-FROM>
51 <TMPL_VAR FIELD-RCSINFO>
52 <TMPL_VAR FIELD-NEWFILE>
53 <TMPL_IF NAME="PAGE_SELECT">
54 Page location: <TMPL_VAR FIELD-PAGE>
55 Page type: <TMPL_VAR FIELD-TYPE>
56 <TMPL_ELSE>
57 <br />
58 <TMPL_VAR FIELD-PAGE>
59 <TMPL_VAR FIELD-TYPE>
60 </TMPL_IF>
61 <TMPL_VAR FIELD-EDITCONTENT><br />
62 <TMPL_IF NAME="CAN_COMMIT">
63 Optional comment about this change:<br />
64 <TMPL_VAR FIELD-COMMENTS><br />
65 </TMPL_IF>
66 <input id="_submit" name="_submit" type="submit" value="Save Page" /><input id="_submit_2" name="_submit" type="submit" value="Preview" /><input id="_submit_3" name="_submit" type="submit" value="Cancel" />
67 <TMPL_VAR HELPONFORMATTINGLINK>
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="content">
75 <TMPL_VAR PAGE_PREVIEW>
76 </div>
77 </TMPL_IF>
78 </body>
79 </html>