mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-23 10:08:38 +00:00
Merge pull request #2344 from phl0/splitSatMode
Split SAT mode in (adv) logbook and QSO view
This commit is contained in:
commit
8e47f282a3
@ -197,7 +197,7 @@
|
||||
<?php if($row->COL_SAT_MODE != null) { ?>
|
||||
<tr>
|
||||
<td><?php echo lang('gen_hamradio_satellite_mode'); ?></td>
|
||||
<td><?php echo $row->COL_SAT_MODE; ?></td>
|
||||
<td><?php echo (strlen($row->COL_SAT_MODE) == 2 ? (strtoupper($row->COL_SAT_MODE[0]).'/'.strtoupper($row->COL_SAT_MODE[1])) : strtoupper($row->COL_SAT_MODE)); ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php if($row->name != null) { ?>
|
||||
|
@ -150,7 +150,7 @@ class QSO
|
||||
$this->rstR = $data['COL_RST_RCVD'];
|
||||
$this->rstS = $data['COL_RST_SENT'];
|
||||
$this->propagationMode = $data['COL_PROP_MODE'] ?? '';
|
||||
$this->satelliteMode = $data['COL_SAT_MODE'] ?? '';
|
||||
$this->satelliteMode = $data['COL_SAT_MODE'] != '' ? (strlen($data['COL_SAT_MODE']) == 2 ? (strtoupper($data['COL_SAT_MODE'][0]).'/'.strtoupper($data['COL_SAT_MODE'][1])) : strtoupper($data['COL_SAT_MODE'])) : '';
|
||||
$this->satelliteName = $data['COL_SAT_NAME'] ?? '';
|
||||
|
||||
$this->name = $data['COL_NAME'] ?? '';
|
||||
|
Loading…
Reference in New Issue
Block a user