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/add/index.php | 140 +++++++++++++++++++++ .../cms-special/admin-v2/calendar/index.php | 86 +++++++++++++ .../cms-special/admin-v2/calendar/manage/index.php | 78 ++++++++++++ 3 files changed, 304 insertions(+) create mode 100644 Neutron-trunk/cms-special/admin-v2/calendar/add/index.php create mode 100644 Neutron-trunk/cms-special/admin-v2/calendar/index.php create mode 100644 Neutron-trunk/cms-special/admin-v2/calendar/manage/index.php (limited to 'Neutron-trunk/cms-special/admin-v2/calendar') diff --git a/Neutron-trunk/cms-special/admin-v2/calendar/add/index.php b/Neutron-trunk/cms-special/admin-v2/calendar/add/index.php new file mode 100644 index 0000000..1029788 --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/calendar/add/index.php @@ -0,0 +1,140 @@ + + "Ajouter un événement - Calendrier", "headerName" => "Ajouter un événement" ]; require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/precontent.php"; ?> +
+

+ +

+ +

/resources/image/message_info.svg" class="message_img">

+


+
+ + + \ No newline at end of file diff --git a/Neutron-trunk/cms-special/admin-v2/calendar/index.php b/Neutron-trunk/cms-special/admin-v2/calendar/index.php new file mode 100644 index 0000000..e596551 --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/calendar/index.php @@ -0,0 +1,86 @@ + + "Calendrier", "headerName" => "Gestion des événements" ]; include_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/precontent.php"; ?> + + +

+ + + \ No newline at end of file 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