aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/comment_list.tpl
blob: d295015edc29a05f6068208bd177a8d348cc6180 (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
{* $Id$ *}
{foreach from=$comments item=comment}
	<div class="thumbnailCategory">
	{if isset($comment.TN_SRC)}
		<div class="illustration">
			<a href="{$comment.U_PICTURE}">
				<img src="{$comment.TN_SRC}" alt="{$comment.ALT}" />
			</a>
		</div>
	{/if}
		<div class="description">
			{if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) }
			<ul class="actions" style="float:right">
				{if isset($comment.U_DELETE)}
				<li>
					<a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}">
						<img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" />
					</a>
				</li>
				{/if}
				{if isset($comment.U_VALIDATE)}
				<li>
					<a href="{$comment.U_VALIDATE}" title="validate this comment">
						<img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]" />
					</a>
				</li>
				{/if}
			</ul>
			{/if}
			<span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
			<blockquote>{$comment.CONTENT}</blockquote>
		</div>
    <div class="border">{* Sylvia needs that stupid dummy block *}&nbsp;</div>
	</div>
	{if isset($comment_separator)}
	<hr/>
	{/if}
{/foreach}