diff --git a/403.php b/403.php index 2e0be75..7935ff5 100644 --- a/403.php +++ b/403.php @@ -12,7 +12,7 @@ include_once 'langs.php'; - + diff --git a/404.php b/404.php index 75ef384..7980c9c 100644 --- a/404.php +++ b/404.php @@ -12,7 +12,7 @@ include_once 'langs.php'; - + diff --git a/about/index.php b/about/index.php index 75ef508..52e3096 100644 --- a/about/index.php +++ b/about/index.php @@ -13,7 +13,7 @@ include_once 'langs.php'; - + diff --git a/commons/strings.json b/commons/strings.json index 7496cec..7a05c32 100644 --- a/commons/strings.json +++ b/commons/strings.json @@ -111,6 +111,7 @@ "error.content.id.alphanumeric": "The requested resource's ID isn't valid.", "error.content.data.not.exist": "The requested content doesn't have an internal item file.", "error.content.data.no.title": "No title found !", + "error.content.data.no.description": "No description found !", "error.content.data.no.tags": "No tags found !", "error.content.data.no.parts": "No content parts were found for this content !", "error.content.data.no.subpart": "No sub-element were found for this element !", @@ -259,6 +260,7 @@ "error.content.id.alphanumeric": "L'ID de la ressource demandée n'est pas valide.", "error.content.data.not.exist": "Le contenu demandée n'a pas de fichier de données interne associé.", "error.content.data.no.title": "Aucun titre trouvé !", + "error.content.data.no.description": "Aucune description trouvée !", "error.content.data.no.tags": "Aucun tag trouvé !", "error.content.data.no.parts": "Aucun élément à présenter n'a été trouvé !", "error.content.data.no.subpart": "Aucun sous-élément n'a été trouvé pour cet élément !", diff --git a/contact/index.php b/contact/index.php index 5bb0fe6..b8674f8 100644 --- a/contact/index.php +++ b/contact/index.php @@ -12,7 +12,7 @@ include_once 'langs.php'; - + diff --git a/content/index.php b/content/index.php index b139df0..d79bd18 100644 --- a/content/index.php +++ b/content/index.php @@ -23,15 +23,41 @@ if($content_has_error) { - - Content - Nibble Poker - - - - - - - + '.$_metaTitle.' - Nibble Poker'); + echo(''); + echo(''); + echo(''); + ?> + + + + @@ -55,13 +81,11 @@ if($content_has_error) { echo(localize("content.title.content").''.localize("content.title.search.header")); } elseif($requested_content_display_type == ContentDisplayType::CONTENT) { $_nav_title_text = '' . localize("error.content.data.no.title") . ''; + if (array_key_exists("page", $requested_item_data["title"])) { - if (array_key_exists($user_language, $requested_item_data["title"]["page"])) { - $_nav_title_text = $requested_item_data["title"]["page"][$user_language]; - } elseif (array_key_exists($default_language, $requested_item_data["title"]["page"])) { - $_nav_title_text = $requested_item_data["title"]["page"][$user_language]; - } + $_nav_title_text = getContentItemText($requested_item_data["title"]["page"]); } + echo(localize("content.title.content").''.$_nav_title_text); } ?> @@ -70,15 +94,6 @@ if($content_has_error) {
'); - echo('
'); - echo('

'); - echo('15/04/2021 - This section is under construction...

'); - echo('
'); - echo('
'); - endMainCard(); - if($SHOW_CONTENT_DEBUG_CARD) { // ################ // Debugging card @@ -192,7 +207,7 @@ if($content_has_error) { $_title_icon = "fad fa-question"; $_title_text_main = ''.localize("error.content.data.no.title").''; $_title_text_sub = NULL; - + // Attempting to read the card's icon, title and subtitle. if (array_key_exists("title", $requested_item_data)) { if (array_key_exists("icon", $requested_item_data["title"])) { diff --git a/content/items/excel-worksheet-password-remover.json b/content/items/excel-worksheet-password-remover.json new file mode 100644 index 0000000..3c480c8 --- /dev/null +++ b/content/items/excel-worksheet-password-remover.json @@ -0,0 +1,28 @@ +{ + "title": { + "icon": "fad fa-unlock", + "page": { + "en": "Excel Worksheet Password Remover", + "fr": "Excel Worksheet Password Remover" + }, + "card": { + "main": { + "en": "Excel Worksheet Password Remover", + "fr": "Excel Worksheet Password Remover" + } + } + }, + "meta": { + "title": { + "en": "Excel Worksheet Password Remover", + "fr": "Excel Worksheet Password Remover" + }, + "description": { + "en": "Small web page from which you can easily remove a password from an Excel worksheet. It works by leaving the task of editing the XML files on an Excel document to your browser instead to keep everything local.", + "fr": "Petite application web qui permet de facilement retirer le mot de passe d'une feuille de calcul Excel depuis votre navigateur web sans avoir à uploader le fichier sur internet. Cette application laisse votre navigateur modifier les fichiers XML du fichier Excel afin de tout garder en local." + } + }, + "tags": [ + "docker", "web", "python" + ] +} diff --git a/content/items/lscom-cli.json b/content/items/lscom-cli.json index 1b59902..98417e2 100644 --- a/content/items/lscom-cli.json +++ b/content/items/lscom-cli.json @@ -16,6 +16,16 @@ } } }, + "meta": { + "title": { + "en": "PB-ListComPort", + "fr": "PB-ListComPort" + }, + "description": { + "en": "A simple CLI tool that can list COM ports with their name, friendly name and device name easily and cleanly.", + "fr": "Un petit utilitaire pour invité de commande qui permet de facilement lister les noms, noms formatés et chemin des ports COM." + } + }, "parts": [ { "type": "container", @@ -160,7 +170,7 @@ "key": "content.commons.version.current" }, "subtitle": { - "en": "v2.1.0" + "en": "v2.1.0" }, "modifiers": [ "no-rounding", diff --git a/content/items/youtube-auto-archiver.json b/content/items/youtube-auto-archiver.json new file mode 100644 index 0000000..ade0701 --- /dev/null +++ b/content/items/youtube-auto-archiver.json @@ -0,0 +1,28 @@ +{ + "title": { + "icon": "fab fa-youtube", + "page": { + "en": "Youtube-Auto-Archiver", + "fr": "Youtube-Auto-Archiver" + }, + "card": { + "main": { + "en": "Youtube-Auto-Archiver", + "fr": "Youtube-Auto-Archiver" + } + } + }, + "meta": { + "title": { + "en": "Youtube-Auto-Archiver", + "fr": "Youtube-Auto-Archiver" + }, + "description": { + "en": "A simple and yet highly configurable Python application that automatically checks if a Youtuber is streaming, and downloads said streams while also archiving its latest uploads.", + "fr": "Conteneur et application Python hautement configurable qui permet d'automatiquement archiver et télécharger des livestreams et vidéos depuis YouTube." + } + }, + "tags": [ + "docker", "web", "python" + ] +} diff --git a/index.php b/index.php index 25c12ad..17f7ffe 100644 --- a/index.php +++ b/index.php @@ -12,7 +12,7 @@ include_once 'langs.php'; - + diff --git a/links/index.php b/links/index.php index 0115b61..d00d1e9 100644 --- a/links/index.php +++ b/links/index.php @@ -12,7 +12,7 @@ include_once 'langs.php'; - + diff --git a/privacy/index.php b/privacy/index.php index 5a3a892..2a11560 100644 --- a/privacy/index.php +++ b/privacy/index.php @@ -12,7 +12,7 @@ include_once 'langs.php'; - + diff --git a/sitemap.txt b/sitemap.txt index af94445..f8fe961 100644 --- a/sitemap.txt +++ b/sitemap.txt @@ -1,6 +1,8 @@ https://nibblepoker.lu/ https://nibblepoker.lu/content/ https://nibblepoker.lu/content/lscom-cli +https://nibblepoker.lu/content/youtube-auto-archiver +https://nibblepoker.lu/content/excel-worksheet-password-remover https://nibblepoker.lu/links/ https://nibblepoker.lu/about/ https://nibblepoker.lu/contact/ @@ -8,6 +10,8 @@ https://nibblepoker.lu/privacy/ https://nibblepoker.lu/en/ https://nibblepoker.lu/en/content/ https://nibblepoker.lu/en/content/lscom-cli +https://nibblepoker.lu/en/content/youtube-auto-archiver +https://nibblepoker.lu/en/content/excel-worksheet-password-remover https://nibblepoker.lu/en/links/ https://nibblepoker.lu/en/about/ https://nibblepoker.lu/en/contact/ @@ -15,6 +19,8 @@ https://nibblepoker.lu/en/privacy/ https://nibblepoker.lu/fr/ https://nibblepoker.lu/fr/content/ https://nibblepoker.lu/fr/content/lscom-cli +https://nibblepoker.lu/fr/content/youtube-auto-archiver +https://nibblepoker.lu/fr/content/excel-worksheet-password-remover https://nibblepoker.lu/fr/links/ https://nibblepoker.lu/fr/about/ https://nibblepoker.lu/fr/contact/