{* $Id: mod-wiki_last_comments.tpl 12431 2008-04-09 01:14:40Z luciash $ *}

{if $prefs.feature_wiki eq 'y'}
	{if !isset($tpl_module_title)}
		{if $nonums eq 'y'}
			{eval var="{tr}Last `$module_rows` wiki comments{/tr}" assign="tpl_module_title"}
		{else}
			{eval var="{tr}Last wiki comments{/tr}" assign="tpl_module_title"}
		{/if}
	{/if}
	{tikimodule title=$tpl_module_title name="wiki_last_comments" flip=$module_params.flip decorations=$module_params.decorations nobox=$module_params.nobox}
		{if $nonums != 'y'}<ol>{else}<ul>{/if}
		{section name=ix loop=$comments}
			<li><a class="linkmodule" href="{$comments[ix].page|sefurl}&amp;comzone=show#threadId{$comments[ix].threadId}" title="{$comments[ix].commentDate|tiki_short_datetime}, {tr}by{/tr} {$comments[ix].user}{if $moretooltips eq 'y'}{tr} on page {/tr}{$comments[ix].page}{/if}">{if $moretooltips ne 'y'}<strong>{$comments[ix].page|escape}</strong>: {/if}{$comments[ix].title|escape}</a></li>
		{/section}
		{if $nonums != 'y'}</ol>{else}</ul>{/if}
	{/tikimodule}
{/if}
