Cleaned up some old comments, Fixed some text, Fixed a bug in the main js file

Update footer.php, strings.json, and 3 more files...
This commit is contained in:
2021-12-09 10:55:09 +01:00
parent e117954197
commit fc5e091c89
5 changed files with 22 additions and 25 deletions

View File

@@ -6,7 +6,6 @@
<i class="fa fa-bars" aria-hidden="true"></i><span class="sr-only">Sidebar</span>
</button>
</div>
<!--<div id="copyright-text" class="text-muted ml-15">© Copyright 2020-2021, BOZET Herwin</div>-->
</div>
<span class="ml-auto">
<div id="privacy-footer-link" class="text-muted ml-15">
@@ -15,17 +14,6 @@
</a>
</div>
</span>
<!--<span class="navbar-brand ml-auto">
<a href="<?php echo(l10n_url_switch('en')); ?>">
<img src="/resources/Icons8/color/flags/countries/uk.svg" alt="English">
</a>
<a href="<?php echo(l10n_url_switch('fr')); ?>">
<img src="/resources/Icons8/color/flags/countries/france.svg" alt="French">
</a>
<a href="<?php echo(l10n_url_switch('lb')); ?>">
<img src="/resources/Icons8/color/flags/countries/luxembourg.svg" alt="Luxembourgish">
</a>
</span>-->
<a href="<?php print(l10n_url_abs('/')); ?>" class="navbar-brand ml-auto">
<span class="navbar-brand ml-auto">
<img id="logo-footer" src="/resources/Azias/logos/logov3-test-finalized.svg" alt="logo" draggable="false">

View File

@@ -25,6 +25,7 @@
"links.visit.button": "Visit",
"about.title": "About",
"contact.title": "Contact",
"contact.description": "$contact.description",
"lang.menu.title": "Language",
"lang.current": "English",
"lang.automatic": "Automatic",
@@ -32,6 +33,7 @@
"lang.french": "French",
"lang.luxembourgish": "Luxembourgish",
"privacy.title": "Privacy policy",
"privacy.description": "Our privacy policy in a clear and easy to understand format.",
"privacy.introduction.title": "Introduction",
"privacy.introduction.text.1": "This privacy policy is written in accordance with the 12th and 13th articles of the GDPR.",
"privacy.introduction.text.2": "If you wish to consult it, you can do so on the following websites:",
@@ -92,6 +94,7 @@
"links.visit.button": "Visiter",
"about.title": "À-propos",
"contact.title": "Contact",
"contact.description": "$contact.description",
"lang.menu.title": "Langue",
"lang.current": "Français",
"lang.automatic": "Automatique",
@@ -99,6 +102,7 @@
"lang.french": "Français",
"lang.luxembourgish": "Luxembourgeois",
"privacy.title": "Politique de confidentialité",
"privacy.description": "Notre politique de confidentialité dans un format clair et compréhensible.",
"privacy.introduction.title": "Introduction",
"privacy.introduction.text.1": "La politique de confidentialité ci-présente a été écrite en accord avec les articles 12 et 13 de la RGPD.",
"privacy.introduction.text.2": "Si vous souhaitez consulter le texte officiel en question, vous pouvez le faire sur les sites internet suivants :",

View File

@@ -3,14 +3,14 @@
<html lang="<?php echo($user_language); ?>">
<head>
<?php include 'headers.php'; ?>
<title>Links - Nibble Poker</title>
<meta name="description" content="A collection of links to all the other locations we are active on.">
<meta property="og:title" content="Nibble Poker - Links" />
<title><?php print(localize('contact.title')); ?> - Nibble Poker</title>
<meta name="description" content="<?php print(localize('contact.description')); ?>">
<meta property="og:title" content="Nibble Poker - <?php print(localize('contact.title')); ?>" />
<meta property="og:type" content="website" />
<meta property="og:url" content="<?php echo($host_uri); ?>/" />
<meta property="og:image" content="<?php echo($host_uri); ?>/resources/Azias/logos/rect1750-9-7-3-shaded.png"/>
<meta property="og:image:type" content="image/png"/>
<meta property="og:description" content="A collection of links to all the other locations we are active on."/>
<meta property="og:description" content="<?php print(localize('contact.description')); ?>"/>
</head>
<body class="with-custom-webkit-scrollbars with-custom-css-scrollbars dark-mode" data-dm-shortcut-enabled="true" data-sidebar-shortcut-enabled="true">
<?php include 'body-root.php'; ?>

View File

@@ -1,16 +1,16 @@
<?php set_include_path('../commons/'); include 'config.php'; include 'langs.php'; ?>
<!DOCTYPE html>
<html lang="<?php print(localize('text.privacy')); ?>">
<html lang="<?php echo($user_language); ?>">
<head>
<?php include 'headers.php'; ?>
<title><?php print(localize('privacy.title')); ?> - Nibble Poker</title>
<meta name="description" content="???">
<meta name="description" content="<?php print(localize('privacy.description')); ?>">
<meta property="og:title" content="Nibble Poker - <?php print(localize('privacy.title')); ?>" />
<meta property="og:type" content="website" />
<meta property="og:url" content="<?php echo($host_uri); ?>/" />
<meta property="og:image" content="<?php echo($host_uri); ?>/resources/Azias/logos/rect1750-9-7-3-shaded.png"/>
<meta property="og:image:type" content="image/png"/>
<meta property="og:description" content="???"/>
<meta property="og:description" content="<?php print(localize('privacy.description')); ?>"/>
</head>
<body class="with-custom-webkit-scrollbars with-custom-css-scrollbars dark-mode" data-dm-shortcut-enabled="true" data-sidebar-shortcut-enabled="true">
<?php include 'body-root.php'; ?>

View File

@@ -9,9 +9,14 @@ document.getElementById('button-sidebar').addEventListener("click", () => {
halfmoon.toggleSidebar();
});
document.getElementById('button-copy-tox-id-main').addEventListener("click", () => {
navigator.clipboard.writeText("62C1A91A425F90D7B4F047D70CCF31E7402C9EC37B93604B0F37C416442D15044AF6C1AE033B");
});
document.getElementById('button-copy-tox-id-backup').addEventListener("click", () => {
navigator.clipboard.writeText("01ABBD4515C8FA56231333D1022CEEE0A605F4E85F8A945365F56D196A1BBA10FB4DCE08DBE8");
});
if(document.getElementById('button-copy-tox-id-main') != null) {
document.getElementById('button-copy-tox-id-main').addEventListener("click", () => {
navigator.clipboard.writeText("62C1A91A425F90D7B4F047D70CCF31E7402C9EC37B93604B0F37C416442D15044AF6C1AE033B");
});
}
if(document.getElementById('button-copy-tox-id-backup') != null) {
document.getElementById('button-copy-tox-id-backup').addEventListener("click", () => {
navigator.clipboard.writeText("01ABBD4515C8FA56231333D1022CEEE0A605F4E85F8A945365F56D196A1BBA10FB4DCE08DBE8");
});
}