|
1 | | - {{-- jQuery (REQUIRED) --}} |
2 | | - @if (!isset ($jquery) || (isset($jquery) && $jquery == true)) |
3 | | - @basset('https://unpkg.com/jquery@3.6.1/dist/jquery.min.js') |
4 | | - @endif |
| 1 | +{{-- jQuery (REQUIRED) --}} |
| 2 | +@if (!isset ($jquery) || (isset($jquery) && $jquery == true)) |
| 3 | + @basset('https://cdn.jsdelivr.net/npm/jquery@3.6.1/dist/jquery.min.js', true, [ |
| 4 | + 'integrity' => 'sha384-Vvooey8iu18IIP2UsBgOl+DI0kQR66LQqPBthxB5y4YqaRgugWOu+vaqwY/AGNAb', |
| 5 | + 'crossorigin' => 'anonymous' |
| 6 | + ]) |
| 7 | +@endif |
5 | 8 |
|
6 | | - {{-- jQuery UI and Smoothness theme --}} |
7 | | - @bassetArchive('https://github.com/jquery/jquery-ui/archive/refs/tags/1.13.2.tar.gz', 'jquery-ui-1.13.2') |
8 | | - @basset('jquery-ui-1.13.2/jquery-ui-1.13.2/dist/themes/smoothness/jquery-ui.min.css') |
9 | | - @basset('jquery-ui-1.13.2/jquery-ui-1.13.2/dist/jquery-ui.min.js') |
| 9 | +{{-- jQuery UI and Smoothness theme --}} |
| 10 | +@basset('https://raw.githubusercontent.com/jquery/jquery-ui/refs/tags/1.13.2/dist/jquery-ui.min.js', true, [ |
| 11 | + 'integrity' => 'sha384-4D3G3GikQs6hLlLZGdz5wLFzuqE9v4yVGAcOH86y23JqBDPzj9viv0EqyfIa6YUL', |
| 12 | + 'crossorigin' => 'anonymous' |
| 13 | +]) |
10 | 14 |
|
11 | | - {{-- elFinder JS (REQUIRED) --}} |
12 | | - @bassetArchive('https://github.com/Studio-42/elFinder/archive/refs/tags/2.1.64.tar.gz', 'elfinder-2.1.64') |
13 | | - @basset('elfinder-2.1.64/elFinder-2.1.64/js/elfinder.min.js') |
| 15 | +{{-- elFinder JS (REQUIRED) --}} |
| 16 | +@basset('https://raw.githubusercontent.com/Studio-42/elFinder/refs/tags/2.1.64/js/elfinder.min.js', true, [ |
| 17 | + 'integrity' => 'sha384-Ow1wKIUQLS9bOa23gn7yT91nyowDhk2zK1lO7G5Hnxlh3bvTPNH7c5uODf7/jIec', |
| 18 | + 'crossorigin' => 'anonymous' |
| 19 | +]) |
14 | 20 |
|
15 | | - {{-- elFinder translation (OPTIONAL) --}} |
16 | | - @if($locale) |
17 | | - @basset('https://cdnjs.cloudflare.com/ajax/libs/elfinder/2.1.64/js/i18n/elfinder.'.$locale.'.min.js') |
18 | | - @endif |
| 21 | +{{-- elFinder translation (OPTIONAL) --}} |
| 22 | +@if($locale) |
| 23 | + @basset('bp-elfinder-i18n-'.$locale) |
| 24 | +@endif |
19 | 25 |
|
20 | | - {{-- elFinder sounds --}} |
21 | | - @basset(base_path('vendor/studio-42/elfinder/sounds/rm.wav')) |
| 26 | +{{-- elFinder sounds --}} |
| 27 | +@basset(base_path('vendor/studio-42/elfinder/sounds/rm.wav')) |
0 commit comments