summaryrefslogtreecommitdiff
path: root/templates/center_recent_comments.tpl
blob: 3c078a31f85b44bc685b60858d7c533db2cb6735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{strip}
{if $modLastComments}
<div class="listing fisheye">
	<div class="header">
		<h1>{tr}{$moduleTitle}{/tr}</h1>
	</div>
	<div class="body">
		{section name=ix loop=$modLastComments}
			<div style="clear:both;">
				<a href="{$modLastComments[ix].object->getDisplayUrl()}"><img style="width:50px;height:50px;float:left;" src="{if $modLastComments[ix].object->getThumbnailUrl($moduleParams.module_params.thumb_size)}{$modLastComments[ix].object->getThumbnailUrl($moduleParams.module_params.thumb_size)}{else}{$smarty.const.USERS_PKG_URL}icons/silhouette.png{/if}" alt="{$modLastComments[ix].object->getTitle()|escape}" title="{$modLastComments[ix].object->getTitle()|escape}" /></a>
				<div style="width:550px;float:left;margin-left:10px;vertical-align:top;min-height:40px;margin-bottom:10px;background-color:#eee;padding:5px;">
					{displayname hash=$modLastComments[ix]} {$modLastComments[ix].parsed_data}
					<small>{$modLastComments[ix].last_modified|bit_short_datetime}</small>
				</div>
			</div>
			{/section}
	</div>	<!-- end .body -->
{/if}
{/strip}