mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-21 15:56:30 +00:00
Merge pull request #110 from rmc47/master
Correct the lengths of the ADIF header fields on export
This commit is contained in:
commit
0f4bd03951
@ -2,11 +2,10 @@
|
||||
|
||||
header("content-type: plain/text");
|
||||
header('Content-Disposition: attachment; filename="export_log.adi"')
|
||||
|
||||
?>
|
||||
<ADIF_VERS:3>2.2
|
||||
<PROGRAMID:14><?php echo $this->config->item('app_name')."\n"; ?>
|
||||
<PROGRAMVERSION:22>Version <?php echo $this->config->item('app_version')."\n"; ?>
|
||||
<PROGRAMID:<?php echo strlen($this->config->item('app_name')); ?>><?php echo $this->config->item('app_name')."\n"; ?>
|
||||
<PROGRAMVERSION:<?php echo strlen($this->config->item('app_version')); ?>>Version <?php echo $this->config->item('app_version')."\n"; ?>
|
||||
<EOH>
|
||||
|
||||
<?php foreach ($qsos->result() as $qso) { //print_r($qso);?>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<ADIF_VERS:3>2.2
|
||||
<PROGRAMID:14><?php echo $this->config->item('app_name')."\n"; ?>
|
||||
<PROGRAMVERSION:22>Version <?php echo $this->config->item('app_version')."\n"; ?>
|
||||
<PROGRAMID:<?php echo strlen($this->config->item('app_name')); ?>><?php echo $this->config->item('app_name')."\n"; ?>
|
||||
<PROGRAMVERSION:<?php echo strlen($this->config->item('app_version')); ?>>Version <?php echo $this->config->item('app_version')."\n"; ?>
|
||||
<EOH>
|
||||
|
||||
<?php foreach ($qsos->result() as $qso) { //print_r($qso);?>
|
||||
|
Loading…
Reference in New Issue
Block a user