This commit is contained in:
Kevin Adametz 2024-08-05 12:05:24 +02:00
parent 04d677d37a
commit bfa3bb1df4
1191 changed files with 637397 additions and 10619 deletions

View file

@ -61,9 +61,9 @@
}
},
"content": {
"message": "{{__('This website uses cookies in order to guarantee the best possible service. With your visit to this site you agree to our use of cookies.') }}",
"message": "{{__('This website uses cookies') }}",
"dismiss": "{{__('OK')}}",
"link": "{{__('data protection')}}",
"link": "{{__('register.data_protection')}}",
"href": "{{ url('datenschutz') }}",
"target": "_blank",
}
@ -96,7 +96,7 @@
@endif
@if(isset($mylangs))
<div id="sidepanel" class="sidepanel-light">
<div id="sidepanel" class="sidepanel-light" data-init="{{ \Session::get('user_init_country_options') }}">
<a id="sidepanel_close" href="#"><!-- close -->
<i class="glyphicon glyphicon-remove"></i>
</a>
@ -105,19 +105,24 @@
@if (isset($mylangs[\App\Services\Shop::getUserShopLang()]))
@php($country = $mylangs[\App\Services\Shop::getUserShopLang()])
<h2 class="sidepanel-title">Du befindest dich im Shop: {{ $country->getLocated() }}</h2>
<h2 class="sidepanel-title">{{ __('website.you_are_now_in_shop') }} {{ $country->getLocated() }}</h2>
@endif
<p>Wichtiger Hinweis: Bestellungen im ausgewählten Land können nur innerhalb dieses Landes versandt werden.
Wenn du dein Land änderst, wirst du von deiner aktuellen Sitzung abgemeldet und dein Warenkorb wird geleert.
</p>
<p>{{ __('website.you_are_now_in_shop_notice') }} </p>
{!! Form::open(['url' => '/change_website_lang']) !!}
<label>Lieferland*</label>
<label>{{ __('Delivery country') }}*</label>
<select id="change_country_id" name="change_country_id" class="form-control pointer margin-bottom-20">
@foreach ($mylangs as $mycid => $mycountry)
<option value="{{ $mycid }}" @if($country->id === $mycountry->id) selected @endif>{{ $mycountry->getLocated() }}</option>
<option value="{{ $mycid }}" @if($country->id === $mycountry->id || \Session::get('_options') ===$mycid ) selected @endif>{{ $mycountry->getLocated() }}</option>
@endforeach
</select>
<button class="btn btn-primary btn-block" type="submit">Land wechseln</button>
<label>{{ __('website.language') }}*</label>
<select id="change_locale_id" name="change_locale_id" class="form-control pointer margin-bottom-20">
@foreach (\App\Services\UserService::getTransChange() as $code => $name)
<option value="{{ strtolower($code) }}" @if(\App::getLocale() === strtolower($code) || \Session::get('user_init_country_options') === strtolower($code) ) selected @endif>{{ $name }}</option>
@endforeach
</select>
<button class="btn btn-primary btn-block" type="submit">{{ __('website.change_country') }} </button>
{!! Form::close() !!}
</div>
</div>
@ -145,8 +150,6 @@
<script type="text/javascript" src="https://secure.pay1.de/client-api/js/v1/payone_hosted_min.js"></script>
<script>
$(document).ready(function() {
$('#cc_cardtype')
$('#cc_cardholder_first')
$('#cc_cardholder_last')