added: link to web calendar as parameter
This commit is contained in:
parent
cd7e69ee19
commit
4f088d274a
7
ics.php
7
ics.php
|
@ -102,6 +102,13 @@ function showresult()
|
||||||
|
|
||||||
var html = "<h1>Evénements à venir</h1>";
|
var html = "<h1>Evénements à venir</h1>";
|
||||||
html += "<div>En gras: modifié les " + recent + " derniers jours</div>";
|
html += "<div>En gras: modifié les " + recent + " derniers jours</div>";
|
||||||
|
|
||||||
|
var weblink = params.get("weblink");
|
||||||
|
if (weblink)
|
||||||
|
{
|
||||||
|
html += `<div><a target="_blank" href="${weblink}">Lien vers calendrier web</a></div>`;
|
||||||
|
}
|
||||||
|
|
||||||
var o = ics2json(xhr.responseText);
|
var o = ics2json(xhr.responseText);
|
||||||
|
|
||||||
var lastmodified = new Date();
|
var lastmodified = new Date();
|
||||||
|
|
Loading…
Reference in New Issue