From c1782eac5a1b9806424a4fe7a3fc9488f72950ca Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Wed, 6 Mar 2024 17:24:39 +0000 Subject: [PATCH] Update 5 files - /html/index.html - /include/variables.php - /include/functions.php - /config/global.ini - /html/index.php --- config/global.ini | 9 +++++++++ html/{index.html => index.php} | 14 +++++++++----- include/functions.php | 7 +++++++ include/variables.php | 11 +++++++++++ 4 files changed, 36 insertions(+), 5 deletions(-) create mode 100644 config/global.ini rename html/{index.html => index.php} (79%) create mode 100644 include/functions.php create mode 100644 include/variables.php diff --git a/config/global.ini b/config/global.ini new file mode 100644 index 00000000..d40b0449 --- /dev/null +++ b/config/global.ini @@ -0,0 +1,9 @@ +[main] +title = "Club Réseaux" +header-title = "E59" +header-subtitle = "Club Réseaux" +copyright = "© 2024 - E59" + +[nav] +Notehub = "https://notehub.e59.fr/" +Gitlab = "https://gitlab.e59.fr/" diff --git a/html/index.html b/html/index.php similarity index 79% rename from html/index.html rename to html/index.php index 7d763a9a..ea29a5e6 100644 --- a/html/index.html +++ b/html/index.php @@ -1,10 +1,14 @@ + - Club Réseaux + <?=$title?>
@@ -16,11 +20,11 @@
-
E59
-
Club Réseaux
+
+
@@ -40,7 +44,7 @@
-
© 2024 - E59
+
diff --git a/include/functions.php b/include/functions.php new file mode 100644 index 00000000..6abc2da3 --- /dev/null +++ b/include/functions.php @@ -0,0 +1,7 @@ + $url) { + echo ""; + } +} +?> \ No newline at end of file diff --git a/include/variables.php b/include/variables.php new file mode 100644 index 00000000..dedcf923 --- /dev/null +++ b/include/variables.php @@ -0,0 +1,11 @@ + \ No newline at end of file