]> sipb.mit.edu Git - ikiwiki.git/blob - templates/editpage.tmpl
Merge commit 'ecdfd1b8644bc926db008054ab6192e18351afed' into sipb
[ikiwiki.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 <div class="license">
41     <p>By submitting content to this wiki, you agree to release your work under
42     the dual license of</p>
43     <ul>
44       <li>the Creative Commons Attribution-Share Alike license, and</li>
45       <li>the GNU Free Documentation License, with no Invariant Sections, no
46          Front-Cover Texts, and no Back-Cover-Texts.</li>
47     </ul>
48 </div>
49 <TMPL_VAR FORM-END>
50 <TMPL_VAR WMD_PREVIEW>
51
52 <TMPL_IF NAME="PAGE_PREVIEW">
53 <hr />
54 <div class="header">
55 <span>Page preview:</span>
56 </div>
57 <div id="preview">
58 <TMPL_VAR PAGE_PREVIEW>
59 </div>
60 </TMPL_IF>
61 <TMPL_IF NAME="PAGE_DIFF">
62 <hr />
63 <div class="header">
64 <span>Diff:</span>
65 </div>
66 <div id="diff">
67 <TMPL_VAR PAGE_DIFF>
68 </div>
69 </TMPL_IF>