{serendipity_hookPlugin hook="entries_header" addData="$entry_id"} {foreach from=$entries item="dategroup"} {foreach from=$dategroup.entries item="entry"} {assign var="entry" value=$entry scope=parent}

{$entry.title}

{if $entry.categories}{foreach from=$entry.categories item="entry_category"}{if $entry_category.category_icon}{$entry_category.category_name|escape}{/if}{/foreach}{/if} {$entry.body} {if $entry.has_extended and not $is_single_entry and not $entry.is_extended} {$CONST.VIEW_EXTENDED_ENTRY|sprintf:$entry.title} {/if}
{if $entry.is_extended}
{$entry.extended}
{/if} {if $is_single_entry and not $use_popups and not $is_preview} {if $CONST.DATA_UNSUBSCRIBED} {/if} {if $CONST.DATA_TRACKBACK_DELETED} {/if} {if $CONST.DATA_TRACKBACK_APPROVED} {/if} {if $CONST.DATA_COMMENT_DELETED} {/if} {if $CONST.DATA_COMMENT_APPROVED} {/if}

{$CONST.TRACKBACKS}

{$CONST.TRACKBACK_SPECIFIC}{$CONST.TRACKBACK} URL {serendipity_printTrackbacks entry=$entry.id}
{/if} {if $is_single_entry and not $is_preview}

{$CONST.COMMENTS}

{serendipity_printComments entry=$entry.id mode=$entry.viewmode}
{foreach from=$comments_messagestack item="message"} {/foreach} {if $is_comment_added} {elseif $is_comment_moderate} {elseif not $entry.allow_comments} {else}

{$CONST.ADD_COMMENT}

{$COMMENTFORM}
{/if} {/if} {$entry.backend_preview}
{/foreach} {foreachelse} {if not $plugin_clean_page} {/if} {/foreach} {if not $is_preview and ! $is_single_entry} {if ! isset($staticpage_pagetitle) || $staticpage_pagetitle == ''} {/if} {/if} {serendipity_hookPlugin hook="entries_footer"}