From 529ffcbfa97ab51a64a97f6dff08aeb2bc0cc105 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 24 Aug 2021 15:38:16 +0200 Subject: Update --- .../cms-special/admin-v2/calendar/manage/index.php | 78 ++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 Neutron-trunk/cms-special/admin-v2/calendar/manage/index.php (limited to 'Neutron-trunk/cms-special/admin-v2/calendar/manage/index.php') diff --git a/Neutron-trunk/cms-special/admin-v2/calendar/manage/index.php b/Neutron-trunk/cms-special/admin-v2/calendar/manage/index.php new file mode 100644 index 0000000..a6f4ebd --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/calendar/manage/index.php @@ -0,0 +1,78 @@ + + "Supprimer un événement - Calendrier", "headerName" => "Supprimer un événement" ]; include_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/precontent.php"; ?> +location.href = '" . $GLOBALS['SYSTEM_ROOT'] . "/cms-special/admin/calendar';"); +} +if (isJson($eventsraw)) { + $events = json_decode($eventsraw); + foreach ($events->events as $element) { + if (isset($element->timestamp)) { + if ($element->timestamp == $_GET['id']) { + $event = $element; + } + } + } +} else { + require $_SERVER['DOCUMENT_ROOT'] . "/api/electrode/quit.php";quit(""); +} +if (!isset($event)) { + require $_SERVER['DOCUMENT_ROOT'] . "/api/electrode/quit.php";quit(""); +} +?> +

+ +

+ + + + \ No newline at end of file -- cgit