* Avoid potential syslog format string issue, although only older versions
[ikiwiki.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_VAR FORM-START>
37 <div class="header">
38 <span><TMPL_VAR INDEXLINK>/ <TMPL_VAR FORM-TITLE></span>
39 </div>
40 <TMPL_VAR FIELD-DO>
41 <TMPL_VAR FIELD-FROM>
42 <TMPL_VAR FIELD-RCSINFO>
43 <TMPL_IF NAME="PAGE_SELECT">
44 Page location: <TMPL_VAR FIELD-PAGE>
45 Page type: <TMPL_VAR FIELD-TYPE>
46 <TMPL_ELSE>
47 <br />
48 <TMPL_VAR FIELD-PAGE>
49 <TMPL_VAR FIELD-TYPE>
50 </TMPL_IF>
51 <TMPL_VAR FIELD-EDITCONTENT><br />
52 <TMPL_IF NAME="CAN_COMMIT">
53 Optional comment about this change:<br />
54 <TMPL_VAR FIELD-COMMENTS><br />
55 </TMPL_IF>
56 <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" />
57 <TMPL_VAR HELPONFORMATTINGLINK>
58 <TMPL_VAR FORM-END>
59 <TMPL_IF NAME="PAGE_PREVIEW">
60 <hr />
61 <div class="header">
62 <span>Page preview:</span>
63 </div>
64 <div id="content">
65 <TMPL_VAR PAGE_PREVIEW>
66 </div>
67 </TMPL_IF>
68 </body>
69 </html>