use openlogo-50_blackribbon.png for a while
[mirror/dsa-wiki.git] / templates / editpage.tmpl
1 <br />
2 <TMPL_VAR JAVASCRIPT>
3 <TMPL_VAR MESSAGE>
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 Page location: <TMPL_VAR FIELD-PAGE>
12 Page type: <TMPL_VAR FIELD-TYPE>
13 <TMPL_ELSE>
14 <br />
15 <TMPL_VAR FIELD-PAGE>
16 <TMPL_VAR FIELD-TYPE>
17 </TMPL_IF>
18 <TMPL_VAR FIELD-EDITCONTENT><br />
19 <TMPL_IF NAME="CAN_COMMIT">
20 Optional comment about this change:<br />
21 <TMPL_VAR FIELD-COMMENTS><br />
22 </TMPL_IF>
23 <TMPL_VAR FORM-SUBMIT>
24 <TMPL_VAR HELPONFORMATTINGLINK>
25 <TMPL_IF NAME="FIELD-ATTACHMENT">
26 <a class="toggle" href="#attachments">Attachments</a>
27 <div class="<TMPL_VAR ATTACHMENTS-CLASS>" id="attachments">
28 <table>
29 <tr><td colspan="5"><TMPL_VAR FIELD-ATTACHMENT><TMPL_VAR FIELD-UPLOAD></td></tr>
30 <TMPL_LOOP NAME="ATTACHMENT_LIST">
31 <tr><td><TMPL_VAR FIELD-SELECT><TMPL_VAR LINK></td><td><TMPL_VAR SIZE></td><td><TMPL_VAR MTIME></td></tr>
32 </TMPL_LOOP>
33 <TMPL_IF NAME="ATTACHMENT_LIST">
34 <tr><td colspan="2"><TMPL_VAR FIELD-LINK><TMPL_VAR FIELD-RENAME><TMPL_VAR FIELD-REMOVE></td></tr>
35 </TMPL_IF>
36 </table>
37 </div>
38 </TMPL_IF>
39 <TMPL_VAR FORM-END>
40 <TMPL_VAR WMD_PREVIEW>
41
42 <TMPL_IF NAME="PAGE_PREVIEW">
43 <hr />
44 <div class="header">
45 <span>Page preview:</span>
46 </div>
47 <div id="preview">
48 <TMPL_VAR PAGE_PREVIEW>
49 </div>
50 </TMPL_IF>