Skip to content

Commit

Permalink
Merge pull request #1699 from m0urs/WWFF_to_CQGMA
Browse files Browse the repository at this point in the history
  • Loading branch information
magicbug authored Oct 21, 2022
2 parents ab7f336 + b328e43 commit 322b59d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions application/views/view_log/qso.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
<?php if($row->COL_WWFF_REF != null) { ?>
<tr>
<td><?php echo $this->lang->line('gen_hamradio_wwff_reference'); ?></td>
<td><a href="https://wwff.co/directory/?showRef=<?php echo $row->COL_WWFF_REF; ?>" target="_blank"><?php echo $row->COL_WWFF_REF; ?></a></td>
<td><a href="https://www.cqgma.org/zinfo.php?ref=<?php echo $row->COL_WWFF_REF; ?>" target="_blank"><?php echo $row->COL_WWFF_REF; ?></a></td>
</tr>
<?php } ?>

Expand All @@ -235,7 +235,7 @@
echo "<td><a href=\"https://www.mountainqrp.it/awards/referenza.php?ref=".$row->COL_SIG_INFO."\" target=\"_blank\">".$row->COL_SIG_INFO."</a></td>";
break;
case "WWFF":
echo "<td><a href=\"https://wwff.co/directory/?showRef=".$row->COL_SIG_INFO."\" target=\"_blank\">".$row->COL_SIG_INFO."</a></td>";
echo "<td><a href=\"https://www.cqgma.org/zinfo.php?ref=".$row->COL_SIG_INFO."\" target=\"_blank\">".$row->COL_SIG_INFO."</a></td>";
break;
case "POTA":
echo "<td><a href=\"https://pota.app/#/park/".$row->COL_SIG_INFO."\" target=\"_blank\">".$row->COL_SIG_INFO."</a></td>";
Expand Down
4 changes: 2 additions & 2 deletions assets/js/sections/qso.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ $( document ).ready(function() {
});

$('#wwff_ref').change(function(){
$('#wwff_info').html('<a target="_blank" href="https://wwff.co/directory/?showRef='+$('#wwff_ref').val()+'"><img width="32" height="32" src="'+base_url+'images/icons/wwff.co.png"></a>');
$('#wwff_info').attr('title', 'Lookup '+$('#wwff_ref').val()+' reference info on wwff.co');
$('#wwff_info').html('<a target="_blank" href="https://www.cqgma.org/zinfo.php?ref='+$('#wwff_ref').val()+'"><img width="32" height="32" src="'+base_url+'images/icons/wwff.co.png"></a>');
$('#wwff_info').attr('title', 'Lookup '+$('#wwff_ref').val()+' reference info on cqgma.org');
});

$('#darc_dok').selectize({
Expand Down

0 comments on commit 322b59d

Please sign in to comment.