modification de placement

This commit is contained in:
kylian prebost 2026-06-08 22:43:50 +02:00
parent 759c1d951f
commit 58e028a0eb
2 changed files with 1 additions and 3 deletions

View file

@ -14,7 +14,6 @@ function add_operation_write_ctrl() {
$date_fin = $_POST['date_fin']; $date_fin = $_POST['date_fin'];
$lieu = $_POST['lieu']; $lieu = $_POST['lieu'];
// Conversion datetime-local HTML (YYYY-MM-DDTHH:MM) → MySQL datetime (YYYY-MM-DD HH:MM:SS)
$date_debut = str_replace('T', ' ', $date_debut) . ':00'; $date_debut = str_replace('T', ' ', $date_debut) . ':00';
$date_fin = str_replace('T', ' ', $date_fin) . ':00'; $date_fin = str_replace('T', ' ', $date_fin) . ':00';

View file

@ -4,8 +4,7 @@
// --- NAVIGATION (auth commentée en attendant le système de connexion) --- // --- NAVIGATION (auth commentée en attendant le système de connexion) ---
$nav = '<li><a href="index.php">Accueil</a></li>'; $nav = '<li><a href="index.php">Accueil</a></li>';
$nav .= '<li><a href="index.php?route=operations">Opérations</a></li>'; $nav .= '<li><a href="index.php?route=operations">Opérations</a></li>';
$nav .= '<li><a href="index.php?route=add_utilisateurs_form">Créer un compte</a></li>'; $nav .= '<li><a href="index.php?route=modif_utilisateurs_form">Gestion des comptes</a></li>';
$nav .= '<li><a href="index.php?route=modif_utilisateurs_form">Modifier un compte</a></li>';
$nav .= '<li><a href="index.php?route=lecture">Planning</a></li>'; $nav .= '<li><a href="index.php?route=lecture">Planning</a></li>';
// À DÉCOMMENTER quand l'auth sera fonctionnelle : // À DÉCOMMENTER quand l'auth sera fonctionnelle :