Improved readability, Removed trash, Compressed JSON file slightly

Update .dockerignore, .gitignore, and 55 more files...
This commit is contained in:
2022-04-16 13:57:22 +02:00
parent 2a64b9d050
commit 9c98503b07
57 changed files with 282 additions and 431 deletions

View File

@@ -1,5 +1,6 @@
<?php
if (basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
// Making sure the file is included and not accessed directly.
if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
header('HTTP/1.1 403 Forbidden');
die();
}

View File

@@ -1,5 +1,9 @@
<?php if (basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) { header('HTTP/1.1 403 Forbidden'); die(); } ?>
<?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();
}
$host = "nibblepoker.lu";
$host_uri = "https://nibblepoker.lu";
$dir_commons = dirname(__FILE__);

View File

@@ -1,5 +1,5 @@
<?php
// Making sure the file is included.
// Making sure the file is included and not accessed directly.
if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
header('HTTP/1.1 403 Forbidden');
die();
@@ -358,7 +358,7 @@ function createElementNode(mixed $elementNode) : void {
(array_key_exists("color", $elementNode)?' btn-'.$elementNode["color"]:'').
($_modRoundShape?' btn-rounded':'').
($_modCircleShape?' rounded-circle':'').
'"').'>');
' mr-15"').'>');
// Adding content.
processStandardContentSubNode($elementNode);

View File

@@ -1,4 +1,10 @@
<?php if (basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) { header('HTTP/1.1 403 Forbidden'); die(); } ?>
<?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();
}
?>
<nav class="navbar navbar-fixed-bottom">
<div class="navbar-content">
<div class="navbar-content">

View File

@@ -1,4 +1,10 @@
<?php if (basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) { header('HTTP/1.1 403 Forbidden'); die(); } ?>
<?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();
}
?>
<div id="header-lang-menu" class="navbar-content ml-auto">
<div class="dropdown with-arrow">
<button class="btn" data-toggle="dropdown" type="button" id="navbar-lang-dropdown">

View File

@@ -1,4 +1,10 @@
<?php if (basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) { header('HTTP/1.1 403 Forbidden'); die(); } ?>
<?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();
}
?>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />

View File

@@ -1,5 +1,6 @@
<?php
if (basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
// Making sure the file is included and not accessed directly.
if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
header('HTTP/1.1 403 Forbidden');
die();
}

View File

@@ -1,5 +1,5 @@
<?php
// Making sure the file is included.
// Making sure the file is included and not accessed directly.
if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
header('HTTP/1.1 403 Forbidden');
die();

View File

@@ -1,5 +1,5 @@
<?php
// Making sure the file is included.
// Making sure the file is included and not accessed directly.
if (basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
header('HTTP/1.1 403 Forbidden');
die();

View File

@@ -1,5 +1,5 @@
{
"_note": "You really are a nosy one, aren't you ?",
"_note": "You really are a nosy one, aren't you ? :)",
"en": {
"home.title.nav": "Home",
"home.title.header": "Homepage",
@@ -132,10 +132,13 @@
"content.commons.version.previous.multiple": "Previous versions",
"content.commons.version.old.single": "Old version",
"content.commons.version.old.multiple": "Old versions",
"content.commons.version.source": "Source code",
"content.commons.cpu": "CPU <span class=\"hidden-xs-and-down\">Architecture</span>",
"content.commons.cpu.responsive": "CPU <span class=\"hidden-xs-and-down\">Architecture</span>",
"content.commons.cpu.x64": "x64",
"content.commons.cpu.x86": "x86",
"content.commons.na.italic": "<i>N/A</i>",
"content.commons.na": "N/A",
"content.commons.lang": "Language",
"content.commons.download.single": "Download",
"content.commons.download.multiple": "Downloads",
@@ -281,9 +284,12 @@
"content.commons.version.previous.multiple": "Versions précédentes",
"content.commons.version.old.single": "Ancienne version",
"content.commons.version.old.multiple": "Anciennes versions",
"content.commons.version.source": "Code source",
"content.commons.cpu": "Architecture de CPU",
"content.commons.cpu.x64": "x64",
"content.commons.cpu.x86": "x86",
"content.commons.na.italic": "<i>N/A</i>",
"content.commons.na": "N/A",
"content.commons.lang": "Langue",
"content.commons.download.single": "Téléchargement",
"content.commons.download.multiple": "Téléchargements",