From dfca9e4c515dc19a70c9db5fcb73d06459a2af01 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Mon, 11 Mar 2024 09:31:31 +0000 Subject: [PATCH] Update file editpage.php --- html/editpage.php | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/html/editpage.php b/html/editpage.php index 3485c671..7d724d9b 100644 --- a/html/editpage.php +++ b/html/editpage.php @@ -127,22 +127,27 @@ if(isset($fichier)) { echo '
'; echo "
"; echo "
"; - echo '
'; + foreach($classifications as $id => $nom) { + if((int)$resultat[0]['classification'] == $id) { + echo ''; + } else { + echo ''; + } + + } + echo "
"; + $filename = $resultat[0]['titre']; } - } - echo "
"; echo "

" . $filename . "

"; echo '
'; echo '
';