aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/templates/src/systemtemplates/single_comment.html
blob: 81b209ab481ff39156e4997416cf96445a0e4e36 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<ste:load name="master.html" />
<ste:block name="content">
	<ste:if>$success
		<ste:then>
			<div class="success"><ste:escape>$success</ste:escape></div>
		</ste:then>
	</ste:if>
	<ste:if>$error
		<ste:then>
			<div class="error"><ste:escape>$error</ste:escape></div>
		</ste:then>
	</ste:if>
	
	<div class="triplecolumns">
		<div class="column_left">
			<h2><ste:get_translation for="comment_perform_action" /></h2>
			<form action="$rel_path_to_root/backend/content/comments/$id" method="POST">
				<select name="action_on_comment">
					<option value="" selected="selected"></option>
					<option value="make_visible"><ste:get_translation for="commentaction_make_visible" /></option>
					<option value="make_invisible"><ste:get_translation for="commentaction_make_invisible" /></option>
					<option value="delete"><ste:get_translation for="delete" /></option>
				</select>
				<input type="submit" />
			</form>
		</div>
		<div class="column_right">
			<p>
				<strong><ste:get_translation for="author" /></strong><br />
				<ste:escape>$author</ste:escape>
			</p>

			<p>
				<strong><ste:get_translation for="visible" /></strong><br />
				?{$visible|<ste:get_translation for="yes" />|<ste:get_translation for="no" />}
			</p>

			<p>
				<strong><ste:get_translation for="date_time" /></strong><br />
				<ste:date timestamp="$date">%Y-%m-%d %H:%M:%S</ste:date>
			</p>

			<p>
				<strong><ste:get_translation for="article" /></strong><br />
				<a href="$rel_path_to_root/backend/content/write/<ste:escape>$article</ste:escape>"><ste:escape>$article</ste:escape></a>
			</p>

			<p>
				<strong><ste:get_translation for="language" /></strong><br />
				$language
			</p>
		</div>
		<div class="column_main">
			<h2><ste:get_translation for="comment_text" /></h2>
			$comment_text
			<hr />
			<h2><ste:get_translation for="comment_text_raw" /></h2>
			<code><pre>$comment_raw</pre></code>
		</div>
	</div>
	<div class="triplecolumns_stop"></div>
</ste:block>