]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - templates/editpage.tmpl
style.css: Improvements to make floating sidebar fit better on pages with inlines.
[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 <div class="editcontentdiv">
21 <TMPL_VAR FIELD-EDITCONTENT><br />
22 </div>
23 </li>
24 <TMPL_IF NAME="CAN_COMMIT">
25 <li>
26 <label for="comments" class="block">Optional comment about this change:</label>
27 <TMPL_VAR FIELD-COMMENTS><br />
28 </li>
29 </TMPL_IF>
30 </ol>
31 <TMPL_VAR FORM-SUBMIT>
32 <TMPL_VAR HELPONFORMATTINGLINK>
33 <TMPL_IF NAME="FIELD-ATTACHMENT">
34 <a class="toggle" href="#attachments">Attachments</a>
35 <div class="<TMPL_VAR ATTACHMENTS-CLASS>" id="attachments">
36 <table>
37 <tr><td colspan="5"><TMPL_VAR FIELD-ATTACHMENT><TMPL_VAR FIELD-UPLOAD></td></tr>
38 <TMPL_LOOP NAME="ATTACHMENT_LIST">
39 <tr><td><TMPL_VAR FIELD-SELECT><TMPL_VAR LINK></td><td><TMPL_VAR SIZE></td><td><TMPL_VAR MTIME></td></tr>
40 </TMPL_LOOP>
41 <TMPL_IF NAME="ATTACHMENT_LIST">
42 <tr><td colspan="2"><TMPL_VAR FIELD-LINK><TMPL_VAR FIELD-RENAME><TMPL_VAR FIELD-REMOVE></td></tr>
43 </TMPL_IF>
44 </table>
45 </div>
46 </TMPL_IF>
47 <TMPL_VAR FORM-END>
48 <TMPL_VAR WMD_PREVIEW>
50 <TMPL_IF NAME="PAGE_PREVIEW">
51 <hr />
52 <div class="header">
53 <span>Page preview:</span>
54 </div>
55 <div id="preview">
56 <TMPL_VAR PAGE_PREVIEW>
57 </div>
58 </TMPL_IF>
59 <TMPL_IF NAME="PAGE_DIFF">
60 <hr />
61 <div class="header">
62 <span>Diff:</span>
63 </div>
64 <div id="diff">
65 <TMPL_VAR PAGE_DIFF>
66 </div>
67 </TMPL_IF>