{if !$Category}

{locale group="quiqqer/frontend-users" var="profile.no_categories_available"}

{else}
{if $this->getAttribute('menu')}
{control control="QUI\TemplateCologne\Controls\SimpleUserInfo" assign=SimpleUserInfo} {$SimpleUserInfo->create()}
{foreach $categories as $category}
{$category.title}
{foreach $category.items as $setting} {assign var=active value=false} {if $currentCategory == $category.name && $currentSetting == $setting.name} {assign var=active value=true} {/if} {if $setting.icon} {/if} {$setting.title} {/foreach}
{/foreach}
{/if} {* mobile categories *}
{$Category->create()}
{/if}