diff --git a/htdocs/lib/xcal.lib.php b/htdocs/lib/xcal.lib.php index e0a6ddc4d50..b9dbab48b1a 100644 --- a/htdocs/lib/xcal.lib.php +++ b/htdocs/lib/xcal.lib.php @@ -122,24 +122,27 @@ function build_calfile($format='vcal',$title,$desc,$events_array,$outputfile,$fi fwrite($calfileh,"DESCRIPTION:".$encoding.$description."\n"); //fwrite($calfileh,'STATUS:CONFIRMED'."\n"); /* + // Status values for a "VEVENT" statvalue = "TENTATIVE" ;Indicates event is ;tentative. / "CONFIRMED" ;Indicates event is ;definite. / "CANCELLED" ;Indicates event was ;cancelled. - ;Status values for a "VEVENT" + ; - statvalue =/ "NEEDS-ACTION" ;Indicates to-do needs action. + // Status values for "VTODO". + statvalue =/ "NEEDS-ACTION" ;Indicates to-do needs action. / "COMPLETED" ;Indicates to-do completed. / "IN-PROCESS" ;Indicates to-do in process of / "CANCELLED" ;Indicates to-do was cancelled. - ;Status values for "VTODO". - statvalue =/ "DRAFT" ;Indicates journal is draft. + + // Status values for "VJOURNAL". + statvalue =/ "DRAFT" ;Indicates journal is draft. / "FINAL" ;Indicates journal is final. / "CANCELLED" ;Indicates journal is removed. - ;Status values for "VJOURNAL". + */ if (! empty($location)) fwrite($calfileh,"LOCATION:".$encoding.$location."\n"); //fwrite($calfileh,"CLASS:PUBLIC\n"); // PUBLIC, PRIVATE, CONFIDENTIAL diff --git a/htdocs/public/agenda/agendaexport.php b/htdocs/public/agenda/agendaexport.php index 70337a28d7e..23254885780 100644 --- a/htdocs/public/agenda/agendaexport.php +++ b/htdocs/public/agenda/agendaexport.php @@ -19,7 +19,9 @@ /** \file htdocs/public/agenda/agendaexport.php * \ingroup agenda * \brief Page to export agenda - * http://127.0.0.1/dolibarr/public/agenda/agendaexport.php?format=rss&exportkey=cle&filter=mine + * http://127.0.0.1/dolibarr/public/agenda/agendaexport.php?format=vcal&exportkey=cle + * http://127.0.0.1/dolibarr/public/agenda/agendaexport.php?format=ical&type=event&exportkey=cle + * http://127.0.0.1/dolibarr/public/agenda/agendaexport.php?format=rss&exportkey=cle * \version $Id$ */