From 01f25071f49f00d3e1e65d01941faeb4c4150e4b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 13 Aug 2024 19:08:11 +0200 Subject: [PATCH] Debug v20 --- htdocs/eventorganization/conferenceorbooth_list.php | 4 ++-- htdocs/public/agenda/agendaexport.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/eventorganization/conferenceorbooth_list.php b/htdocs/eventorganization/conferenceorbooth_list.php index e7830219c28..b8c1b423cb9 100644 --- a/htdocs/eventorganization/conferenceorbooth_list.php +++ b/htdocs/eventorganization/conferenceorbooth_list.php @@ -493,7 +493,7 @@ if ($projectid > 0) { // Show message $message = ''.$langs->trans('DownloadICSLink').img_picto('', 'download', 'class="paddingleft"').''; + $message .= "&project=".$projectid.'&module='.urlencode('project@eventorganization').'&file='.urlencode('calendar-'.$project->ref.'.ics').'&output=file">'.$langs->trans('DownloadICSLink').img_picto('', 'download', 'class="paddingleft"').''; print $message; print ""; @@ -512,7 +512,7 @@ if ($projectid > 0) { // Show message $message = ''.$langs->trans('DownloadICSLink').img_picto('', 'download', 'class="paddingleft"').''; + $message .= "&project=".$projectid.'&module='.urlencode('conforbooth@eventorganization').'&file='.urlencode('calendar-'.$project->ref.'-conforbooth.ics').'&status='.ConferenceOrBooth::STATUS_CONFIRMED.'&output=file">'.$langs->trans('DownloadICSLink').img_picto('', 'download', 'class="paddingleft"').''; print $message; print ""; diff --git a/htdocs/public/agenda/agendaexport.php b/htdocs/public/agenda/agendaexport.php index 23a7673def2..f645e51b89a 100644 --- a/htdocs/public/agenda/agendaexport.php +++ b/htdocs/public/agenda/agendaexport.php @@ -202,7 +202,7 @@ if ($reshook < 0) { // Define filename with prefix on filters predica (each predica set must have on cache file) -$shortfilename = 'dolibarrcalendar'; +$shortfilename = 'calendar'; $filename = $shortfilename; // Complete long filename foreach ($filters as $key => $value) {