Files
Web-NibblePoker/commons/DOM/scripts.php
Herwin 0f63ab3371 Replaced GliderJs with SplideJS
Update .gitmodules, head.php, and 10 more files...
2023-12-15 15:27:45 +01:00

28 lines
914 B
PHP

<?php
// Making sure the file is included and not accessed directly.
if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
header('HTTP/1.1 403 Forbidden');
die();
}
if($enable_gallery) {
echo('<script src="/resources/SplideJs/dist/js/splide.min.js"></script>');
}
if($enable_code_highlight) {
echo('<script src="/resources/HighlightJS/11.6.0/highlight.min.js"></script>');
echo('<script src="/resources/HighlightJS/11.6.0/languages/csharp.min.js"></script>');
}
?>
<script src="/resources/NibblePoker/js/nibblepoker.min.js"></script>
<?php
if($enable_gallery) {
echo('<script src="/resources/NibblePoker/js/nibblepoker-splide.js"></script>');
}
if($enable_code_highlight) {
echo('<script src="/resources/NibblePoker/js/nibblepoker-code.min.js"></script>');
}
if($enable_kitty_and_doggo_sounds) {
echo('<script src="/resources/NibblePoker/js/nibblepoker-contributors.min.js"></script>');
}
?>