From de8785d088434f5d531e10f3eb87ed7f32b1c12c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9drix?= Date: Fri, 15 May 2026 09:48:03 +0200 Subject: [PATCH] =?UTF-8?q?fix=20:=20d=C3=A9placer=20config=20mises=20?= =?UTF-8?q?=C3=A0=20jour=20Folio=20dans=20l'onglet=20Site?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- public/index.php | 2 +- templates/admin.php | 54 ++++++++++++++++++++++----------------------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/public/index.php b/public/index.php index 168437d..b57a1dc 100644 --- a/public/index.php +++ b/public/index.php @@ -2837,7 +2837,7 @@ switch ($action) { 'folio_update_branch' => $_POST['folio_update_branch'] ?? '', ]); $_updateChecker->clearCache(); - header('Location: /admin?tab=dashboard¬ice=' . ($ok ? 'folio_saved' : 'folio_error')); + header('Location: /admin/site?notice=' . ($ok ? 'folio_saved' : 'folio_error')); exit; case 'admin_save_site': diff --git a/templates/admin.php b/templates/admin.php index 8237bd4..41e3488 100644 --- a/templates/admin.php +++ b/templates/admin.php @@ -164,33 +164,6 @@ function adminStatusBadge(array $a, int $now): string - -
Configuration Folio enregistrée.
- -
Impossible d'enregistrer.
- -
-
Configuration des mises à jour
-
-
-
- - -
Sans slash final. Laissez vide pour utiliser FOLIO_REPO_URL du .env.
-
-
- - -
- -
-
-
-
Activité récente
@@ -574,6 +547,33 @@ function adminStatusBadge(array $a, int $now): string + +
Configuration Folio enregistrée.
+ +
Impossible d'enregistrer.
+ +
+
Mises à jour du moteur
+
+
+
+ + +
Sans slash final. Laissez vide pour utiliser FOLIO_REPO_URL du .env.
+
+
+ + +
+ + +
+
+