blob: e3a3a159c0e9d7cef59169dbabdc7a7e3ecec1c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{* $Header$ *}
{strip}
{if $gBitSystem->isPackageActive( 'blogs' ) && $modBlogs}
{bitmodule title="$moduleTitle" name="blog_roll"}
<ul class="blogs">
{foreach from=$modBlogs item=blog key=blogId}
<li><h4><a href="{$blog.blog_url}">{$blog.title|escape|default:"Blog `$blogId`"}</a></h4>
<div class="post">
{if $blog.post}
{$blog.post->getDisplayLink()}
<div class="date">{$blog.post->getField('last_modified')|bit_short_datetime}</date>
{else}
<em>{tr}No Posts{/tr}</em>
{/if}
</div>
</li>
{/foreach}
</ul>
{/bitmodule}
{/if}
{/strip}
|