From a8f72da22ea6773bcf22c17190201219cbe35b1d Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Thu, 7 Mar 2024 16:34:09 +0000 Subject: [PATCH] Update 2 files - /html/src/css/style.css - /html/editpage.php --- html/editpage.php | 2 +- html/src/css/style.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/html/editpage.php b/html/editpage.php index e9a8c4a2..cbc2957e 100644 --- a/html/editpage.php +++ b/html/editpage.php @@ -91,7 +91,7 @@ if(isset($fichier)) { $pages = scandir($repertoire . "content/"); foreach($pages as $page) { if($page != "." && $page != "..") { - if (is_file($repertoire . "content/")) { + if (is_file($repertoire . "content/" . $page)) { echo "
" . pathinfo($page, PATHINFO_FILENAME) . "
"; } } diff --git a/html/src/css/style.css b/html/src/css/style.css index 89ef0f05..06c4e2ed 100644 --- a/html/src/css/style.css +++ b/html/src/css/style.css @@ -42,6 +42,7 @@ input, textarea { color: var(--text); padding: 0.4em 1em; border: 0; + border: 1px solid var(--dark-background); border-bottom: 1px solid var(--text); margin: 15px 0; font-size: 1.5em;