61 lines
2.3 KiB
Smarty
61 lines
2.3 KiB
Smarty
{include file='imobile_header.tpl'}
|
|
|
|
|
|
|
|
|
|
<div id="contentlist">
|
|
|
|
{section name=entries_loop loop=$entries}
|
|
<div class="seBlogEntry seBlogEntry{cycle values='1,2'}">
|
|
|
|
{* MAKE SURE TITLE IS NOT BLANK *}
|
|
{if $entries[entries_loop].blogentry_title != ""}
|
|
{assign var='blogentry_title' value=$entries[entries_loop].blogentry_title}
|
|
{else}
|
|
{lang_block id=1500015 var=blogentry_title}{/lang_block}
|
|
{/if}
|
|
|
|
<div class='seBlogEntryTitle'>
|
|
{$blogentry_title}
|
|
</div>
|
|
<div class='seBlogEntryDate'>
|
|
{lang_print id=1500016}
|
|
{$datetime->cdate("`$setting.setting_dateformat`", $datetime->timezone("`$entries[entries_loop].blogentry_date`", $global_timezone))}
|
|
-
|
|
{$entries[entries_loop].blogentry_totalcomments} comment{if $entries[entries_loop].blogentry_totalcomments!=1}s{/if}
|
|
</div>
|
|
{* SHOW ENTRY CATEGORY *}
|
|
{if !empty($entries[entries_loop].blogentry_blogentrycat_id)}
|
|
<div class='seBlogEntryCategory'>
|
|
{lang_print id=11340070}
|
|
<a href="{$url->url_create('profile', $owner->user_info.user_username)}">{$owner->user_displayname}</a>
|
|
{lang_print id=11340071}
|
|
{if !$entries[entries_loop].blogentrycat_user_id}<a href='browse_blogs.php?c={$entries[entries_loop].blogentry_blogentrycat_id}'>{/if}
|
|
{if !empty($entries[entries_loop].blogentrycat_languagevar_id)}
|
|
{capture assign=blogentrycat_title}{lang_print id=$entries[entries_loop].blogentrycat_languagevar_id}{/capture}
|
|
{else}
|
|
{assign var=blogentrycat_title value=$entries[entries_loop].blogentrycat_title}
|
|
{/if}
|
|
{$blogentrycat_title}
|
|
{if !$entries[entries_loop].blogentrycat_user_id}</a>{/if}
|
|
</div>
|
|
{/if}
|
|
<div class='seBlogEntryBody'>
|
|
{$entries[entries_loop].blogentry_body|choptext:36:"<br>"}
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{sectionelse}
|
|
|
|
<div class="boxinfo">
|
|
{lang_sprintf id=1500023 1=$owner->user_displayname 2=$url->url_create("profile", $owner->user_info.user_username)}
|
|
</div>
|
|
|
|
{/section}
|
|
|
|
|
|
</div>
|
|
|
|
{include file='imobile_footer.tpl'}
|