Skip to content

Commit 212efec

Browse files
committed
2 parents a8e474a + dec4d4d commit 212efec

File tree

5 files changed

+21
-10
lines changed

5 files changed

+21
-10
lines changed

src/resources/views-elfinder/ckeditor4.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<!-- elFinder translation (OPTIONAL) -->
2323
<script src="<?= asset($dir."/js/i18n/elfinder.$locale.js") ?>"></script>
2424
<?php
25+
2526
} ?>
2627

2728
<!-- elFinder initialization (REQUIRED) -->
@@ -44,6 +45,7 @@ function getUrlParam(paramName) {
4445
?>
4546
lang: '<?= $locale ?>', // locale
4647
<?php
48+
4749
} ?>
4850
customData: {
4951
_token: '<?= csrf_token() ?>'

src/resources/views-elfinder/filepicker.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<!-- elFinder translation (OPTIONAL) -->
2323
<script src="<?= asset($dir."/js/i18n/elfinder.$locale.js") ?>"></script>
2424
<?php
25+
2526
} ?>
2627
<!-- Include jQuery, jQuery UI, elFinder (REQUIRED) -->
2728

@@ -40,6 +41,7 @@
4041
?>
4142
lang: '<?= $locale ?>', // locale
4243
<?php
44+
4345
} ?>
4446
customData: {
4547
_token: '<?= csrf_token() ?>'

src/resources/views-elfinder/standalonepopup.php

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,34 @@
1010
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
1111

1212
<!-- elFinder CSS (REQUIRED) -->
13-
<link rel="stylesheet" type="text/css" href="<?= asset($dir . '/css/elfinder.min.css') ?>">
14-
<!-- <link rel="stylesheet" type="text/css" href="<?= asset($dir . '/css/theme.css') ?>"> -->
13+
<link rel="stylesheet" type="text/css" href="<?= asset($dir.'/css/elfinder.min.css') ?>">
14+
<!-- <link rel="stylesheet" type="text/css" href="<?= asset($dir.'/css/theme.css') ?>"> -->
1515
<link rel="stylesheet" type="text/css" href="<?= asset('vendor/backpack/elfinder/elfinder.backpack.theme.css') ?>">
1616

1717
<!-- elFinder JS (REQUIRED) -->
18-
<script src="<?= asset($dir . '/js/elfinder.min.js') ?>"></script>
18+
<script src="<?= asset($dir.'/js/elfinder.min.js') ?>"></script>
1919

20-
<?php if ($locale)
21-
{ ?>
20+
<?php if ($locale) {
21+
?>
2222
<!-- elFinder translation (OPTIONAL) -->
23-
<script src="<?= asset($dir . "/js/i18n/elfinder.$locale.js") ?>"></script>
24-
<?php } ?>
23+
<script src="<?= asset($dir."/js/i18n/elfinder.$locale.js") ?>"></script>
24+
<?php
25+
} ?>
2526
<!-- Include jQuery, jQuery UI, elFinder (REQUIRED) -->
2627

2728
<script type="text/javascript">
2829
$().ready(function () {
2930
var elf = $('#elfinder').elfinder({
3031
// set your elFinder options here
31-
<?php if($locale){ ?>
32+
<?php if ($locale) {
33+
?>
3234
lang: '<?= $locale ?>', // locale
33-
<?php } ?>
35+
<?php
36+
} ?>
3437
customData: {
3538
_token: '<?= csrf_token() ?>'
3639
},
37-
url: '<?= route("elfinder.connector") ?>', // connector URL
40+
url: '<?= route('elfinder.connector') ?>', // connector URL
3841
dialog: {width: 900, modal: true, title: 'Select a file'},
3942
resizable: false,
4043
commandsOptions: {

src/resources/views-elfinder/tinymce.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<!-- elFinder translation (OPTIONAL) -->
2727
<script src="<?= asset($dir."/js/i18n/elfinder.$locale.js") ?>"></script>
2828
<?php
29+
2930
} ?>
3031

3132

@@ -67,6 +68,7 @@
6768
?>
6869
lang: '<?= $locale ?>', // locale
6970
<?php
71+
7072
} ?>
7173
customData: {
7274
_token: '<?= csrf_token() ?>'

src/resources/views-elfinder/tinymce4.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<!-- elFinder translation (OPTIONAL) -->
2323
<script src="<?= asset($dir."/js/i18n/elfinder.$locale.js") ?>"></script>
2424
<?php
25+
2526
} ?>
2627

2728
<!-- elFinder initialization (REQUIRED) -->
@@ -47,6 +48,7 @@
4748
?>
4849
lang: '<?= $locale ?>', // locale
4950
<?php
51+
5052
} ?>
5153
customData: {
5254
_token: '<?= csrf_token() ?>'

0 commit comments

Comments
 (0)