]> sipb.mit.edu Git - ikiwiki.git/blob - templates/editpage.tmpl
improve fix for symlink attacks to check subdirectories for symlinks too
[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 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <title><TMPL_VAR FORM-TITLE></title>
7 <link rel="stylesheet" href="<TMPL_VAR STYLEURL>" type="text/css" />
8 </head>
9 <body>
10 <TMPL_IF NAME="PAGE_CONFLICT">
11 <p>
12 <b>Your changes confict with other changes made to the page.</b>
13 </p>
14 <p>
15 Conflict markers have been inserted into the page content. Reconcile the
16 confict and commit again to save your changes.
17 </p>
18 </TMPL_IF>
19 <TMPL_VAR FORM-START>
20 <h1><TMPL_VAR INDEXLINK>/ <TMPL_VAR FORM-TITLE></h1>
21 <TMPL_VAR FIELD-DO>
22 <TMPL_VAR FIELD-FROM>
23 <TMPL_VAR FIELD-RCSINFO>
24 <TMPL_IF NAME="PAGE_SELECT">
25 Page location: <TMPL_VAR FIELD-PAGE><br />
26 <TMPL_ELSE>
27 <TMPL_VAR FIELD-PAGE>
28 </TMPL_IF>
29 <TMPL_VAR FIELD-CONTENT><br />
30 <TMPL_IF NAME="CAN_COMMIT">
31 Optional comment about this change:<br />
32 <TMPL_VAR FIELD-COMMENTS><br />
33 </TMPL_IF>
34 <TMPL_VAR FORM-SUBMIT>
35 <TMPL_VAR FORM-END>
36 <hr />
37 <TMPL_IF NAME="PAGE_PREVIEW">
38 <div id="header">
39 <h1>Page preview:</h1>
40 </div>
41 <div id="content">
42 <TMPL_VAR PAGE_PREVIEW>
43 </div>
44 <TMPL_ELSE>
45 <TMPL_VAR HELPONFORMATTINGLINK>
46 </TMPL_IF>
47 </body>
48 </html>