From f007bac3b9172711dc0fcca1306270ab99dbd8a4 Mon Sep 17 00:00:00 2001 From: polo Date: Tue, 24 Jun 2025 01:04:35 +0200 Subject: =?UTF-8?q?am=C3=A9lioration=20affichage,=20contr=C3=B4le=20des=20?= =?UTF-8?q?entr=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'public/index.php') diff --git a/public/index.php b/public/index.php index 99220e8..540e8ab 100644 --- a/public/index.php +++ b/public/index.php @@ -8,6 +8,7 @@ require '../src/controller/calendar.php'; fullcalendar + @@ -17,7 +18,12 @@ require '../src/controller/calendar.php'; ' . "\n" : '' . "\n"; +if($_SESSION['admin'] === true){ + echo '' . "\n"; +} +else{ + echo '' . "\n"; +} ?> -- cgit v1.2.3