<!-- ENTRIES START -->
{serendipity_hookPlugin hook="entries_header" addData="$entry_id"}
{foreach from=$entries item="dategroup"}<!--Eintrag-->
{foreach from=$dategroup.entries item="entry"}
<div class="post">
<!--Titel: -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2" valign="bottom"><!--ICON-->
{if $category == 6}<img src = "templates/darin/images/icon/kalender.jpg" border = "0">{else}<img src = "templates/darin/images/icon/pin.gif" border = "0">{/if}</td>
<td><h2 id="post-{$entry.id}"><!--TITEL, tlw. mit Datum-->
{if $category == 6 OR $category == 10 OR $category == 11}{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}: {/if}<a href="{$entry.link}">{$entry.title}</a></h2></td>
</tr>
<tr>
<td>{if !$is_single_entry}<small><!--Zeile unter Titel --> Kat: {$category},
{$category.category_name|@escape} (ist im 1. DS hier leer), {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</small>{/if}</td>
</tr>
</table>
{if $entry.categories}
<span class="categoryIcon">
{foreach from=$entry.categories item="category"}
{if $category.category_icon}
<a href="{$category.category_link}"><img class="categoryIcon" title="{$category.category_name|@escape}{$category.category_description|@emptyPrefix}" alt="{$category.category_name|@escape}" src="{$category.category_icon}" /></a>
{/if}
{/foreach}
</span>
{/if}
<div class="entrytext">
<p>
{$entry.body}
{if $is_single_entry}
<a id="extended"></a>{$entry.extended}
{/if}
</p>
{if $entry.has_extended and not $is_single_entry and not $entry.is_extended}
<br /><a href="{$entry.link}#extended">{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}</a><br /><br />
{/if}
<p class="postmetadata{if $is_single_entry} graybox{/if}">
<small><!--Fusszeile:-->
{if $is_single_entry}
<!--Einzelanzeige-->
{$CONST.ENTRY_POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {$CONST.ON} {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY} {$CONST.AT} {$entry.timestamp|@formatTime:"%H:%M"}.
{if $entry.categories}
{$CONST.FILED_UNDER} {foreach from=$entry.categories item="category" name="categories"}<a href="{$category.category_link}">{$category.category_name|@escape}</a>{if not $smarty.foreach.categories.last}, {/if}{/foreach}.
{/if}
{if $entry.allow_comments}
{$CONST.LEAVE_RESPONSE|sprintf:'<a href="#serendipity_CommentForm">':'</a>':"<a href=\"$entry[link]\">":'</a>'}
{if $entry.moderate_comments}
{$CONST.SUBJECT_TO_MODERATION}
{/if}
{else}
{$CONST.COMMENTS_CLOSED}
{/if}
{else}
<!--Geschrieben von--><!--{$CONST.POSTED_BY}-->Autor: <!--Liste--><a href="{$entry.link_author}">{$entry.author}</a><!-- Ende Autor -->
{if $entry.categories}
{$CONST.IN} {foreach from=$entry.categories item="category" name="categories"}Kategorie: <a href="{$category.category_link}">
{$category.category_name|@escape} (an dieser stelle mit inhalt)</a>{if not $smarty.foreach.categories.last}, {/if}{/foreach}
{/if}
Code: Select all
<!-- ENTRIES START -->
{serendipity_hookPlugin hook="entries_header" addData="$entry_id"}
{foreach from=$entries item="dategroup"}<!--Eintrag-->
{foreach from=$dategroup.entries item="entry"}
<div class="post">
<!--Titel: -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2" valign="bottom"><!--ICON-->{if $category == 6}<img src = "templates/darin/images/icon/kalender.jpg" border = "0">{else}<img src = "templates/darin/images/icon/pin.gif" border = "0">{/if}</td>
<td><h2 id="post-{$entry.id}"><!--TITEL, tlw. mit Datum-->{if $category == 6 OR $category == 10 OR $category == 11}{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}: {/if}<a href="{$entry.link}">{$entry.title}</a></h2></td>
</tr>
<tr>
<td>{if !$is_single_entry}<small><!--Zeile unter Titel --> Kat: {$category}, {$category.category_name|@escape}, {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</small>{/if}</td>
</tr>
</table>
{if $entry.categories}
<span class="categoryIcon">
{foreach from=$entry.categories item="category"}
{if $category.category_icon}
<a href="{$category.category_link}"><img class="categoryIcon" title="{$category.category_name|@escape}{$category.category_description|@emptyPrefix}" alt="{$category.category_name|@escape}" src="{$category.category_icon}" /></a>
{/if}
{/foreach}
</span>
{/if}
<div class="entrytext">
<p>
{$entry.body}
{if $is_single_entry}
<a id="extended"></a>{$entry.extended}
{/if}
</p>
{if $entry.has_extended and not $is_single_entry and not $entry.is_extended}
<br /><a href="{$entry.link}#extended">{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}</a><br /><br />
{/if}
<p class="postmetadata{if $is_single_entry} graybox{/if}">
<small><!--Fusszeile:-->
{if $is_single_entry}
<!--Einzelanzeige-->
{$CONST.ENTRY_POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {$CONST.ON} {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY} {$CONST.AT} {$entry.timestamp|@formatTime:"%H:%M"}.
{if $entry.categories}
{$CONST.FILED_UNDER} {foreach from=$entry.categories item="category" name="categories"}<a href="{$category.category_link}">{$category.category_name|@escape}</a>{if not $smarty.foreach.categories.last}, {/if}{/foreach}.
{/if}
{if $entry.allow_comments}
{$CONST.LEAVE_RESPONSE|sprintf:'<a href="#serendipity_CommentForm">':'</a>':"<a href=\"$entry[link]\">":'</a>'}
{if $entry.moderate_comments}
{$CONST.SUBJECT_TO_MODERATION}
{/if}
{else}
{$CONST.COMMENTS_CLOSED}
{/if}
{else}
<!--Geschrieben von--><!--{$CONST.POSTED_BY}-->Autor: <!--Liste--><a href="{$entry.link_author}">{$entry.author}</a><!-- Ende Autor -->
{if $entry.categories}
{$CONST.IN} {foreach from=$entry.categories item="category" name="categories"}Kategorie: <a href="{$category.category_link}">{$category.category_name|@escape}</a>{if not $smarty.foreach.categories.last}, {/if}{/foreach}
{/if}