@extends('adminlte::page') @section('title', __('title.themes')) @section('content_top_nav_right') @endsection @section('content_header') @stop @section('plugins.Flag', true) @section('plugins.Datatables', true) @section('plugins.BootstrapSwitch', true) @section('plugins.Pace', true) @section('plugins.Toastr', true) @section('plugins.Sweetalert2', true) @section('content') @if ($themes->title == 'Contact')
@method('PUT') @csrf
    @foreach (LocalizationHelper::getListFlags() as $language) @php $active = ($language->id == Auth::user()->language) ? 'active' : ''; @endphp
  • @endforeach
@php $data = ThemeHelper::getConfigContact('magz', 'contact', 'body')['config'] @endphp @if ($data['title']) @foreach($data['title'] as $lang => $title) @php $hidden = (LocalizationHelper::getLangCodeById(Auth::user()->language) != $lang) ? 'hidden' : ''; @endphp @endforeach @else '; @endif
@if ($data['url']) @foreach($data['url'] as $lang => $url) @php $hidden = (LocalizationHelper::getLangCodeById(Auth::user()->language) != $lang) ? 'hidden' : ''; @endphp @endforeach @else '; @endif
@foreach($settings as $layout => $setting)

{{ $layout }}

@if($layout == "sidebar" || $layout == "footer") @php $hideVisible = ($setting['config']['custom'] == 'false' ? 'hidden' : ''); $hideActive = ($setting['config']['custom'] == 'false' ? 'hidden' : ''); $hideSidebar = ($setting['config']['active'] == 'false' ? 'hidden' : ''); $disabled = ($setting['config']['custom'] == 'false' ? 'disabled' : ''); @endphp
@if($layout == "sidebar") @php $hidden = ($setting['config']['active'] == 'false' ? 'hidden' : '') @endphp @endif
@endif
@endforeach
{{ __('button.back') }} @else
@foreach($settings as $layout => $setting) @php $hideActive = '' @endphp

{{ $layout }}

@if($layout == "sidebar" || $layout == "footer") @php $hideVisible = ($setting['config']['custom'] == 'false' ? 'hidden' : ''); $hideActive = ($setting['config']['custom'] == 'false' ? 'hidden' : ''); $hideSidebar = ($setting['config']['active'] == 'false' ? 'hidden' : ''); $disabled = ($setting['config']['custom'] == 'false' ? 'disabled' : ''); @endphp
@if($layout == "sidebar") @endif
@endif
@endforeach {{ __('button.back') }}
@endif @stop @push('css') @include('admin.themes._style') @endpush @push('js') @include('layouts.partials._notification') @include('layouts.partials._switch_lang') @include('layouts.partials._csrf-token') @include('admin.languages._languages') @endpush @section('footer') @include('layouts.partials._footer') @stop