727
правок
Изменения
→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}">