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

	<TMPL_IF NAME="PAGE_PREVIEW">
	<hr />
	<div class="header">
		<span>Comment preview:</span>
	</div>
	<div id="preview">
		<TMPL_VAR PAGE_PREVIEW>
	</div>
	</TMPL_IF>
</div>