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