summaryrefslogtreecommitdiff
path: root/modules/mod_last_modif_pages.tpl
blob: 7243d38875041135ce8cf0e4563b1a143da1a01c (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
{* $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_last_modif_pages.tpl,v 1.2 2005/07/17 17:36:46 squareing Exp $ *}
{strip}
{if $gBitSystem->isPackageActive( 'wiki' )}
	{if $nonums eq 'y'}
		{eval var="{tr}Last `$module_rows` changes{/tr}" assign="tpl_module_title"}
	{else}
		{eval var="{tr}Last changes{/tr}" assign="tpl_module_title"}
	{/if}
	{bitmodule title="$moduleTitle" name="last_modif_pages"}
		<ol>
			{section name=ix loop=$modLastModif}
				<li>
					<a href="{$modLastModif[ix].display_url}" title="{$modLastModif[ix].title} - {$modLastModif[ix].last_modified|bit_short_datetime}, by {displayname user=$modLastModif[ix].modifier_user real_name=$modLastModif[ix].modifier_real_name nolink=1}{if (strlen($modLastModif[ix].title) > $maxlen) AND ($maxlen > 0)}, {$modLastModif[ix].title}{/if}">
						{if $maxlen gt 0}
							{$modLastModif[ix].title|truncate:$maxlen:"...":true}
						{else}
							{$modLastModif[ix].title}
						{/if}
					</a>
				</li>
			{sectionelse}
				<li></li>
			{/section}
		</ol>
	{/bitmodule}
{/if}
{/strip}