{extends "../@layout.xml"} {block title}{_bookmarks_tab}{/block} {block header} {_bookmarks_tab} {/block} {block wrap}
{tr("faves", $count)} {*tr("showing_x_y", $page, $count)*}
{include "../components/paginator.xml", conf => $paginatorConf}
{if $count > 0} {foreach $data as $dat} {if $section == "posts"}
{include "../components/post.xml", post => $dat, commentSection => true}
{elseif $section == "comments"}
{include "../components/comment.xml", comment => $dat, correctLink => true, no_reply_button => true}
{elseif $section == "photos"} {elseif $section == "videos"}
{include "../components/video.xml", video => $dat}
{/if} {/foreach} {else} {include "../components/content_error.xml", description => tr("faves_".$section."_empty_tip")} {/if}
{include "../components/paginator.xml", conf => $extendedPaginatorConf}
{/block}