|
13 | 13 | } |
14 | 14 | // Add English if not present, as it's the fallback |
15 | 15 | if (!array_key_exists('en', $elfinderConfiguredLanguages)) { |
16 | | - $elfinderConfiguredLanguages['en'] = 'English'; |
| 16 | + $elfinderConfiguredLanguages['en'] = 'English'; |
17 | 17 | } |
18 | 18 | @endphp |
19 | 19 |
|
20 | 20 | @section('after_scripts') |
21 | 21 |
|
22 | 22 | @include('backpack.filemanager::common_scripts', ['locale' => in_array($locale, array_keys($elfinderConfiguredLanguages)) ? $locale : null]) |
23 | 23 | @include('backpack.filemanager::common_styles') |
24 | | - |
| 24 | + |
25 | 25 | <!-- elFinder initialization (REQUIRED) --> |
26 | 26 | <script type="text/javascript" charset="utf-8"> |
27 | 27 | // Documentation for client options: |
|
40 | 40 | i18nBaseUrl: '{{ \Illuminate\Support\Str::beforeLast(Basset::getUrl("bp-elfinder-i18n-".$locale), "elfinder.") }}/', |
41 | 41 | @endif |
42 | 42 | @endif |
43 | | - customData: { |
| 43 | + customData: { |
44 | 44 | _token: '{{ csrf_token() }}' |
45 | 45 | }, |
46 | 46 | url : '{{ route("elfinder.connector") }}', // connector URL |
|
52 | 52 | @endsection |
53 | 53 |
|
54 | 54 | @php |
55 | | - $breadcrumbs = [ |
56 | | - trans('backpack::crud.admin') => url(config('backpack.base.route_prefix'), 'dashboard'), |
57 | | - trans('backpack::crud.file_manager') => false, |
58 | | - ]; |
| 55 | + $breadcrumbs = [ |
| 56 | + trans('backpack::crud.admin') => url(config('backpack.base.route_prefix'), 'dashboard'), |
| 57 | + trans('backpack::crud.file_manager') => false, |
| 58 | + ]; |
59 | 59 | @endphp |
60 | 60 |
|
61 | 61 | @section('header') |
62 | 62 | <section class="container-fluid" bp-section="page-header"> |
63 | | - <h1 bp-section="page-heading">{{ trans('backpack::crud.file_manager') }}</h1> |
64 | | - </section> |
65 | | -@endsection |
66 | | - |
67 | | -@section('header') |
68 | | - <section class="header-operation container-fluid animated fadeIn d-flex mb-2 align-items-baseline d-print-none" bp-section="page-header"> |
69 | | - <h1 class="text-capitalize mb-0" bp-section="page-heading">{{ trans('backpack::crud.file_manager') }}</h1> |
| 63 | + <h1 bp-section="page-heading">{{ trans('backpack::crud.file_manager') }}</h1> |
70 | 64 | </section> |
71 | 65 | @endsection |
72 | 66 |
|
73 | 67 | @section('content') |
74 | | - <!-- Element where elFinder will be created (REQUIRED) --> |
75 | | - <div id="elfinder"></div> |
| 68 | + <!-- Element where elFinder will be created (REQUIRED) --> |
| 69 | + <div id="elfinder"></div> |
76 | 70 | @endsection |
0 commit comments