...
This commit is contained in:
parent
23f340a84b
commit
b1be0d1348
|
@ -289,9 +289,10 @@
|
||||||
$RAW .= "DTSTAMP:".gmdate("Ymd\THis\Z", time())."\n"; // required
|
$RAW .= "DTSTAMP:".gmdate("Ymd\THis\Z", time())."\n"; // required
|
||||||
$RAW .= "DTSTART:${start_t}\n";
|
$RAW .= "DTSTART:${start_t}\n";
|
||||||
$RAW .= "DTEND:${stop_t}\n";
|
$RAW .= "DTEND:${stop_t}\n";
|
||||||
$RAW .= "UID:$start_t@xdrm.io\n"; // required
|
$RAW .= "UID:$start_t-univ-pau-ics\n"; // required
|
||||||
$RAW .= "SUMMARY:$type\n";
|
$RAW .= "SUMMARY:$type\n";
|
||||||
$RAW .= "END:VEVENT\n\n";
|
$RAW .= "CATEGORIES: UPPA Calendar\n";
|
||||||
|
$RAW .= "END:VEVENT\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
=========================================================*/
|
=========================================================*/
|
||||||
foreach($this->config->getDiplomes() as $d_id=>$d_name){
|
foreach($this->config->getDiplomes() as $d_id=>$d_name){
|
||||||
|
|
||||||
file_put_contents(__ROOT__."/tmp/$d_id.ics", "BEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//xdrn.io//NONSGML v1.0//EN\nMETHOD:PUBLISH\nX-WR-CALNAME: UPPA $d_name\n");
|
file_put_contents(__ROOT__."/tmp/$d_id.ics", "BEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//xdrm.io//NONSGML v1.0//EN\nMETHOD:PUBLISH\nX-WR-CALNAME: UPPA $d_name\n");
|
||||||
|
|
||||||
/* (1) Browse each date
|
/* (1) Browse each date
|
||||||
---------------------------------------------------------*/
|
---------------------------------------------------------*/
|
||||||
|
|
Loading…
Reference in New Issue