mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-22 00:07:14 +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-type: plain/text");
|
||||||
header('Content-Disposition: attachment; filename="export_log.adi"')
|
header('Content-Disposition: attachment; filename="export_log.adi"')
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<ADIF_VERS:3>2.2
|
<ADIF_VERS:3>2.2
|
||||||
<PROGRAMID:14><?php echo $this->config->item('app_name')."\n"; ?>
|
<PROGRAMID:<?php echo strlen($this->config->item('app_name')); ?>><?php echo $this->config->item('app_name')."\n"; ?>
|
||||||
<PROGRAMVERSION:22>Version <?php echo $this->config->item('app_version')."\n"; ?>
|
<PROGRAMVERSION:<?php echo strlen($this->config->item('app_version')); ?>>Version <?php echo $this->config->item('app_version')."\n"; ?>
|
||||||
<EOH>
|
<EOH>
|
||||||
|
|
||||||
<?php foreach ($qsos->result() as $qso) { //print_r($qso);?>
|
<?php foreach ($qsos->result() as $qso) { //print_r($qso);?>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<ADIF_VERS:3>2.2
|
<ADIF_VERS:3>2.2
|
||||||
<PROGRAMID:14><?php echo $this->config->item('app_name')."\n"; ?>
|
<PROGRAMID:<?php echo strlen($this->config->item('app_name')); ?>><?php echo $this->config->item('app_name')."\n"; ?>
|
||||||
<PROGRAMVERSION:22>Version <?php echo $this->config->item('app_version')."\n"; ?>
|
<PROGRAMVERSION:<?php echo strlen($this->config->item('app_version')); ?>>Version <?php echo $this->config->item('app_version')."\n"; ?>
|
||||||
<EOH>
|
<EOH>
|
||||||
|
|
||||||
<?php foreach ($qsos->result() as $qso) { //print_r($qso);?>
|
<?php foreach ($qsos->result() as $qso) { //print_r($qso);?>
|
||||||
|
Loading…
Reference in New Issue
Block a user