]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - templates/editpage.tmpl
Fix issues with combining unicode srcdirs and source files.
[git.ikiwiki.info.git] / templates / editpage.tmpl
1 <TMPL_VAR JAVASCRIPT>
2 <TMPL_VAR MESSAGE>
3 <br />
4 <TMPL_VAR FORM-START>
5 <TMPL_VAR FIELD-DO>
6 <TMPL_VAR FIELD-SID>
7 <TMPL_VAR FIELD-FROM>
8 <TMPL_VAR FIELD-RCSINFO>
9 <TMPL_VAR FIELD-NEWFILE>
10 <TMPL_IF NAME="PAGE_SELECT">
11 <label for="page" class="inline">Page location:</label><TMPL_VAR FIELD-PAGE>
12 <label for="type" class="inline">Page type:</label><TMPL_VAR FIELD-TYPE>
13 <TMPL_ELSE>
14 <TMPL_VAR FIELD-PAGE>
15 <TMPL_VAR FIELD-TYPE>
16 </TMPL_IF>
17 <div class="editcontentdiv">
18 <TMPL_VAR FIELD-EDITCONTENT><br />
19 </div>
20 <TMPL_IF NAME="CAN_COMMIT">
21 <label for="editmessage" class="block">Optional comment about this change:</label>
22 <TMPL_VAR FIELD-EDITMESSAGE><br />
23 </TMPL_IF>
24 <TMPL_VAR FORM-SUBMIT>
25 <TMPL_VAR HELPONFORMATTINGLINK>
26 <TMPL_IF NAME="FIELD-ATTACHMENT">
27 <a class="toggle" href="#attachments">Attachments</a>
28 <div class="<TMPL_VAR ATTACHMENTS-CLASS>" id="attachments">
29 <table>
30 <tr><td colspan="5"><TMPL_VAR FIELD-ATTACHMENT><TMPL_VAR FIELD-UPLOAD></td></tr>
31 <TMPL_LOOP NAME="ATTACHMENT_LIST">
32 <tr><td><TMPL_VAR FIELD-SELECT><TMPL_VAR LINK></td><td><TMPL_VAR SIZE></td><td><TMPL_VAR MTIME></td></tr>
33 </TMPL_LOOP>
34 <TMPL_IF NAME="ATTACHMENT_LIST">
35 <tr><td colspan="2"><TMPL_VAR FIELD-LINK><TMPL_VAR FIELD-RENAME><TMPL_VAR FIELD-REMOVE></td></tr>
36 </TMPL_IF>
37 </table>
38 </div>
39 </TMPL_IF>
40 <TMPL_VAR FORM-END>
41 <TMPL_VAR WMD_PREVIEW>
43 <TMPL_IF NAME="PAGE_PREVIEW">
44 <hr />
45 <div class="header">
46 <span>Page preview:</span>
47 </div>
48 <div id="preview">
49 <TMPL_VAR PAGE_PREVIEW>
50 </div>
51 </TMPL_IF>
52 <TMPL_IF NAME="PAGE_DIFF">
53 <hr />
54 <div class="header">
55 <span>Diff:</span>
56 </div>
57 <div id="diff">
58 <TMPL_VAR PAGE_DIFF>
59 </div>
60 </TMPL_IF>