{{if $nav.login && !$userinfo}}
{{if $nav.loginmenu.1.4}} {{$nav.loginmenu.1.1}} {{else}} {{$nav.loginmenu.1.1}} {{/if}} {{if $nav.register}} {{$nav.register.1}} {{/if}}
{{/if}} {{if $userinfo}}
{{if $sel.name}} {{if $settings_url}} {{/if}} {{/if}}
{{/if}} {{if $nav.help.6}}
{{$nav.help.5}}
{{/if}}
{{if $name}}
{{$name}}
{{else}}
{{$apps}}
{{/if}}
{{if $channel_apps.0 && ! $channel_menu}} {{foreach $channel_apps as $channel_app}} {{$channel_app}} {{/foreach}} {{/if}} {{if $is_owner}}
{{/if}} {{foreach $nav_apps as $nav_app}} {{$nav_app}} {{/foreach}} {{if $is_owner}}
{{/if}} {{if $is_owner}} {{$addapps}} {{/if}}
{{if $is_owner}} {{/if}}