From 4f088d274a608590c82c9a9213b0705c8a4dcc3d Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Tue, 23 Jan 2024 10:53:43 +0100 Subject: [PATCH] added: link to web calendar as parameter --- ics.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ics.php b/ics.php index f4908bd..513fea6 100644 --- a/ics.php +++ b/ics.php @@ -102,6 +102,13 @@ function showresult() var html = "

Evénements à venir

"; html += "
En gras: modifié les " + recent + " derniers jours
"; + + var weblink = params.get("weblink"); + if (weblink) + { + html += `
Lien vers calendrier web
`; + } + var o = ics2json(xhr.responseText); var lastmodified = new Date();