---input---
{php}
include "some/php/file.php";
foreach ($rows as $row) {
echo $row;
}
{/php}
{* smarty comment *}
{serendipity_hookPlugin hook="entries_header" addData="$entry_id"}
{foreach from=$entries item="dategroup"}
{if $dategroup.is_sticky}
{$CONST.STICKY_POSTINGS}
{else}
{$dategroup.date|@formatTime:DATE_FORMAT_BARSINISTER}
{/if}
{foreach from=$dategroup.entries item="entry"}
{if $entry.categories}
{foreach from=$entry.categories item="category"}
{if $category.category_icon}
{/if}
{/foreach}
{/if}
{$entry.body}
{if $entry.is_extended}
{/if}
{if $entry.has_extended and not $is_single_entry and not $entry.is_extended}
{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}
{/if}
{$entry.plugin_display_dat}
{if $is_single_entry and not $use_popups and not $is_preview}
{if $CONST.DATA_UNSUBSCRIBED}
{$CONST.DATA_UNSUBSCRIBED|@sprintf:$CONST.UNSUBSCRIBE_OK}
{/if}
{if $CONST.DATA_TRACKBACK_DELETED}
{$CONST.DATA_TRACKBACK_DELETED|@sprintf:$CONST.TRACKBACK_DELETED}
{/if}
{if $CONST.DATA_TRACKBACK_APPROVED}
{$CONST.DATA_TRACKBACK_APPROVED|@sprintf:$CONST.TRACKBACK_APPROVED}
{/if}
{if $CONST.DATA_COMMENT_DELETED}
{$CONST.DATA_COMMENT_DELETED|@sprintf:$CONST.COMMENT_DELETED}
{/if}
{if $CONST.DATA_COMMENT_APPROVED}
{$CONST.DATA_COMMENT_APPROVED|@sprintf:$CONST.COMMENT_APPROVED}
{/if}
{/if}
{if $is_single_entry and not $is_preview}
{/if}
{$entry.backend_preview}
{/foreach}
{foreachelse}
{if not $plugin_clean_page}
{$CONST.NO_ENTRIES_TO_PRINT}
{/if}
{/foreach}
{if $footer_info}
{/if}
{serendipity_hookPlugin hook="entries_footer"}
---tokens---
'{php}' Comment.Preproc
'\n ' Text
'include' Keyword
' ' Text
'"' Literal.String.Double
'some/php/file.php' Literal.String.Double
'"' Literal.String.Double
';' Punctuation
'\n\n ' Text
'foreach' Keyword
' ' Text
'(' Punctuation
'$rows' Name.Variable
' ' Text
'as' Keyword
' ' Text
'$row' Name.Variable
')' Punctuation
' ' Text
'{' Punctuation
'\n ' Text
'echo' Keyword
' ' Text
'$row' Name.Variable
';' Punctuation
'\n ' Text
'}' Punctuation
'\n' Text
'{/php}' Comment.Preproc
'\n\n' Other
'{' Comment.Preproc
'* smarty comment *' Comment
'}' Comment.Preproc
'\n\n ' Other
'{' Comment.Preproc
'serendipity_hookPlugin' Name.Function
' ' Text
'hook' Name.Attribute
'=' Operator
'"entries_header"' Literal.String.Double
' ' Text
'addData' Name.Attribute
'=' Operator
'"$entry_id"' Literal.String.Double
'}' Comment.Preproc
'\n\n ' Other
'{' Comment.Preproc
'foreach' Name.Function
' ' Text
'from' Name.Attribute
'=' Operator
'$entries' Name.Variable
' ' Text
'item' Name.Attribute
'=' Operator
'"dategroup"' Literal.String.Double
'}' Comment.Preproc
'\n \n ' Other
'{' Comment.Preproc
'if' Name.Function
' ' Text
'$dategroup.is_sticky' Name.Variable
'}' Comment.Preproc
'\n
' Other
'{' Comment.Preproc
'$CONST.STICKY_POSTINGS' Name.Variable
'}' Comment.Preproc
'
\n ' Other
'{' Comment.Preproc
'else' Name.Function
'}' Comment.Preproc
'\n
' Other
'{' Comment.Preproc
'$dategroup.date' Name.Variable
'|' Operator
'@' Operator
'formatTime' Name.Attribute
':' Operator
'DATE_FORMAT_BARSINISTER' Name.Attribute
'}' Comment.Preproc
'
\n ' Other
'{' Comment.Preproc
'/if' Name.Function
'}' Comment.Preproc
'\n\n ' Other
'{' Comment.Preproc
'foreach' Name.Function
' ' Text
'from' Name.Attribute
'=' Operator
'$dategroup.entries' Name.Variable
' ' Text
'item' Name.Attribute
'=' Operator
'"entry"' Literal.String.Double
'}' Comment.Preproc
'\n
\n\n \n \n ' Other
'{' Comment.Preproc
'$entry.plugin_display_dat' Name.Variable
'}' Comment.Preproc
'\n\n ' Other
'{' Comment.Preproc
'if' Name.Function
' ' Text
'$is_single_entry' Name.Variable
' ' Text
'and' Name.Attribute
' ' Text
'not' Name.Attribute
' ' Text
'$use_popups' Name.Variable
' ' Text
'and' Name.Attribute
' ' Text
'not' Name.Attribute
' ' Text
'$is_preview' Name.Variable
'}' Comment.Preproc
'\n ' Other
'{' Comment.Preproc
'if' Name.Function
' ' Text
'$CONST.DATA_UNSUBSCRIBED' Name.Variable
'}' Comment.Preproc
'\n
' Other
'{' Comment.Preproc
'$CONST.DATA_UNSUBSCRIBED' Name.Variable
'|' Operator
'@' Operator
'sprintf' Name.Attribute
':' Operator
'$CONST.UNSUBSCRIBE_OK' Name.Variable
'}' Comment.Preproc
'
\n ' Other
'{' Comment.Preproc
'/if' Name.Function
'}' Comment.Preproc
'\n\n ' Other
'{' Comment.Preproc
'if' Name.Function
' ' Text
'$CONST.DATA_TRACKBACK_DELETED' Name.Variable
'}' Comment.Preproc
'\n
' Other
'{' Comment.Preproc
'$CONST.DATA_TRACKBACK_DELETED' Name.Variable
'|' Operator
'@' Operator
'sprintf' Name.Attribute
':' Operator
'$CONST.TRACKBACK_DELETED' Name.Variable
'}' Comment.Preproc
'
\n ' Other
'{' Comment.Preproc
'/if' Name.Function
'}' Comment.Preproc
'\n\n ' Other
'{' Comment.Preproc
'if' Name.Function
' ' Text
'$CONST.DATA_TRACKBACK_APPROVED' Name.Variable
'}' Comment.Preproc
'\n
' Other
'{' Comment.Preproc
'$CONST.DATA_TRACKBACK_APPROVED' Name.Variable
'|' Operator
'@' Operator
'sprintf' Name.Attribute
':' Operator
'$CONST.TRACKBACK_APPROVED' Name.Variable
'}' Comment.Preproc
'
\n ' Other
'{' Comment.Preproc
'/if' Name.Function
'}' Comment.Preproc
'\n\n ' Other
'{' Comment.Preproc
'if' Name.Function
' ' Text
'$CONST.DATA_COMMENT_DELETED' Name.Variable
'}' Comment.Preproc
'\n
' Other
'{' Comment.Preproc
'$CONST.DATA_COMMENT_DELETED' Name.Variable
'|' Operator
'@' Operator
'sprintf' Name.Attribute
':' Operator
'$CONST.COMMENT_DELETED' Name.Variable
'}' Comment.Preproc
'
\n ' Other
'{' Comment.Preproc
'/if' Name.Function
'}' Comment.Preproc
'\n\n ' Other
'{' Comment.Preproc
'if' Name.Function
' ' Text
'$CONST.DATA_COMMENT_APPROVED' Name.Variable
'}' Comment.Preproc
'\n
' Other
'{' Comment.Preproc
'$CONST.DATA_COMMENT_APPROVED' Name.Variable
'|' Operator
'@' Operator
'sprintf' Name.Attribute
':' Operator
'$CONST.COMMENT_APPROVED' Name.Variable
'}' Comment.Preproc
'
\n ' Other
'{' Comment.Preproc
'/if' Name.Function
'}' Comment.Preproc
'\n\n ' Other
'{' Comment.Preproc
'/if' Name.Function
'}' Comment.Preproc
'\n\n ' Other
'{' Comment.Preproc
'if' Name.Function
' ' Text
'$is_single_entry' Name.Variable
' ' Text
'and' Name.Attribute
' ' Text
'not' Name.Attribute
' ' Text
'$is_preview' Name.Variable
'}' Comment.Preproc
'\n \n \n ' Other
'{' Comment.Preproc
'/if' Name.Function
'}' Comment.Preproc
'\n\n ' Other
'{' Comment.Preproc
'$entry.backend_preview' Name.Variable
'}' Comment.Preproc
'\n ' Other
'{' Comment.Preproc
'/foreach' Name.Function
'}' Comment.Preproc
'\n
\n ' Other
'{' Comment.Preproc
'foreachelse' Name.Function
'}' Comment.Preproc
'\n ' Other
'{' Comment.Preproc
'if' Name.Function
' ' Text
'not' Name.Attribute
' ' Text
'$plugin_clean_page' Name.Variable
'}' Comment.Preproc
'\n ' Other
'{' Comment.Preproc
'$CONST.NO_ENTRIES_TO_PRINT' Name.Variable
'}' Comment.Preproc
'\n ' Other
'{' Comment.Preproc
'/if' Name.Function
'}' Comment.Preproc
'\n ' Other
'{' Comment.Preproc
'/foreach' Name.Function
'}' Comment.Preproc
'\n\n' Other
'{' Comment.Preproc
'if' Name.Function
' ' Text
'$footer_info' Name.Variable
'}' Comment.Preproc
'\n ' Other
'{' Comment.Preproc
'/if' Name.Function
'}' Comment.Preproc
'\n ' Other
'{' Comment.Preproc
'serendipity_hookPlugin' Name.Function
' ' Text
'hook' Name.Attribute
'=' Operator
'"entries_footer"' Literal.String.Double
'}' Comment.Preproc
'\n\n' Other
{serendipity_printTrackbacks entry=$entry.id}