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