ikiwiki/templates/editpage.tmpl

68 lines
1.6 KiB
Cheetah
Raw Normal View History

<TMPL_VAR JAVASCRIPT>
<TMPL_VAR MESSAGE>
<TMPL_VAR FORM-START>
<TMPL_VAR FIELD-DO>
<TMPL_VAR FIELD-SID>
<TMPL_VAR FIELD-FROM>
<TMPL_VAR FIELD-RCSINFO>
<TMPL_VAR FIELD-NEWFILE>
<ol class="form">
<TMPL_IF NAME="PAGE_SELECT">
<li>
<label for="page" class="inline">Page location:</label><TMPL_VAR FIELD-PAGE>
<label for="type" class="inline">Page type:</label><TMPL_VAR FIELD-TYPE>
</li>
<TMPL_ELSE>
<TMPL_VAR FIELD-PAGE>
<TMPL_VAR FIELD-TYPE>
</TMPL_IF>
<li>
<div class="editcontentdiv">
<TMPL_VAR FIELD-EDITCONTENT><br />
</div>
</li>
<TMPL_IF NAME="CAN_COMMIT">
<li>
<label for="editmessage" class="block">Optional comment about this change:</label>
<TMPL_VAR FIELD-EDITMESSAGE><br />
</li>
</TMPL_IF>
</ol>
<TMPL_VAR FORM-SUBMIT>
<TMPL_VAR HELPONFORMATTINGLINK>
<TMPL_IF NAME="FIELD-ATTACHMENT">
<a class="toggle" href="#attachments">Attachments</a>
<div class="<TMPL_VAR ATTACHMENTS-CLASS>" id="attachments">
<table>
2008-07-02 22:08:48 +02:00
<tr><td colspan="5"><TMPL_VAR FIELD-ATTACHMENT><TMPL_VAR FIELD-UPLOAD></td></tr>
<TMPL_LOOP NAME="ATTACHMENT_LIST">
2008-07-01 23:19:38 +02:00
<tr><td><TMPL_VAR FIELD-SELECT><TMPL_VAR LINK></td><td><TMPL_VAR SIZE></td><td><TMPL_VAR MTIME></td></tr>
</TMPL_LOOP>
<TMPL_IF NAME="ATTACHMENT_LIST">
2008-07-22 04:30:43 +02:00
<tr><td colspan="2"><TMPL_VAR FIELD-LINK><TMPL_VAR FIELD-RENAME><TMPL_VAR FIELD-REMOVE></td></tr>
2008-07-01 23:19:38 +02:00
</TMPL_IF>
</table>
</div>
</TMPL_IF>
<TMPL_VAR FORM-END>
2009-03-08 00:52:14 +01:00
<TMPL_VAR WMD_PREVIEW>
<TMPL_IF NAME="PAGE_PREVIEW">
<hr />
<div class="header">
<span>Page preview:</span>
2006-03-29 09:24:03 +02:00
</div>
<div id="preview">
2006-03-16 22:39:45 +01:00
<TMPL_VAR PAGE_PREVIEW>
2006-03-29 09:24:03 +02:00
</div>
2006-03-16 22:39:45 +01:00
</TMPL_IF>
<TMPL_IF NAME="PAGE_DIFF">
<hr />
<div class="header">
<span>Diff:</span>
</div>
<div id="diff">
<TMPL_VAR PAGE_DIFF>
</div>
</TMPL_IF>