Merge commit 'smcv/comments'
[ikiwiki.git] / templates / editcomment.tmpl
1 <div class="editcomment">
2 <TMPL_VAR MESSAGE>
3 <TMPL_VAR FORM-START>
4 <TMPL_VAR FIELD-DO>
5 <TMPL_VAR FIELD-SID>
6 <TMPL_VAR FIELD-PAGE>
7 <TMPL_UNLESS NAME=USERNAME>
8 <TMPL_IF NAME=ALLOWAUTHOR>
9 Name: <TMPL_VAR NAME=FIELD-AUTHOR> (optional)<br />
10 Website: <TMPL_VAR NAME=FIELD-URL> (optional)<br />
11 </TMPL_IF>
12 </TMPL_UNLESS>
13 Subject: <TMPL_VAR FIELD-SUBJECT><br />
14 <TMPL_VAR FIELD-EDITCONTENT><br />
15 <TMPL_VAR FORM-SUBMIT> <TMPL_VAR FIELD-TYPE> <TMPL_VAR HELPONFORMATTINGLINK><br />
16 IkiWiki directives ([[!directive]]) are <TMPL_UNLESS NAME="ALLOWDIRECTIVES">not </TMPL_UNLESS>allowed in comments on this wiki.<br />
17 <TMPL_VAR NAME="FORM-END">
18
19 <TMPL_IF NAME="PAGE_PREVIEW">
20 <hr />
21 <div class="header">
22 <span>Comment preview:</span>
23 </div><!-- .header -->
24 <div id="preview">
25 <TMPL_VAR PAGE_PREVIEW>
26 </div><!-- #preview -->
27 </TMPL_IF>
28
29 </div><!-- .editcomment -->