Update versions of libs from CDNJS, remove an unused datatables plugin

This commit is contained in:
Wruczek 2021-02-01 14:31:01 +01:00
parent 3c874d725d
commit 411fa13807
1 changed files with 21 additions and 25 deletions

View File

@ -17,14 +17,14 @@ $navActiveIndex = isset($navActiveIndex) ? (int) $navActiveIndex : 0;
<!-- TODO make it use the language variable "WEBSITE_TITLE" after the ACP update --> <!-- TODO make it use the language variable "WEBSITE_TITLE" after the ACP update -->
<title>{$title} | {$config["website_title"]}</title> <title>{$title} | {$config["website_title"]}</title>
<!-- Bootstrap 4.3.1 --> <!-- Bootstrap 4.6.0 -->
{$tplutils::includeStylesheet("{cdnjs}/twitter-bootstrap/4.3.1/css/bootstrap.min.css", "sha256-YLGeXaapI0/5IgZopewRJcFXomhRMlYYjugPLSyNjTY=")} {$tplutils::includeStylesheet("{cdnjs}/twitter-bootstrap/4.6.0/css/bootstrap.min.css", "sha256-T/zFmO5s/0aSwc6ics2KLxlfbewyRz6UNw1s3Ppf5gE=")}
<!-- FontAwesome CSS 5.8.2 --> <!-- FontAwesome CSS 5.8.2 -->
{$tplutils::includeStylesheet("{cdnjs}/font-awesome/5.8.2/css/all.min.css", "sha256-BtbhCIbtfeVWGsqxk1vOHEYXS6qcvQvLMZqjtpWUEx8=")} {$tplutils::includeStylesheet("{cdnjs}/font-awesome/5.15.2/css/all.min.css", "sha256-0fuNgzfNIlaClbDtmYyFxY8LTNCDrwsNshywr4AALy0=")}
<!-- DataTables 1.10.19 --> <!-- DataTables 1.10.21 -->
{$tplutils::includeStylesheet("{cdnjs}/datatables/1.10.19/css/dataTables.bootstrap4.min.css", "sha256-F+DaKAClQut87heMIC6oThARMuWne8+WzxIDT7jXuPA=")} {$tplutils::includeStylesheet("{cdnjs}/datatables/1.10.21/css/dataTables.bootstrap4.min.css", "sha256-ugpqzk9NhK3S2sVpMgSrIin1AzsJMlqUIMOCXyzPaL8=")}
<!-- Internal scripts --> <!-- Internal scripts -->
{$tplutils::includeStylesheet("css/flags/famfamfam-flags.min.css", true)} {$tplutils::includeStylesheet("css/flags/famfamfam-flags.min.css", true)}
@ -175,38 +175,34 @@ $navActiveIndex = isset($navActiveIndex) ? (int) $navActiveIndex : 0;
} }
</script> </script>
<!-- jQuery 3.4.1 --> <!-- jQuery 3.5.1 -->
{$tplutils::includeScript("{cdnjs}/jquery/3.4.1/jquery.min.js", "sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=")} {$tplutils::includeScript("{cdnjs}/jquery/3.5.1/jquery.min.js", "sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=")}
<!-- Popper.js UMD 1.15.0 --> <!-- Bootstrap 4.6.0 (bundle - includes Popper.js) -->
{$tplutils::includeScript("{cdnjs}/popper.js/1.15.0/umd/popper.min.js", "sha256-fTuUgtT7O2rqoImwjrhDgbXTKUwyxxujIMRIK7TbuNU=")} {$tplutils::includeScript("{cdnjs}/twitter-bootstrap/4.6.0/js/bootstrap.bundle.min.js", "sha256-sCElQ8xaSgoxwbWp0eiXMmGZIRa0z94+ffzzO06BqXs=")}
<!-- Bootstrap 4.3.1 --> <!-- JS-Cookie 2.2.1 -->
{$tplutils::includeScript("{cdnjs}/twitter-bootstrap/4.3.1/js/bootstrap.min.js", "sha256-CjSoeELFOcH0/uxWu6mC/Vlrc1AARqbm/jiiImDGV3s=")} {$tplutils::includeScript("{cdnjs}/js-cookie/2.2.1/js.cookie.min.js", "sha256-oE03O+I6Pzff4fiMqwEGHbdfcW7a3GRRxlL+U49L5sA=")}
<!-- JS-Cookie 2.2.0 --> <!-- day.js 1.10.4 -->
{$tplutils::includeScript("{cdnjs}/js-cookie/2.2.0/js.cookie.min.js", "sha256-9Nt2r+tJnSd2A2CRUvnjgsD+ES1ExvjbjBNqidm9doI=")} {$tplutils::includeScript("{cdnjs}/dayjs/1.10.4/dayjs.min.js", "sha256-NTsR4SOm3YHfJrmrmvBtEYqfQ6jQ5yvEKMhgQe3DIl0=")}
{$tplutils::includeScript("{cdnjs}/dayjs/1.10.4/plugin/localizedFormat.min.js", "sha256-lT2SyoTnTiTm9q25nSMjZFGoltUUrKgr1KEI8lIUszE=")}
<!-- day.js 1.9.3 --> {$tplutils::includeScript("{cdnjs}/dayjs/1.10.4/plugin/relativeTime.min.js", "sha256-Cto+wNkJbN1edfnamCQc/qvvQ5OUDOBzibYzJrJ8ElQ=")}
{$tplutils::includeScript("{cdnjs}/dayjs/1.9.3/dayjs.min.js", "sha256-ty2mPrBF/8jcJe1+JfGM5l2HsYs7zEbs+f6X0norebo=")}
{$tplutils::includeScript("{cdnjs}/dayjs/1.9.3/plugin/localizedFormat.min.js", "sha256-kP2eKuLMKEa/YcMNj0kW8qRpNtjAE4rJrS8PPL3vxCc=")}
{$tplutils::includeScript("{cdnjs}/dayjs/1.9.3/plugin/relativeTime.min.js", "sha256-K66CFTJDYaJ07agFxxju12e79nVEG+OuRN+hl9ivxYI=")}
{var $dayjslang = __get("DAYJS_LANG", [], true)} {var $dayjslang = __get("DAYJS_LANG", [], true)}
{if $dayjslang !== null && $dayjslang !== "en"} {if $dayjslang !== null && $dayjslang !== "en"}
{$tplutils::includeScript("{cdnjs}/dayjs/1.9.3/locale/$dayjslang.js")} {$tplutils::includeScript("{cdnjs}/dayjs/1.10.4/locale/$dayjslang.js")}
<script> <script>
dayjs.locale({$dayjslang} || navigator.languages || navigator.language) dayjs.locale({$dayjslang} || navigator.languages || navigator.language)
</script> </script>
{/if} {/if}
<!-- DataTables 1.10.19 + Support for Bootstrap 4 --> <!-- DataTables 1.10.21 + Support for Bootstrap 4 -->
{$tplutils::includeScript("{cdnjs}/datatables/1.10.19/js/jquery.dataTables.min.js", "sha256-t5ZQTZsbQi8NxszC10CseKjJ5QeMw5NINtOXQrESGSU=")} {$tplutils::includeScript("{cdnjs}/datatables/1.10.21/js/jquery.dataTables.min.js", "sha256-/7zo27Ll/hVKhCsE+y8m2SS5bhFPEQFheTCL87HuumA=")}
{$tplutils::includeScript("{cdnjs}/datatables/1.10.19/js/dataTables.bootstrap4.min.js", "sha256-hJ44ymhBmRPJKIaKRf3DSX5uiFEZ9xB/qx8cNbJvIMU=")} {$tplutils::includeScript("{cdnjs}/datatables/1.10.21/js/dataTables.bootstrap4.min.js", "sha256-1bbr2U4VkmmTxaxcHlFp9rgBhLrwQTP2rl8/jlivGb0=")}
<!-- DataTables responsive plugin + Bootstrap 4 support --> <!-- DataTables responsive plugin -->
{$tplutils::includeScript("https://cdn.datatables.net/responsive/2.2.3/js/dataTables.responsive.min.js", "sha256-7Tbik5KSODuGiOLIOFfhP47p5UK6h1wzw8CFSI/TKhc=")} {$tplutils::includeScript("{cdnjs}/datatables-responsive/2.2.7/dataTables.responsive.min.js", "sha256-lNhDn9rWCvb7iB+apRL+bi4SsUrHKLopvY8lE5nscyI=")}
{$tplutils::includeScript("https://cdn.datatables.net/responsive/2.2.3/js/responsive.bootstrap4.min.js", "sha256-aXVO47Rb7s58FhMTCwbM39en/1XcmzGkClRzBe5txKs=")}
<!-- script.js --> <!-- script.js -->
{$tplutils::includeScript("js/script.js", true)} {$tplutils::includeScript("js/script.js", true)}