+ + + +
+ +From 6fb621e5503ea4b3e92cb80977bb5f3d86774780 Mon Sep 17 00:00:00 2001
From: Herwin
+
+
+
+
\ No newline at end of file
diff --git a/commons/DOM/footer.php b/commons/DOM/footer.php
index 9d233d3..58dba39 100644
--- a/commons/DOM/footer.php
+++ b/commons/DOM/footer.php
@@ -1,6 +1,6 @@
\ No newline at end of file
diff --git a/commons/DOM/body-2.php b/commons/DOM/body-2.php
deleted file mode 100644
index 51a4259..0000000
--- a/commons/DOM/body-2.php
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
\ No newline at end of file
diff --git a/commons/DOM/body-3.php b/commons/DOM/body-3.php
deleted file mode 100644
index 0c29c20..0000000
--- a/commons/DOM/body-3.php
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
\ No newline at end of file
diff --git a/commons/DOM/body-5.php b/commons/DOM/body-5.php
deleted file mode 100644
index 343aa64..0000000
--- a/commons/DOM/body-5.php
+++ /dev/null
@@ -1,8 +0,0 @@
-
- " draggable="false">
+ alt="" draggable="false">
\ No newline at end of file
diff --git a/commons/DOM/head.php b/commons/DOM/head.php
index f6fd294..bf1eb40 100644
--- a/commons/DOM/head.php
+++ b/commons/DOM/head.php
@@ -5,10 +5,10 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
die();
}
?>
-
-
-
-
+
+
+
+
@@ -22,9 +22,9 @@ if($enable_waffle_iron) {
//echo("");
}
if($enable_code_highlight) {
- echo('');
+ echo('');
}
if($enable_glider) {
- echo('');
+ echo('');
}
?>
diff --git a/commons/DOM/header-lang.php b/commons/DOM/header-lang.php
new file mode 100644
index 0000000..59bd575
--- /dev/null
+++ b/commons/DOM/header-lang.php
@@ -0,0 +1,26 @@
+
+
\ No newline at end of file
diff --git a/commons/DOM/sidebar.php b/commons/DOM/sidebar.php
index 4f3e652..2b1e7ba 100644
--- a/commons/DOM/sidebar.php
+++ b/commons/DOM/sidebar.php
@@ -1,63 +1,64 @@
+
+
+
+
+
+
@@ -95,24 +93,29 @@ include 'commons/DOM/body-2.php';
if($contentManager->hasError) {
echo('');
echo(localize("content.header.base"));
+ echo('');
echo('❱');
echo(localize("content.error.header"));
+ echo('');
} elseif($contentManager->displayType == ContentDisplayType::SEARCH) {
echo('');
echo(localize("content.header.base"));
+ echo('');
echo('❱');
echo(localize("content.search.header"));
+ echo('');
} elseif($contentManager->displayType == ContentDisplayType::CONTENT) {
echo('');
echo(localize("content.header.base"));
+ echo('');
echo('❱');
echo('' . $content->get_head_title() . '');
+ echo('');
}
?>
-
+
When its content is listed, it is shown as being empty.",
+ "fs.blank.p2": "This file system has a LOT more comments than the others which explains in much more details how each important method works.",
+
+ "fs.rom.title": "Read-Only Memory",
+
+ "bld.title": "Block-level Devices",
+
+ "bld.stub.title": "Stub",
+ "bld.stub.p1": "Stub of a generic block-level class without any code, but detailed comments for each required methods and their warnings and notes.",
+ "bld.stub.p2": "The reasoning behind not making this one a working class is that block-level devices require quite a bit more code to make them work as you need to create a working MBR and FAT partition.",
+
+ "bld.remote.title": "Remote",
+
+ "warning.title": "Warning",
+ "warning.p1": "Due to the way some commands are executed, it is possible to have a command injection vulnerability if you mess up or leave the config file editable by everyone.",
+ "warning.p2": "This might be fixed in the future, but don't count on it as this project is a personal one.",
+
+ "features.title": "Features",
+ "features.list.1.1": "● General",
+
+ "links.title": "Links",
+ "_123": "https://files.nibblepoker.lu/downloads/CircuitPython-CustomFileSystems/CircuitPython-CustomFileSystems-master.zip"
+ },
+ "fr": {
+ "meta.title": "CircuitPython - Systèmes de fichiers personalisés",
+ "meta.description": "Un set de systèmes de fichiers et stockage en blocs personnalisés pour CircuitPython qui peuvent être utilisés afin d'apprendre leur fonctionnement ou améliorés et implémentés dans d'autres solutions.",
+ "article.subtitle": " Voir sur GitHub",
+
+ "intro.title": "Introduction",
+ "intro.p1": "Ce projet contient un set de systèmes de fichiers et stockage en blocs personnalisés pour CircuitPython qui peuvent être utilisés afin d'apprendre leur fonctionnement ou améliorés et implémentés dans d'autres solutions.",
+ "intro.p2": "Tous ces exemples sont soigneusement documentés afin de vous permettre de comprendre le fonctionnement de chaque méthode d'un système de fichiers virtuel ou d'un stockage en blocs
Et en plus de cela, ils vous montreront certaines des méthodes non documentées.",
+
+ "requirements.title": "Dépendances",
+ "requirements.1": "Un MCU avec CircuitPython 8.0 ou une version plus récente",
+ "requirements.1.1": "Access to the zlib (Required for most block-level devices)",
+ "requirements.1.2": "Wi-Fi connectivity is required for some examples",
+ "requirements.1.3": "Around 1MiB of disk space and 48 KiB of RAM free on the MCU",
+ "requirements.2": "A way to mount disk images on you computer for block-level projects",
+ "requirements.2.1": "ImDisk's Ram Disk tool is recommended for Windows.",
+ "requirements.2.2": "I don't know about Linux, sorry.",
+ "requirements.3": "A lot of patience to deal with some of CircuitPython's quirks",
+
+ "warning.title": "Avertissements",
+ "warning.p1": "Due au fait que certaines commandes sont exécutées avec des paramètres arbitraires configurables cette application est vulnérable aux attaques par injection de commande si le fichier de configuration est modifiable par des personnes non autorisées.",
+ "warning.p2": "Ce problème sera probablement réglé dans le futur, mais il n'y a pas de date fixe comme ce projet est plus personnel qu'autre-chose.",
+
+ "features.title": "Fonctionnalités",
+
+ "links.title": "Liens"
+ }
+ },
+ "metadata": {
+ "template": "generic-project-readme",
+ "head": {
+ "title": "meta.title",
+ "description": "meta.description"
+ },
+ "opengraph": {
+ "title": "meta.title",
+ "description": "meta.description",
+ "type": null,
+ "url": null,
+ "image": null,
+ "image_type": null
+ },
+ "article": {
+ "icon": "fab fa-python",
+ "title": "meta.title",
+ "subtitle": "article.subtitle",
+ "tags": ["electronic", "python", "circuitpython"]
+ }
+ },
+ "elements": [
+ {"type": "h1", "content": "intro.title"},
+ {"type": "paragraph", "indent": 2, "content": "intro.p1"},
+ {"type": "paragraph", "indent": 2, "content": "intro.p2"},
+
+ {"type": "h1", "content": "requirements.title"},
+ {
+ "type": "paragraph", "indent": 2,
+ "parts": [
+ {"type": "raw", "content": "● ", "localize": false},
+ {"type": "raw", "content": "requirements.1"},
+ {"type": "raw", "content": "
", "localize": false},
+ {"type": "raw", "content": " ∘ ", "localize": false},
+ {"type": "raw", "content": "requirements.1.1"},
+ {"type": "raw", "content": "
", "localize": false},
+ {"type": "raw", "content": " ∘ ", "localize": false},
+ {"type": "raw", "content": "requirements.1.2"},
+ {"type": "raw", "content": "
", "localize": false},
+ {"type": "raw", "content": " ∘ ", "localize": false},
+ {"type": "raw", "content": "requirements.1.3"}
+ ]
+ },
+ {
+ "type": "paragraph", "indent": 2,
+ "parts": [
+ {"type": "raw", "content": "● ", "localize": false},
+ {"type": "raw", "content": "requirements.2"},
+ {"type": "raw", "content": "
", "localize": false},
+ {"type": "raw", "content": " ∘ ", "localize": false},
+ {"type": "raw", "content": "requirements.2.1"},
+ {"type": "raw", "content": "
", "localize": false},
+ {"type": "raw", "content": " ∘ ", "localize": false},
+ {"type": "raw", "content": "requirements.2.2"}
+ ]
+ },
+ {
+ "type": "paragraph", "indent": 2,
+ "parts": [
+ {"type": "raw", "content": "● ", "localize": false},
+ {"type": "raw", "content": "requirements.3"}
+ ]
+ },
+
+ {"type": "h1", "content": "fs.title"},
+ {"type": "paragraph", "indent": 2, "content": "fs.p1"},
+ {"type": "image", "src": "fuck"},
+ {"type": "h1", "content": "fs.blank.title"},
+ {"type": "paragraph", "indent": 2, "content": "fs.blank.p1"},
+ {"type": "paragraph", "indent": 2, "content": "fs.blank.p2"},
+ {"type": "h1", "content": "fs.rom.title"},
+ {"type": "paragraph", "indent": 2, "content": "intro.p2"},
+
+ {"type": "h1", "content": "bld.title"},
+ {"type": "paragraph", "indent": 2, "content": "bld.p1"},
+ {"type": "image", "src": "fuck"},
+ {"type": "h1", "content": "bld.stub.title"},
+ {"type": "paragraph", "indent": 2, "content": "bld.stub.p1"},
+ {"type": "paragraph", "indent": 2, "content": "bld.stub.p2"},
+ {"type": "h1", "content": "bld.remote.title"},
+ {"type": "paragraph", "indent": 2, "content": "intro.p2"}
+ ]
+}
diff --git a/error.php b/error.php
index 4d8b62e..6fc2cf3 100644
--- a/error.php
+++ b/error.php
@@ -10,63 +10,58 @@ if(isset($_SERVER['REDIRECT_STATUS'])) {
$np_err_code = $_SERVER['REDIRECT_STATUS'];
}
?>
-
-
-
-
-
-
-
-
-
+
+
+
+
-
+
diff --git a/links/index.php b/links/index.php index ac6fdfd..81a740e 100644 --- a/links/index.php +++ b/links/index.php @@ -1,120 +1,48 @@
- -
- - - - - + +
+ + + + + - + -