Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/oldsite/storage/framework/views/d7521f47400c14f990690edaadb289c6.php
Назад
<?php $__env->startSection('title'); ?> <title><?php echo e(__('admin.Admin Language')); ?> (<?php echo e(strtoupper(request('code'))); ?>)</title> <?php $__env->stopSection(); ?> <?php $__env->startSection('admin-content'); ?> <!-- Main Content --> <div class="main-content"> <section class="section"> <div class="section-header"> <h1><?php echo e(__('admin.Admin Language')); ?> (<?php echo e(strtoupper(request('code'))); ?>)</h1> <div class="section-header-breadcrumb"> <div class="breadcrumb-item active"><a href="<?php echo e(route('admin.dashboard')); ?>"><?php echo e(__('admin.Dashboard')); ?></a></div> <div class="breadcrumb-item active"><a href="<?php echo e(route('admin.languages.index')); ?>"><?php echo e(__('admin.Manage Language')); ?></a></div> <div class="breadcrumb-item"><?php echo e(__('admin.Admin Language')); ?> (<?php echo e(strtoupper(request('code'))); ?>)</div> </div> </div> <div class="section-body"> <div class="row mt-4"> <div class="col"> <div class="card"> <div class="card-header d-flex justify-content-between"> <h4><?php echo e(__('admin.Admin Language')); ?></h4> <button type="button" id="translateAll" class="btn btn-primary" data-code="<?php echo e(request('code')); ?>" data-file="admin"><?php echo e(__('admin.Translate All')); ?></button> </div> <div class="col justify-content-end d-flex"> <?php echo e($data->links()); ?> </div> <div class="card-body"> <form action="<?php echo e(route('admin.update-admin-language', request('code'))); ?>" method="post"> <?php echo csrf_field(); ?> <table class="table table-bordered"> <?php ($paginateData = []); ?> <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td width="50%"><?php echo e($index); ?></td> <td width="50%"> <input type="text" class="form-control" name="values[<?php echo e($index); ?>]" value="<?php echo e($value); ?>"> </td> </tr> <?php ($paginateData[$index] = $value); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </table> <button type="submit" class="btn btn-primary"><?php echo e(__('admin.Update')); ?></button> </form> </div> </div> </div> </div> </div> </section> </div> <script src="<?php echo e(asset('backend/js/iziToast.min.js')); ?>"></script> <script> $('#translateAll').click(function() { iziToast.question({ timeout: false, close: false, overlay: true, displayMode: 'once', id: 'question', zindex: 999, title: 'This will take a while!', message: 'Are you sure?', position: 'center', buttons: [ ['<button><b>YES</b></button>', function(instance, toast) { var isDemo = "<?php echo e(env('PROJECT_MODE')); ?>"; var code = $('#translateAll').data('code'); var file = $('#translateAll').data('file'); if (isDemo == 0) { instance.hide({ transitionOut: 'fadeOut' }, toast, 'button'); toastr.error('This Is Demo Version. You Can Not Change Anything'); return; } $.ajax({ type: "post", data: { _token: '<?php echo e(csrf_token()); ?>', code: code, file: file, texts: "<?php echo e(json_encode($paginateData)); ?>", }, url: "<?php echo e(route('admin.translateAll')); ?>", beforeSend: function() { instance.hide({ transitionOut: 'fadeOut' }, toast, 'button'); iziToast.show({ timeout: false, close: true, theme: 'dark', // icon: 'loader', iconUrl: 'https://hub.izmirnic.com/Files/Images/loading.gif', title: 'This will take a while! wait....', position: 'center', }); }, success: function(response) { if (response.success) { iziToast.destroy(); toastr.success(response.message); setTimeout(function() { window.location.reload(); }, 2000); } }, error: function(err) { iziToast.destroy(); toastr.error('Failed!') console.log(err); }, }) }, true], ['<button>NO</button>', function(instance, toast) { instance.hide({ transitionOut: 'fadeOut' }, toast, 'button'); }], ], onClosing: function(instance, toast, closedBy) {}, onClosed: function(instance, toast, closedBy) {} }); }); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('admin.master_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\laragon\www\topland\script_content\main_files\resources\views/admin/admin_language.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка