From 882b8fd0da5ee0c3e468b6e232e3574a02738ae7 Mon Sep 17 00:00:00 2001 From: phl0 Date: Fri, 24 Nov 2023 08:25:49 +0100 Subject: [PATCH] Use Ymd as file name to make sorting easier --- application/views/adif/data/exportall.php | 2 +- application/views/adif/data/exportsat.php | 2 +- application/views/cabrillo/export.php | 4 ++-- application/views/csv/data/export.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/application/views/adif/data/exportall.php b/application/views/adif/data/exportall.php index 76dd8413..7c8b58da 100644 --- a/application/views/adif/data/exportall.php +++ b/application/views/adif/data/exportall.php @@ -1,6 +1,6 @@ session->userdata('user_callsign').'-'.date('dmY-Hi').'.adi"') + header('Content-Disposition: attachment; filename="'.$this->session->userdata('user_callsign').'-'.date('Ymd-Hi').'.adi"') ?> Cloudlog ADIF export 3.1.4 diff --git a/application/views/adif/data/exportsat.php b/application/views/adif/data/exportsat.php index 76dd8413..7c8b58da 100644 --- a/application/views/adif/data/exportsat.php +++ b/application/views/adif/data/exportsat.php @@ -1,6 +1,6 @@ session->userdata('user_callsign').'-'.date('dmY-Hi').'.adi"') + header('Content-Disposition: attachment; filename="'.$this->session->userdata('user_callsign').'-'.date('Ymd-Hi').'.adi"') ?> Cloudlog ADIF export 3.1.4 diff --git a/application/views/cabrillo/export.php b/application/views/cabrillo/export.php index 5b189564..64136eea 100644 --- a/application/views/cabrillo/export.php +++ b/application/views/cabrillo/export.php @@ -1,6 +1,6 @@ load->library('Cabrilloformat'); @@ -11,4 +11,4 @@ echo $CI->cabrilloformat->header($contest_id, $callsign, $claimed_score, foreach ($qsos->result() as $row) { echo $CI->cabrilloformat->qso($row); } -echo $CI->cabrilloformat->footer(); \ No newline at end of file +echo $CI->cabrilloformat->footer(); diff --git a/application/views/csv/data/export.php b/application/views/csv/data/export.php index d6b1df2f..24b952ab 100644 --- a/application/views/csv/data/export.php +++ b/application/views/csv/data/export.php @@ -1,6 +1,6 @@ session->userdata('user_callsign').'-SOTA-'.date('dmY-Hi').'.csv"'); + header('Content-Disposition: attachment; filename="'.$this->session->userdata('user_callsign').'-SOTA-'.date('Ymd-Hi').'.csv"'); $CI =& get_instance(); $bands = array( "2190m" => "VLF",