BP: Small fix in entries.tpl to suppress emitting .byline if all contents are disabled in theme options.

This commit is contained in:
Matthias Mees 2008-11-07 17:36:18 +00:00
parent ff75c85d21
commit 95387bf02a

View File

@ -95,6 +95,8 @@
{/if}
{if $template_option.entryfooterpos == 'splitfoot'}
{if $template_option.footerauthor == 'false' and $template_option.footercategories == 'false' and $template_option.footertimestamp == 'false'}
{else}
<div class='serendipity_entryFooter byline'>
{if $template_option.footerauthor == 'true'}
{$CONST.POSTED_BY} <address class="author"><a href="{$entry.link_author}">{$entry.author}</a></address>
@ -115,6 +117,7 @@
<a href="{$entry.link}">{if $dategroup.is_sticky}{$entry.timestamp|@formatTime:$template_option.date_format} {/if}{$entry.timestamp|@formatTime:'%H:%M'}</a>
{/if}
</div>
{/if}
{/if}
{/if}