Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/storage/framework/views/5d12d17a7c038ba124b2b89c9f2413b6.php
Назад
<?php $__env->startSection('title'); ?> <title><?php echo e(__('Menu Builder')); ?></title> <?php $__env->stopSection(); ?> <?php $__env->startSection('admin-content'); ?> <!-- Main Content --> <div class="main-content"> <section class="section"> <?php if (isset($component)) { $__componentOriginaldbbc880c47f621cda59b70d6eb356b2f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaldbbc880c47f621cda59b70d6eb356b2f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.breadcrumb','data' => ['title' => ''.e(__('Menu Builder')).'','list' => [ __('Dashboard') => route('admin.dashboard'), __('Menu Builder') => '#', ]]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.breadcrumb'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => ''.e(__('Menu Builder')).'','list' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([ __('Dashboard') => route('admin.dashboard'), __('Menu Builder') => '#', ])]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaldbbc880c47f621cda59b70d6eb356b2f)): ?> <?php $attributes = $__attributesOriginaldbbc880c47f621cda59b70d6eb356b2f; ?> <?php unset($__attributesOriginaldbbc880c47f621cda59b70d6eb356b2f); ?> <?php endif; ?> <?php if (isset($__componentOriginaldbbc880c47f621cda59b70d6eb356b2f)): ?> <?php $component = $__componentOriginaldbbc880c47f621cda59b70d6eb356b2f; ?> <?php unset($__componentOriginaldbbc880c47f621cda59b70d6eb356b2f); ?> <?php endif; ?> <div class="section-body"> <div class="row"> <div class="col-12"> <?php $currentUrl = url()->current(); $language_code = !empty(request('code')) ? request('code') : getSessionLanguage(); ?> <div class="lang_list_top"> <ul class="lang_list"> <?php $__currentLoopData = $languages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li><a id="<?php echo e(request('code') == $language->code ? 'selected-language' : ''); ?>" href="<?php echo e(currectUrlWithQuery($language->code)); ?>"><i class="fas <?php echo e(request('code') == $language->code || ($language->code == config('app.locale') && empty(request('code'))) ? 'fa-eye' : 'fa-edit'); ?>"></i> <?php echo e($language->name); ?></a> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> </div> <div class="mt-2 alert alert-danger" role="alert"> <?php $current_language = $languages->where('code', $language_code)->first(); ?> <p><?php echo e(__('Your editing mode')); ?> : <b><?php echo e($current_language?->name); ?></b> </p> </div> <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['type' => 'hidden','id' => 'language_code','value' => ''.e($language_code).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['type' => 'hidden','id' => 'language_code','value' => ''.e($language_code).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> <?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> </div> <div class="col-12"> <div class="card"> <div class="card-body"> <form method="get" action="<?php echo e($currentUrl); ?>"> <div class="row"> <div class="col-md-4 text-center"> <div class="input-group"> <?php if (isset($component)) { $__componentOriginal60bcc951c550d5b77fb7cdd189e510ca = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-select','data' => ['name' => 'menu','id' => 'menu','class' => 'form-select']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-select'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['name' => 'menu','id' => 'menu','class' => 'form-select']); ?> <?php if (isset($component)) { $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.select-option','data' => ['selected' => request()->input('menu') == '0','value' => '0','text' => ''.e(__('Select menu')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.select-option'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['selected' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(request()->input('menu') == '0'),'value' => '0','text' => ''.e(__('Select menu')).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?> <?php $attributes = $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?> <?php unset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?> <?php endif; ?> <?php if (isset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?> <?php $component = $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?> <?php unset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?> <?php endif; ?> <?php $__currentLoopData = $menus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if (isset($component)) { $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.select-option','data' => ['selected' => request()->input('menu') == $val->id,'value' => ''.e($val->id).'','text' => ''.e($val->name).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.select-option'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['selected' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(request()->input('menu') == $val->id),'value' => ''.e($val->id).'','text' => ''.e($val->name).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?> <?php $attributes = $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?> <?php unset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?> <?php endif; ?> <?php if (isset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?> <?php $component = $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?> <?php unset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca)): ?> <?php $attributes = $__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca; ?> <?php unset($__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca); ?> <?php endif; ?> <?php if (isset($__componentOriginal60bcc951c550d5b77fb7cdd189e510ca)): ?> <?php $component = $__componentOriginal60bcc951c550d5b77fb7cdd189e510ca; ?> <?php unset($__componentOriginal60bcc951c550d5b77fb7cdd189e510ca); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal60a020e5340f3f52bbc4501dc9f93102 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal60a020e5340f3f52bbc4501dc9f93102 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.button','data' => ['type' => 'submit','text' => __('Choose')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['type' => 'submit','text' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Choose'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal60a020e5340f3f52bbc4501dc9f93102)): ?> <?php $attributes = $__attributesOriginal60a020e5340f3f52bbc4501dc9f93102; ?> <?php unset($__attributesOriginal60a020e5340f3f52bbc4501dc9f93102); ?> <?php endif; ?> <?php if (isset($__componentOriginal60a020e5340f3f52bbc4501dc9f93102)): ?> <?php $component = $__componentOriginal60a020e5340f3f52bbc4501dc9f93102; ?> <?php unset($__componentOriginal60a020e5340f3f52bbc4501dc9f93102); ?> <?php endif; ?> </div> </div> </div> </form> </div> </div> </div> <div class="row"> <?php if(request()->has('menu') && !empty(request()->input('menu')) && checkAdminHasPermission('menu.create')): ?> <div class="col-md-12"> <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['type' => 'hidden','id' => 'menu_id','value' => ''.e($select_menu->id).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['type' => 'hidden','id' => 'menu_id','value' => ''.e($select_menu->id).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> <?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> </div> <div class="col-md-4"> <div class="accordion"> <div class="accordion-item"> <h2 class="accordion-header bg-transparent pt-3" id="headingOne"> <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> <?php echo e(__('Add Menu Item')); ?> </button> </h2> <div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne"> <div class="accordion-body pt-1 pb-3"> <?php if (isset($component)) { $__componentOriginal60bcc951c550d5b77fb7cdd189e510ca = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-select','data' => ['id' => 'default-item-select','class' => 'select2']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-select'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => 'default-item-select','class' => 'select2']); ?> <?php if (isset($component)) { $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.select-option','data' => ['text' => ''.e(__('Default Pages')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.select-option'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['text' => ''.e(__('Default Pages')).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?> <?php $attributes = $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?> <?php unset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?> <?php endif; ?> <?php if (isset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?> <?php $component = $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?> <?php unset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?> <?php endif; ?> <?php $__currentLoopData = $defaultMenuItemList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if (isset($component)) { $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.select-option','data' => ['value' => '1','dataLabel' => ''.e($menu->name).'','dataUrl' => ''.e($menu->url).'','text' => ''.e($menu->name).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.select-option'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['value' => '1','data-label' => ''.e($menu->name).'','data-url' => ''.e($menu->url).'','text' => ''.e($menu->name).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?> <?php $attributes = $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?> <?php unset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?> <?php endif; ?> <?php if (isset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?> <?php $component = $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?> <?php unset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca)): ?> <?php $attributes = $__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca; ?> <?php unset($__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca); ?> <?php endif; ?> <?php if (isset($__componentOriginal60bcc951c550d5b77fb7cdd189e510ca)): ?> <?php $component = $__componentOriginal60bcc951c550d5b77fb7cdd189e510ca; ?> <?php unset($__componentOriginal60bcc951c550d5b77fb7cdd189e510ca); ?> <?php endif; ?> <div class="form-group mt-2 mb-2"> <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['id' => 'add_item_url','label' => ''.e(__('URL')).'','placeholder' => ''.e(__('Enter URL')).'','value' => ''.e(old('url')).'','required' => 'true']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => 'add_item_url','label' => ''.e(__('URL')).'','placeholder' => ''.e(__('Enter URL')).'','value' => ''.e(old('url')).'','required' => 'true']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> <?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> </div> <div class="form-group mb-3"> <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['id' => 'add_item_name','label' => ''.e(__('Name')).'','placeholder' => ''.e(__('Enter Name')).'','value' => ''.e(old('name')).'','required' => 'true']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => 'add_item_name','label' => ''.e(__('Name')).'','placeholder' => ''.e(__('Enter Name')).'','value' => ''.e(old('name')).'','required' => 'true']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> <?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> </div> <div class="d-flex align-items-center gap-2"> <?php if (isset($component)) { $__componentOriginal60a020e5340f3f52bbc4501dc9f93102 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal60a020e5340f3f52bbc4501dc9f93102 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.button','data' => ['text' => __('Add Item'),'onclick' => 'addMenuItem(event)']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['text' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Add Item')),'onclick' => 'addMenuItem(event)']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal60a020e5340f3f52bbc4501dc9f93102)): ?> <?php $attributes = $__attributesOriginal60a020e5340f3f52bbc4501dc9f93102; ?> <?php unset($__attributesOriginal60a020e5340f3f52bbc4501dc9f93102); ?> <?php endif; ?> <?php if (isset($__componentOriginal60a020e5340f3f52bbc4501dc9f93102)): ?> <?php $component = $__componentOriginal60a020e5340f3f52bbc4501dc9f93102; ?> <?php unset($__componentOriginal60a020e5340f3f52bbc4501dc9f93102); ?> <?php endif; ?> <div class="spinner-border text-primary spinner-border-sm item-spinner d-none" role="status"></div> </div> </div> </div> </div> </div> </div> <div class="col-md-8"> <div class="card"> <div class="card-body"> <div class="row"> <div class="col-12"> <div class="w-100 text-end border-bottom pb-3 d-flex align-items-center gap-2"> <div class="input-group"> <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['id' => 'menu_name','value' => ''.e($select_menu->getTranslation($language_code)?->name).'','required' => 'true']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => 'menu_name','value' => ''.e($select_menu->getTranslation($language_code)?->name).'','required' => 'true']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> <?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf3ad9c349c70d58844f8581b0990debd = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf3ad9c349c70d58844f8581b0990debd = $attributes; } ?> <?php $component = App\View\Components\Admin\UpdateButton::resolve(['text' => __('Update Menu')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.update-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Admin\UpdateButton::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['onclick' => 'updateMenuName(event)']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf3ad9c349c70d58844f8581b0990debd)): ?> <?php $attributes = $__attributesOriginalf3ad9c349c70d58844f8581b0990debd; ?> <?php unset($__attributesOriginalf3ad9c349c70d58844f8581b0990debd); ?> <?php endif; ?> <?php if (isset($__componentOriginalf3ad9c349c70d58844f8581b0990debd)): ?> <?php $component = $__componentOriginalf3ad9c349c70d58844f8581b0990debd; ?> <?php unset($__componentOriginalf3ad9c349c70d58844f8581b0990debd); ?> <?php endif; ?> </div> <div class="spinner-border text-success spinner-border-sm menu-name-spinner d-none" role="status"></div> </div> </div> <div class="col-12 my-3"> <div class="dd" id="nestable"> <ol class="dd-list" id="menu_item_list"> <?php if($menuItems): ?> <?php $__currentLoopData = $menuItems; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if (isset($component)) { $__componentOriginal790905be2e6ca19b81529dc428ac35a3 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal790905be2e6ca19b81529dc428ac35a3 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'custommenu::components.menu-item','data' => ['menu' => $menu]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('custommenu::menu-item'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['menu' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($menu)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal790905be2e6ca19b81529dc428ac35a3)): ?> <?php $attributes = $__attributesOriginal790905be2e6ca19b81529dc428ac35a3; ?> <?php unset($__attributesOriginal790905be2e6ca19b81529dc428ac35a3); ?> <?php endif; ?> <?php if (isset($__componentOriginal790905be2e6ca19b81529dc428ac35a3)): ?> <?php $component = $__componentOriginal790905be2e6ca19b81529dc428ac35a3; ?> <?php unset($__componentOriginal790905be2e6ca19b81529dc428ac35a3); ?> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <h4 class="text-danger mb-0" id="no_item_found"> <?php echo e(__('No Item Found')); ?></h4> <?php endif; ?> </ol> </div> </div> <div class="col-12"> <div class="w-100 border-top pt-3 d-flex align-items-center gap-2"> <?php if (isset($component)) { $__componentOriginal60a020e5340f3f52bbc4501dc9f93102 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal60a020e5340f3f52bbc4501dc9f93102 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.button','data' => ['text' => __('Save Menu'),'onclick' => 'updateMenu(event)']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['text' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Save Menu')),'onclick' => 'updateMenu(event)']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal60a020e5340f3f52bbc4501dc9f93102)): ?> <?php $attributes = $__attributesOriginal60a020e5340f3f52bbc4501dc9f93102; ?> <?php unset($__attributesOriginal60a020e5340f3f52bbc4501dc9f93102); ?> <?php endif; ?> <?php if (isset($__componentOriginal60a020e5340f3f52bbc4501dc9f93102)): ?> <?php $component = $__componentOriginal60a020e5340f3f52bbc4501dc9f93102; ?> <?php unset($__componentOriginal60a020e5340f3f52bbc4501dc9f93102); ?> <?php endif; ?> <div class="spinner-border text-primary spinner-border-sm menu-update-spinner d-none" role="status"></div> </div> </div> </div> </div> </div> </div> <?php else: ?> <h1 class="text-danger text-center"><?php echo e(__('Please Select a menu')); ?></h1> <?php endif; ?> </div> </div> </div> </section> </div> <?php if (isset($component)) { $__componentOriginalaa3b824e4662c5ae30529397669d1c1d = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalaa3b824e4662c5ae30529397669d1c1d = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.delete-modal','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.delete-modal'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalaa3b824e4662c5ae30529397669d1c1d)): ?> <?php $attributes = $__attributesOriginalaa3b824e4662c5ae30529397669d1c1d; ?> <?php unset($__attributesOriginalaa3b824e4662c5ae30529397669d1c1d); ?> <?php endif; ?> <?php if (isset($__componentOriginalaa3b824e4662c5ae30529397669d1c1d)): ?> <?php $component = $__componentOriginalaa3b824e4662c5ae30529397669d1c1d; ?> <?php unset($__componentOriginalaa3b824e4662c5ae30529397669d1c1d); ?> <?php endif; ?> <div tabindex="-1" role="dialog" id="editModal" class="modal fade"> <div class="modal-dialog" role="document"> <form class="modal-content" action="<?php echo e(route('admin.custom-menu.items.update')); ?>" method="POST"> <?php echo csrf_field(); ?> <div class="modal-header"> <h5 class="modal-title"><?php echo e(__('Edit Menu')); ?></h5> <button type="button" class="btn-close" data-bs-dismiss="modal"></button> </div> <div class="modal-body"> <div class="form-group mt-3"> <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['id' => 'update_item_url','name' => 'link','label' => ''.e(__('URL')).'','placeholder' => ''.e(__('Enter URL')).'','required' => 'true']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => 'update_item_url','name' => 'link','label' => ''.e(__('URL')).'','placeholder' => ''.e(__('Enter URL')).'','required' => 'true']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> <?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> </div> <div class="form-group"> <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['id' => 'update_item_name','name' => 'label','label' => ''.e(__('Name')).'','placeholder' => ''.e(__('Enter Name')).'','required' => 'true']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => 'update_item_name','name' => 'label','label' => ''.e(__('Name')).'','placeholder' => ''.e(__('Enter Name')).'','required' => 'true']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> <?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> </div> <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['type' => 'hidden','id' => 'update_item_id','name' => 'id']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['type' => 'hidden','id' => 'update_item_id','name' => 'id']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> <?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['type' => 'hidden','name' => 'code','value' => ''.e($language_code).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['type' => 'hidden','name' => 'code','value' => ''.e($language_code).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> <?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?> <?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?> <?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?> <?php endif; ?> </div> <div class="modal-footer bg-whitesmoke br"> <?php if (isset($component)) { $__componentOriginal60a020e5340f3f52bbc4501dc9f93102 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal60a020e5340f3f52bbc4501dc9f93102 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.button','data' => ['variant' => 'danger','dataBsDismiss' => 'modal','text' => ''.e(__('Close')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['variant' => 'danger','data-bs-dismiss' => 'modal','text' => ''.e(__('Close')).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal60a020e5340f3f52bbc4501dc9f93102)): ?> <?php $attributes = $__attributesOriginal60a020e5340f3f52bbc4501dc9f93102; ?> <?php unset($__attributesOriginal60a020e5340f3f52bbc4501dc9f93102); ?> <?php endif; ?> <?php if (isset($__componentOriginal60a020e5340f3f52bbc4501dc9f93102)): ?> <?php $component = $__componentOriginal60a020e5340f3f52bbc4501dc9f93102; ?> <?php unset($__componentOriginal60a020e5340f3f52bbc4501dc9f93102); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf3ad9c349c70d58844f8581b0990debd = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf3ad9c349c70d58844f8581b0990debd = $attributes; } ?> <?php $component = App\View\Components\Admin\UpdateButton::resolve(['text' => ''.e(__('Update')).''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.update-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Admin\UpdateButton::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['type' => 'submit']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf3ad9c349c70d58844f8581b0990debd)): ?> <?php $attributes = $__attributesOriginalf3ad9c349c70d58844f8581b0990debd; ?> <?php unset($__attributesOriginalf3ad9c349c70d58844f8581b0990debd); ?> <?php endif; ?> <?php if (isset($__componentOriginalf3ad9c349c70d58844f8581b0990debd)): ?> <?php $component = $__componentOriginalf3ad9c349c70d58844f8581b0990debd; ?> <?php unset($__componentOriginalf3ad9c349c70d58844f8581b0990debd); ?> <?php endif; ?> </div> </form> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('css'); ?> <link rel="stylesheet" href="<?php echo e(asset('backend/custom-menu/menu.css')); ?>"> <?php $__env->stopPush(); ?> <?php $__env->startPush('js'); ?> <?php echo $__env->make('custommenu::script', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <script src="<?php echo e(asset('backend/custom-menu/nestable.js')); ?>"></script> <script src="<?php echo e(asset('backend/custom-menu/menu.js')); ?>"></script> <script> function deleteData(id) { $("#deleteForm").attr("action", '<?php echo e(url('/admin/menu/items/destroy/')); ?>' + "/" + id) } </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('admin.master_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/lekhnath/silverray.com.au/Modules/CustomMenu/resources/views/index.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0.02 |
proxy
|
phpinfo
|
Настройка