{extends "../@layout.xml"} {block title}{_"feed"}{/block} {block header} {_"feed"}
{if !isset($globalFeed)} {_"all_news"} {else} {_"my_feed"} {/if}
{/block} {block content}
{include "../components/textArea.xml", route => "/wall" . $thisUser->getId() . "/makePost"}

{foreach $posts as $post} {include "../components/post.xml", post => $post, onWallOf => true, commentSection => true} {/foreach} {include "../components/paginator.xml", conf => $paginatorConf}
{_"posts_per_page"}:
{if isset($thisUser) && $thisUser->hasMicroblogEnabled()} {script "js/al_comments.js"} {/if} {/block}