727
правок
Изменения
Перейти к навигации
Перейти к поиску
{if $mode_auth_form} <button class="nemo-ui-button nemo-ui-button_common nemo-common-mobileControl__sideblock__user__button js-header-auth_adaptive"> {'new-header-enter'|language} </button> {else} <a href="/{go_and_back controller='authorization' action='auth_client'}" class="nemo-ui-button nemo-ui-button_common nemo-common-mobileControl__sideblock__user__button"> {'new-header-enter'|language} </a> {/if}
<a href{include file="/" class="nemo-common-pageHeader__logo"> <img class="nemo-common-pageHeader__logo__image" src="/templates/wurst/f2.0/img/nemoheader_logo.travel.svg" alt="tpl"> </a>}
{if $registrationFormsData.b2c->popup} <div class="js-registration-formcontainer_b2c" style="display: none;"> {include file="registration_inline.tpl" form=$registrationFormsData.b2c} </div> {/if}
<span class="nemo-common-pageHeader__inner__headerLinks__item">
{'new-header-welcome'|language}
{strip}
<a href="/profile">
{$info_logged_in_as}
</a>
{/strip}
{if $info_user_status !== 'usr'}
({$info_user_status|language})
{/if}
</span>
<a class="nemo-common-pageHeader__inner__headerLinks__item" href="/{go_and_back controller='authorization' action='logout'}">{'new-header-logout'|language}</a>
<a class="nemo-common-pageHeader__inner__headerLinks__item" href="/{url controller="settings" action="dashboard"}" target="_blank">{'new-header-settings'|language}</a>
{/if}
<div class="nemo-ui-dropMenu nemo-common-pageHeader__dropMenu nemo-common-pageHeader__dropMenu_user"> <div class="nemo-ui-dropMenu__main"> <div class="nemo-ui-select js-common-pseudoSelectHeader"> <div class="nemo-ui-select__toggle js-common-pseudoSelectHeader__toggle nemo-common-pageHeader__dropMenu_user_label {if !$hide_poffice} nemo-common-pageHeader__dropMenu_user_label_borderLeft {/if}"> {$info_logged_in_as} </div> <ul class="nemo-ui-select__dropdown js-common-pseudoSelectHeader__dropdown"> {if !$show_booking_status_checkhide_poffice} <li class="nemo-ui-select__dropdown__item"> <a href="/profile"> {url controller='bookingtab_my_profile' action|language} {if $info_user_status !=='statususr'}" ({$info_user_status|language}) {/if} </a> </li> {/if} <li class="nemo-ui-pseudoLink nemo-common-pageHeader__inner__headerLinks__item js-header-checkOrderselect__dropdown__item"> <a href="/settings__dashboard"> {'new-header-checkBookStatussettings'|language} </a> </li>
<li class="nemo-ui-select__dropdown__item"> <a href="/{include filego_and_back controller='checkBooking_popup.tplauthorization' action='logout'}"> {'new-header-logout'|language} </a> </li> </ul> </div> </div> </div>
</div>
<div class="nemo-common-pageHeader__inner__headerRight"> <div class="nemo-ui-dropMenu js-nemo-header-dropmenu nemo-common-pageHeader__dropMenu nemo-common-pageHeader__dropMenu_language {if count($currencyConverter.rates) > 1 && $currencyConverter.conversionEnabled} nemo-common-pageHeader__dropMenu nemo-common-pageHeader__dropMenu_language_borderRight {/if} ">
→module.textsystem.single.header.tpl
{* Loading registration forms *}
{registrationForms}
{getCurrencyConverterData}
{getCurrencyConverterData}
<div class="nemo-common-mobileControl__sideblock__user">
{if $info_user_status == 'gst'}
{if isset($registrationFormsData.b2c)&& !$is_sirena_rail} <a href="/{url controller='authorization' action='registration' get=''}" button class="{if $registrationFormsData.b2cnemo-ui->popup}button nemo-ui-pseudoLink button_common nemo-common-mobileControl__sideblock__user__button js-header-register_adaptive {/if}nemo-common-pageHeader__inner__headerLinks__item">
{'new-header-registration'|language}
</abutton>
{/if}
{else}
{/if}
{if $show_booking_status_check&& !$is_sirena_rail}
<a href="/{url controller='booking' action='status'}" class="nemo-ui-button nemo-ui-button_common nemo-common-mobileControl__sideblock__user__button js-header-checkOrder_adaptive">
{'new-header-checkBookStatus'|language}
{if in_array('FLIGHTS', $enabled_components)}
{if $current_component != 'FLIGHTS'}
<a class="nemo-common-mobileControl__sideblock__componentLink" href="/avia">
{'header.components_menu--flights'|language}
</a>
<div class="nemo-common-pageHeader__mobileControl nemo-common-pageHeader__mobileControl_options js-nemo-mobileControl__toggler" data-control="options"></div>
<div class="nemo-common-pageHeader__inner__headerLinks">
{'system_test_mode'|language}
{/if}
{strip}
<div class="nemo-common-pageHeader__inner__headerRight__componentsLinks">
{if in_array('FLIGHTS', $enabled_components)}
{if $current_component != 'FLIGHTS'}
<a href="/" class="nemo-ui-link nemo-common-pageHeader__inner__headerRight__componentsLinks__avia">
{'header.components_menu--flights'|language}
</a>
{else}
<span class="nemo-common-pageHeader__inner__headerRight__componentsLinks__avia nemo-common-pageHeader__inner__headerRight__componentsLinks_active">
{'header.components_menu--flights'|language}
</span>
{/if}
{/if}
{if in_array('HOTELS', $enabled_components)}
{if $current_component != 'HOTELS'}
<a href="/hotels" class="nemo-ui-link nemo-ui-link nemo-common-pageHeader__inner__headerRight__componentsLinks__hotels">
{'header.components_menu--hotels'|language}
</a>
{else}
<span class="nemo-common-pageHeader__inner__headerRight__componentsLinks__hotels nemo-common-pageHeader__inner__headerRight__componentsLinks_active">
{'header.components_menu--hotels'|language}
</span>
{/if}
{/if}
{if in_array('TRAINS', $enabled_components)}
{if $current_component != 'TRAINS'}
<a href="/trains" class="nemo-ui-link nemo-common-pageHeader__inner__headerRight__componentsLinks__trains">
{'header.components_menu--trains'|language}
</a>
{else}
<span class="nemo-common-pageHeader__inner__headerRight__componentsLinks__trains nemo-common-pageHeader__inner__headerRight__componentsLinks_active">
{'header.components_menu--trains'|language}
</span>
{/if}
{/if}
</div>
{/strip}
</div>
<div class="nemo-common-pageHeader__inner__headerRight">
{if $info_user_status == 'gst'}
{if $mode_auth_form} <button class="nemo-ui-button nemo-ui-button_common nemo-ui-button_medium nemo-common-pageHeader__inner__headerLinks__item js-header-auth"> {'new-header-enter'|language} </button> {elseshow_booking_status_check && !$is_sirena_rail} <a href="/{go_and_back url controller='authorizationbooking' action='auth_clientstatus'}" class="nemo-ui-button pseudoLink nemo-uicommon-button_common nemopageHeader__checkBook js-ui-button_medium nemo-commonheader-pageHeader__inner__headerLinks__itemcheckOrder"> {'new-header-entercheckBookStatus'|language}
</a>
{include file='checkBooking_popup.tpl'}
{/if}
<a href="/{go_and_back controller='authorization' action='auth_client'}"
class="nemo-ui-button nemo-ui-button_common nemo-ui-button_medium nemo-common-pageHeader__inner__headerLinks__item nemo-common-pageHeader__auth js-header-auth
{if isset($registrationFormsData.b2c) && !$is_sirena_rail} nemo-common-pageHeader__auth__borderRight {/if}">
{'new-header-enter'|language}
</a>
<div class="js-header-restorepass" style="display: none;"></div>
{include file='authorization_passRecovery_popup.tpl'}
{if isset($registrationFormsData.b2c)&& !$is_sirena_rail} <a href="/{url controller='authorization' action='registration' get=''}" class="{if $registrationFormsData.b2cjs-header->popup}register nemo-uicommon-pseudoLink jspageHeader__inner__headerLinks__item nemo-headerui-register {else}jsbutton nemo-header-registerui-link {/if}button_common nemo-common-pageHeader__inner__headerLinks__itempageHeader__registration">
{'new-header-registration'|language}
</a>
{/if}
{else}
{if !$hide_poffice}
<a class="nemo-common-pageHeader__inner__headerLinks__item" href="/{url controller="poffice" action="table"}" class="nemo-ui-button nemo-ui-button_common nemo-common-pageHeader__myOffice"> {'new-header-privateOffice'|language} </a>
{/if}
{/if}
<div class="nemo-ui-dropMenu__main">
<button class="nemo-ui-button nemo-ui-button_common nemo-common-pageHeader__dropMenu__button js-nemo-header-dropmenu__button">
<span class="nemo-common-pageHeader__langSelectImage flag flag-{if isset($country_codes_by_languages[$locale neq 'en'])}{$country_codes_by_languages[$locale]|upper}{else}GB{$locale|upper}{/if}"></span>
</button>
</div>
<div class="nemo-ui-dropMenu__drop js-nemo-header-dropmenu__drop nemo-common-pageHeader__droplist nemo-common-pageHeader__droplist_language">
<span class="nemo-common-pageHeader__droplist__header">Язык{'new-header-siteLang'|language}</span>
{foreach item=lang from=$agency_langs key=lang_code}
{if $locale != $lang_code}
<div class="nemo-common-pageHeader__droplist__option js-nemo-header-dropmenu__drop__option js-nemo-header-dropmenu__drop__language" data-language="{$lang_code}">
<div class="nemo-common-pageHeader__droplist__option__icon">
<span class="nemo-common-pageHeader__langSelectImage flag flag-{if isset($country_codes_by_languages[$lang_code neq 'en'])}{$country_codes_by_languages[$lang_code]|upper}{else}GB{$lang_code|upper}{/if}" > </span>
</div>
<span class="nemo-common-pageHeader__droplist__option__text">
<div class="nemo-ui-dropMenu__drop js-nemo-header-dropmenu__drop nemo-common-pageHeader__droplist">
<span class="nemo-common-pageHeader__droplist__header">Валюта поиска и оплаты{'new-header_currency_for'|language}</span>
{foreach from=$currencyConverter.rates item=oneCur key=key}
<div class="nemo-common-pageHeader__droplist__option js-nemo-header-dropmenu__drop__option js-nemo-header-dropmenu__drop__currency" data-currency="{$key}">