{block name="head"}{/block}
{$main_pagetitle}{if $pagetitle} - {$pagetitle}{/if}
{foreach $css as $path}
{/foreach} {block name="body"} {block name="navbar"}
{block name="navbar-brand"}
{/block}
{block name="navbar-menu"} {/block}
{block name="navbar-extra-content"}{/block} {block name="navbar-user"}
{if isset($auth_user) && $auth_user}
{block name="navbar-user-name"}
{$auth_user->name|escape:"htmlall"}
{/block} {block name="navbar-user-menu"}
{block name="navbar-user-menu-content"}{/block}
{t domain=$CORE_TEXT_DOMAIN}Sign out{/t}
{/block}
{else} {block name="navbar-login-btn"}
{t domain=$CORE_TEXT_DOMAIN}Log in{/t}
{block} {/if}
{/block}
{/block} {block name="main"}
{block name="pagetitle"}{if $pagetitle}
{$pagetitle}
{/if}{/block} {include file='Tpl:errors.tpl'} {include file='Tpl:messages.tpl'} {block name="content"}{/block}
{/block} {block name="footer"} {/block} {/block} {foreach $js as $path} {/foreach} {if $webstats_js_code}{$webstats_js_code}{/if}