]> sipb.mit.edu Git - ikiwiki.git/blob - templates/editpage.tmpl
* Fixed a bug with previews of subpages having broken links to top-level
[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 </head>
10 <body>
11 <TMPL_IF NAME="PAGE_CONFLICT">
12 <p>
13 <b>Your changes confict with other changes made to the page.</b>
14 </p>
15 <p>
16 Conflict markers have been inserted into the page content. Reconcile the
17 confict and commit again to save your changes.
18 </p>
19 </TMPL_IF>
20 <TMPL_VAR FORM-START>
21 <div class="header">
22 <span><TMPL_VAR INDEXLINK>/ <TMPL_VAR FORM-TITLE></span>
23 </div>
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>
29 Page type: <TMPL_VAR FIELD-TYPE>
30 <TMPL_ELSE>
31 <br />
32 <TMPL_VAR FIELD-PAGE>
33 <TMPL_VAR FIELD-TYPE>
34 </TMPL_IF>
35 <TMPL_VAR FIELD-EDITCONTENT><br />
36 <TMPL_IF NAME="CAN_COMMIT">
37 Optional comment about this change:<br />
38 <TMPL_VAR FIELD-COMMENTS><br />
39 </TMPL_IF>
40 <TMPL_VAR FORM-SUBMIT>
41 <TMPL_VAR HELPONFORMATTINGLINK>
42 <TMPL_VAR FORM-END>
43 <TMPL_IF NAME="PAGE_PREVIEW">
44 <hr />
45 <div class="header">
46 <span>Page preview:</span>
47 </div>
48 <div id="content">
49 <TMPL_VAR PAGE_PREVIEW>
50 </div>
51 </TMPL_IF>
52 </body>
53 </html>