![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/rentpix.corals.io/Corals/core/Elfinder/resources/views/ |
<!DOCTYPE html> <html lang="<?= app()->getLocale() ?>"> <head> <meta charset="utf-8"> <title>elFinder 2.0</title> <!-- jQuery and jQuery UI (REQUIRED) --> <link rel="stylesheet" type="text/css" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/themes/smoothness/jquery-ui.css"> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script> <!-- elFinder CSS (REQUIRED) --> <link rel="stylesheet" type="text/css" href="<?= asset($dir.'/css/elfinder.min.css') ?>"> <link rel="stylesheet" type="text/css" href="<?= asset($dir.'/css/theme.css') ?>"> <!-- elFinder JS (REQUIRED) --> <script src="<?= asset($dir.'/js/elfinder.min.js') ?>"></script> <?php if ($locale) { ?> <!-- elFinder translation (OPTIONAL) --> <script src="<?= asset($dir."/js/i18n/elfinder.$locale.js") ?>"></script> <?php } ?> <!-- Include jQuery, jQuery UI, elFinder (REQUIRED) --> <script type="text/javascript"> $().ready(function () { var elf = $('#elfinder').elfinder({ // set your elFinder options here <?php if ($locale) { ?> lang: '<?= $locale ?>', // locale <?php } ?> customData: { _token: '<?= csrf_token() ?>' }, url: '<?= route('file-manager.connector') ?>', // connector URL soundPath: '<?= asset($dir.'/sounds') ?>', dialog: {width: 900, modal: true, title: 'Select a file'}, resizable: false, commandsOptions: { getfile: { oncomplete: 'destroy' } }, getFileCallback: function (file) { window.parent.processSelectedFile(file.path, '<?= $input_id?>'); parent.jQuery.colorbox.close(); } }).elfinder('instance'); }); </script> </head> <body> <!-- Element where elFinder will be created (REQUIRED) --> <div id="elfinder"></div> </body> </html>