summaryrefslogtreecommitdiff
path: root/templates/center_image_comments.tpl
blob: ada3f5efe7121f09960ff902ccdd37afb7073276 (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
{* $Header$ *}
{strip}
{if $modLastComments}
<div class="listing fisheye">
	<div class="header">
		<h2>{tr}{$moduleTitle|default:'Image Comments'}{/tr}</h2>
	</div>

	<div class="body">
		<ul class="comment">
			{section name=ix loop=$modLastComments}
				<li class="post">
						<a href="{$modLastComments[ix].object->getDisplayUrl()}"><img class="thumb" src="{$modLastComments[ix].object->getThumbnailUrl($moduleParams.module_params.thumb_size)}" alt="{$modLastComments[ix].object->getTitle()|escape}" title="{$modLastComments[ix].object->getTitle()|escape}" /></a>

					<div class="header">
					<h3>{$modLastComments[ix].object->getTitle()|escape}:&nbsp;{$modLastComments[ix].display_link}</h3>
					{if $moduleParams.module_params.show_date}
						<div class="date">{tr}by{/tr} {displayname hash=$modLastComments[ix]}, {$modLastComments[ix].last_modified|bit_short_datetime}</div>
					{/if}
					</div>
					{if $moduleParams.module_params.full}
						<p>{$modLastComments[ix].parsed_data}</p>
					{/if}
					<div class="clear"></div>
				</li>
			{sectionelse}
				<li></li>
			{/section}
		</ul>
		<div class="clear"></div>
		{pagination gallery_id=$gContent->mGalleryId}
	</div>	<!-- end .body -->
</div>	<!-- end .fisheye -->
{/if}
{/strip}