* pagetemplate hooks are now also called when generating cgi pages.
[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/png" />
12 </TMPL_IF>
13 </head>
14 <body>
15 <TMPL_IF NAME="PAGE_CONFLICT">
16 <p>
17 <b>Your changes confict 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 confict and commit again to save your changes.
22 </p>
23 </TMPL_IF>
24 <TMPL_VAR FORM-START>
25 <div class="header">
26 <span><TMPL_VAR INDEXLINK>/ <TMPL_VAR FORM-TITLE></span>
27 </div>
28 <TMPL_VAR FIELD-DO>
29 <TMPL_VAR FIELD-FROM>
30 <TMPL_VAR FIELD-RCSINFO>
31 <TMPL_IF NAME="PAGE_SELECT">
32 Page location: <TMPL_VAR FIELD-PAGE>
33 Page type: <TMPL_VAR FIELD-TYPE>
34 <TMPL_ELSE>
35 <br />
36 <TMPL_VAR FIELD-PAGE>
37 <TMPL_VAR FIELD-TYPE>
38 </TMPL_IF>
39 <TMPL_VAR FIELD-EDITCONTENT><br />
40 <TMPL_IF NAME="CAN_COMMIT">
41 Optional comment about this change:<br />
42 <TMPL_VAR FIELD-COMMENTS><br />
43 </TMPL_IF>
44 <TMPL_VAR FORM-SUBMIT>
45 <TMPL_VAR HELPONFORMATTINGLINK>
46 <TMPL_VAR FORM-END>
47 <TMPL_IF NAME="PAGE_PREVIEW">
48 <hr />
49 <div class="header">
50 <span>Page preview:</span>
51 </div>
52 <div id="content">
53 <TMPL_VAR PAGE_PREVIEW>
54 </div>
55 </TMPL_IF>
56 </body>
57 </html>