summaryrefslogtreecommitdiff
path: root/modules/mod_last_comments.tpl
blob: 094ad4b98fbc43084e811eb0f369ad303389c459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{* $Header$ *}
{strip}
{if $modLastComments}
	{bitmodule title="$moduleTitle" name="last_comments"}
		<ol>
			{section name=ix loop=$modLastComments}
				<li>
					{$modLastComments[ix].root_content_title}:&nbsp;{$modLastComments[ix].display_link}
					{if $moduleParams.module_params.full}
						<div class="comment row">{$modLastComments[ix].parsed_data}</div>
					{/if}
					{if $moduleParams.module_params.show_date}
						<br /><span class="date">{$modLastComments[ix].last_modified|bit_short_datetime}</span>
					{/if}
				</li>
			{sectionelse}
				<li></li>
			{/section}
		</ol>
	{/bitmodule}
{/if}
{/strip}