* Split off an IkiWiki.pm out of ikiwiki and have all the other modules use
[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 <TMPL_IF NAME="BASEURL">
6 <base href="<TMPL_VAR BASEURL>" />
7 </TMPL_IF>
8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9 <title><TMPL_VAR FORM-TITLE></title>
10 <link rel="stylesheet" href="<TMPL_VAR STYLEURL>" type="text/css" />
11 </head>
12 <body>
13 <TMPL_IF NAME="PAGE_CONFLICT">
14 <p>
15 <b>Your changes confict with other changes made to the page.</b>
16 </p>
17 <p>
18 Conflict markers have been inserted into the page content. Reconcile the
19 confict and commit again to save your changes.
20 </p>
21 </TMPL_IF>
22 <TMPL_VAR FORM-START>
23 <h1><TMPL_VAR INDEXLINK>/ <TMPL_VAR FORM-TITLE></h1>
24 <TMPL_VAR FIELD-DO>
25 <TMPL_VAR FIELD-FROM>
26 <TMPL_VAR FIELD-RCSINFO>
27 <TMPL_IF NAME="PAGE_SELECT">
28 Page location: <TMPL_VAR FIELD-PAGE><br />
29 <TMPL_ELSE>
30 <TMPL_VAR FIELD-PAGE>
31 </TMPL_IF>
32 <TMPL_VAR FIELD-CONTENT><br />
33 <TMPL_IF NAME="CAN_COMMIT">
34 Optional comment about this change:<br />
35 <TMPL_VAR FIELD-COMMENTS><br />
36 </TMPL_IF>
37 <TMPL_VAR FORM-SUBMIT>
38 <TMPL_VAR FORM-END>
39 <hr />
40 <TMPL_IF NAME="PAGE_PREVIEW">
41 <div id="header">
42 <h1>Page preview:</h1>
43 </div>
44 <div id="content">
45 <TMPL_VAR PAGE_PREVIEW>
46 </div>
47 <TMPL_ELSE>
48 <TMPL_VAR HELPONFORMATTINGLINK>
49 </TMPL_IF>
50 </body>
51 </html>