Newer
Older
<div class="topbar template-columns">
<div class="template-column topbar-left hide-on-mobile">
{locale group="quiqqer/template-cologne" var="template.topbar.content.left"}
</div>
<div class="topbar-right template-column">
{* product search *}
<div class="template-search">
{$Search->create()}
</div>
{* language & currency switch *}

Michael Danielczok
committed
{if isset($Template['showTopbarLanguageSwitch']) && $Template['showTopbarLanguageSwitch']}

Michael Danielczok
committed
{control control="\QUI\Bricks\Controls\LanguageSwitches\DropDown" showArrow=false}

Michael Danielczok
committed
{/if}
{* Show separator only if both controls are enabled *}
{if isset($Template['showTopbarLanguageSwitch']) && $Template['showTopbarLanguageSwitch'] &&
isset($Template['showTopbarCurrencySwitch']) && $Template['showTopbarCurrencySwitch']}

Michael Danielczok
committed
<span class="tobpar--separator"></span>

Michael Danielczok
committed
{/if}
{if isset($Template['showTopbarCurrencySwitch']) && $Template['showTopbarCurrencySwitch']}

Michael Danielczok
committed
{control control="QUI\TemplateCologne\Controls\CurrencySwitch"}
{/if}

Michael Danielczok
committed
{* END language & currency switch *}
<span class="cologne-header-control-user">
{if $User->getId()}
{$Avatar->create()}
{else}
<span class="fa fa-user-o round-icon"
title="{locale group='quiqqer/template-cologne' var='template.login'}"></span>
{/if}
<span class="cologne-header-control-user-loader">
<span class="fa fa-pulse fa-spinner"></span>
</span>
</span>