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;