diff --git a/application/views/templates/FHC-Common.php b/application/views/templates/FHC-Common.php index 245432f46..33f9d4cc9 100644 --- a/application/views/templates/FHC-Common.php +++ b/application/views/templates/FHC-Common.php @@ -23,6 +23,7 @@ $tablesorter2 = isset($tablesorter2) ? $tablesorter2 : false; $tabulator4 = isset($tabulator4) ? $tabulator4 : false; $tabulator5 = isset($tabulator5) ? $tabulator5 : false; + $tabulator6 = isset($tabulator6) ? $tabulator6 : false; $tabulator5JQuery = isset($tabulator5JQuery) ? $tabulator5JQuery : false; $tinymce3 = isset($tinymce3) ? $tinymce3 : false; $tinymce5 = isset($tinymce5) ? $tinymce5 : false; diff --git a/application/views/templates/FHC-Footer.php b/application/views/templates/FHC-Footer.php index 9387cf92c..b17c55470 100644 --- a/application/views/templates/FHC-Footer.php +++ b/application/views/templates/FHC-Footer.php @@ -104,6 +104,8 @@ if ($tabulator5 === true) generateJSsInclude('vendor/olifolkerd/tabulator5/dist/js/tabulator.min.js'); // Tabulator 5 JQuery if ($tabulator5JQuery === true) generateJSsInclude('public/js/tabulator/jquery_wrapper.js'); + // Tabulator 6 JS + if ($tabulator6 === true) generateJSsInclude('vendor/olifolkerd/tabulator6/dist/js/tabulator.min.js'); // Tinymce 3 JS if ($tinymce3 === true) generateJSsInclude('include/tiny_mce/tiny_mce.js'); diff --git a/application/views/templates/FHC-Header.php b/application/views/templates/FHC-Header.php index bca75512f..cd25f4b58 100644 --- a/application/views/templates/FHC-Header.php +++ b/application/views/templates/FHC-Header.php @@ -79,6 +79,9 @@ // Tabulator 5 CSS if ($tabulator5 === true) generateCSSsInclude('public/css/Tabulator5.css'); + + // Tabulator 6 CSS + if ($tabulator6 === true) generateCSSsInclude('public/css/Tabulator6.css'); // Tinymce 5 CSS if ($tinymce5 === true) generateCSSsInclude('public/css/TinyMCE5.css'); diff --git a/composer.json b/composer.json index 216d315d9..7b67e427c 100644 --- a/composer.json +++ b/composer.json @@ -237,6 +237,17 @@ } } }, + { + "type": "package", + "package": { + "name": "olifolkerd/tabulator6", + "version": "6.3.1", + "dist": { + "url": "https://github.com/olifolkerd/tabulator/archive/refs/tags/6.3.1.zip", + "type": "zip" + } + } + }, { "type": "package", "package": { @@ -427,6 +438,7 @@ "olifolkerd/tabulator4": "4.9.*", "olifolkerd/tabulator5": "5.5.*", + "olifolkerd/tabulator6": "6.3.*", "phpseclib/phpseclib": "2.0.*", diff --git a/composer.lock b/composer.lock index 27132ecff..4e8f68f1c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "01ea35652d88680f8262c5365828eb46", + "content-hash": "d1ed276d478102b0f2b03f7a883ee058", "packages": [ { "name": "afarkas/html5shiv", @@ -1518,6 +1518,15 @@ }, "type": "library" }, + { + "name": "olifolkerd/tabulator6", + "version": "6.3.1", + "dist": { + "type": "zip", + "url": "https://github.com/olifolkerd/tabulator/archive/refs/tags/6.3.1.zip" + }, + "type": "library" + }, { "name": "phpseclib/phpseclib", "version": "2.0.46", @@ -4752,5 +4761,5 @@ "php": ">=5.6.40" }, "platform-dev": [], - "plugin-api-version": "2.2.0" + "plugin-api-version": "2.6.0" } diff --git a/public/css/Tabulator6.css b/public/css/Tabulator6.css new file mode 100644 index 000000000..8be726544 --- /dev/null +++ b/public/css/Tabulator6.css @@ -0,0 +1 @@ +@import '../../vendor/olifolkerd/tabulator6/dist/css/tabulator_simple.min.css'; \ No newline at end of file