summaryrefslogtreecommitdiff
path: root/modules/mod_last_created_blogs.tpl
blob: ec4cd997f6766c1150ee71becac7d7e8772d3674 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{* $Header$ *}
{strip}
{if $gBitSystem->isPackageActive( 'blogs' ) and $modLastCreatedBlogs}
	{if $nonums eq 'y'}
		{eval var="{tr}Last `$module_rows` Created blogs{/tr}" assign="tpl_module_title"}
	{else}
		{eval var="{tr}Last Created blogs{/tr}" assign="tpl_module_title"}
	{/if}
	{bitmodule title="$moduleTitle" name="last_created_blogs"}
		<ol class="blogs">
			{foreach from=$modLastCreatedBlogs item=blogHash}
				<li><a href="{$blogHash.blog_url}">{$blogHash.title|escape|default:"Blog `$blogHash.blog_id`"}</a></li>
			{/foreach}
		</ol>
	{/bitmodule}
{/if}
{/strip}