ikiwiki (3.20140916) unstable; urgency=low
[ikiwiki] / templates / editcomment.tmpl
1 <div class="editcomment">
2 <TMPL_VAR MESSAGE>
3 <br />
4 <TMPL_VAR FORM-START>
5 <TMPL_VAR FIELD-DO>
6 <TMPL_VAR FIELD-SID>
7 <TMPL_VAR FIELD-PAGE>
8 <TMPL_UNLESS NAME=USERNAME>
9 <TMPL_IF NAME=ALLOWAUTHOR>
10 <label for="author" class="block">Name:</label>
11 <TMPL_VAR NAME=FIELD-AUTHOR> (optional, or <a href="<TMPL_VAR SIGNINURL>">signin</a>)
12 <br/>
13 <label for="url" class="block">Website:</label>
14 <TMPL_VAR NAME=FIELD-URL> (optional)
15 <br />
16 <label for="url" class="block">Email:</label>
17 <TMPL_VAR NAME=FIELD-EMAIL> <TMPL_VAR FIELD-ANONSUBSCRIBE>
18 <br />
19 <TMPL_ELSE>
20 (You might want to <a href="<TMPL_VAR SIGNINURL>">Signin</a> first?)
21 <br />
22 </TMPL_IF>
23 </TMPL_UNLESS>
24 <label for="subject" class="block">Subject:</label>
25 <TMPL_VAR FIELD-SUBJECT><br />
26 <label for="editcontent" class="block">Comment:</label>
27 <TMPL_VAR FIELD-EDITCONTENT><br />
28 <TMPL_VAR FORM-SUBMIT> <TMPL_VAR FIELD-TYPE> <TMPL_VAR HELPONFORMATTINGLINK>
29 <TMPL_VAR FIELD-SUBSCRIBE><br />
30 <TMPL_VAR NAME="FORM-END">
31 <TMPL_VAR WMD_PREVIEW>
32
33 <TMPL_IF NAME="PAGE_PREVIEW">
34 <hr />
35 <div class="header">
36 <span>Comment preview:</span>
37 </div><!-- .header -->
38 <div id="preview">
39 <TMPL_VAR PAGE_PREVIEW>
40 </div><!-- #preview -->
41 </TMPL_IF>
42
43 </div><!-- .editcomment -->