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 '
';