header can appear more than one time, so is a class, not an id
[ikiwiki] / 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 <div class="header">
24 <span><TMPL_VAR INDEXLINK>/ <TMPL_VAR FORM-TITLE></span>
25 </div>
26 <TMPL_VAR FIELD-DO>
27 <TMPL_VAR FIELD-FROM>
28 <TMPL_VAR FIELD-RCSINFO>
29 <TMPL_IF NAME="PAGE_SELECT">
30 Page location: <TMPL_VAR FIELD-PAGE><br />
31 <TMPL_ELSE>
32 <TMPL_VAR FIELD-PAGE>
33 </TMPL_IF>
34 <TMPL_VAR FIELD-CONTENT><br />
35 <TMPL_IF NAME="CAN_COMMIT">
36 Optional comment about this change:<br />
37 <TMPL_VAR FIELD-COMMENTS><br />
38 </TMPL_IF>
39 <TMPL_VAR FORM-SUBMIT>
40 <TMPL_VAR FORM-END>
41 <hr />
42 <TMPL_IF NAME="PAGE_PREVIEW">
43 <div class="header">
44 <span>Page preview:</span>
45 </div>
46 <div id="content">
47 <TMPL_VAR PAGE_PREVIEW>
48 </div>
49 <TMPL_ELSE>
50 <TMPL_VAR HELPONFORMATTINGLINK>
51 </TMPL_IF>
52 </body>
53 </html>