add news item for ikiwiki 3.20100518.2
[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 <ol class="form">
8 <TMPL_UNLESS NAME=USERNAME>
9 <TMPL_IF NAME=ALLOWAUTHOR>
10 <li>
11 <label for="author" class="block">Name:</label>
12 <TMPL_VAR NAME=FIELD-AUTHOR> (optional, or <a href="<TMPL_VAR SIGNINURL>">signin</a>)
13 </li>
14 <li>
15 <label for="url" class="block">Website:</label>
16 <TMPL_VAR NAME=FIELD-URL> (optional)
17 </li>
18 <TMPL_ELSE>
19 <li>
20 (You might want to <a href="<TMPL_VAR SIGNINURL>">Signin</a> first?)
21 </li>
22 </TMPL_IF>
23 </TMPL_UNLESS>
24 <li>
25 <label for="subject" class="block">Subject:</label>
26 <TMPL_VAR FIELD-SUBJECT><br />
27 </li>
28 <li>
29 <label for="editcontent" class="block">Comment:</label>
30 <TMPL_VAR FIELD-EDITCONTENT><br />
31 </li>
32 </ol>
33 <TMPL_VAR FORM-SUBMIT> <TMPL_VAR FIELD-TYPE> <TMPL_VAR HELPONFORMATTINGLINK><br />
34 <TMPL_VAR NAME="FORM-END">
35 <TMPL_VAR WMD_PREVIEW>
36
37 <TMPL_IF NAME="PAGE_PREVIEW">
38 <hr />
39 <div class="header">
40 <span>Comment preview:</span>
41 </div><!-- .header -->
42 <div id="preview">
43 <TMPL_VAR PAGE_PREVIEW>
44 </div><!-- #preview -->
45 </TMPL_IF>
46
47 </div><!-- .editcomment -->