]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - templates/editcomment.tmpl
add news item for ikiwiki 3.20110712
[git.ikiwiki.info.git] / 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 <TMPL_ELSE>
17 (You might want to <a href="<TMPL_VAR SIGNINURL>">Signin</a> first?)
18 <br />
19 </TMPL_IF>
20 </TMPL_UNLESS>
21 <label for="subject" class="block">Subject:</label>
22 <TMPL_VAR FIELD-SUBJECT><br />
23 <label for="editcontent" class="block">Comment:</label>
24 <TMPL_VAR FIELD-EDITCONTENT><br />
25 <TMPL_VAR FORM-SUBMIT> <TMPL_VAR FIELD-TYPE> <TMPL_VAR HELPONFORMATTINGLINK><br />
26 <TMPL_VAR NAME="FORM-END">
27 <TMPL_VAR WMD_PREVIEW>
29 <TMPL_IF NAME="PAGE_PREVIEW">
30 <hr />
31 <div class="header">
32 <span>Comment preview:</span>
33 </div><!-- .header -->
34 <div id="preview">
35 <TMPL_VAR PAGE_PREVIEW>
36 </div><!-- #preview -->
37 </TMPL_IF>
39 </div><!-- .editcomment -->