Added text (deleted dxcc) to the dropdown so it's easier to choose correct dxcc.

This commit is contained in:
Andreas
2022-02-11 23:52:41 +01:00
parent 6b0e9b5eeb
commit a52827fdc0
7 changed files with 29 additions and 7 deletions

View File

@@ -46,7 +46,8 @@
<select class="form-control" id="dxcc_select" name="dxcc" aria-describedby="stationCallsignInputHelp">
<option value="0" selected>NONE</option>
<?php foreach ($dxcc_list->result() as $dxcc) { ?>
<option value="<?php echo $dxcc->adif; ?>"><?php echo $dxcc->name; ?></option>
<option value="<?php echo $dxcc->adif; ?>"><?php echo ucwords(strtolower($dxcc->name)); if ($dxcc->end != NULL) echo ' (deleted dxcc)';?>
</option>
<?php } ?>
</select>
<?php } ?>