Update file editpage.php

This commit is contained in:
Jan BELLON 2024-03-11 07:58:56 +00:00
parent adb65ca61b
commit f0a908b689

View File

@ -114,6 +114,9 @@ if(isset($fichier)) {
echo '<form action="?' . $filetypes[$filetype] . '=' . $filename . '" method="post">'; echo '<form action="?' . $filetypes[$filetype] . '=' . $filename . '" method="post">';
echo "<div><div class='button'><a href='editpage.php'>Retour</a></div>"; echo "<div><div class='button'><a href='editpage.php'>Retour</a></div>";
echo "<div><div class='button'><a href='news.php?article=" . $filename . "'>Voir l'article</a></div>"; echo "<div><div class='button'><a href='news.php?article=" . $filename . "'>Voir l'article</a></div>";
echo '<div><select name="classification" required>';
foreach($classifications as $id => $nom) { echo '<option value="' . $id .'">' . $nom . '</option>'; }
echo "</select></div>";
echo "<div><h1>" . $filename . "</h1></div>"; echo "<div><h1>" . $filename . "</h1></div>";
echo '<div><textarea name="page-content">' . $texte = str_replace("<br />", "", $contenu) . '</textarea></div>'; echo '<div><textarea name="page-content">' . $texte = str_replace("<br />", "", $contenu) . '</textarea></div>';
echo '<div><input type="submit" value="Publier"></div></form>'; echo '<div><input type="submit" value="Publier"></div></form>';