[Quick Lookup] Added ucwords with options to dxcc name

This commit is contained in:
Andreas
2022-09-20 19:55:31 +02:00
parent 33d18c8001
commit 7a23b6fbfc

View File

@@ -14,7 +14,11 @@
<?php
foreach($dxcc as $d){
echo '<option value=' . $d->adif . '>' . $d->prefix . ' - ' . ucwords(strtolower(($d->name))) . '</option>';
echo '<option value=' . $d->adif . '>' . $d->prefix . ' - ' . ucwords(strtolower($d->name), "- (/");
if ($d->Enddate != null) {
echo ' (deleted dxcc)';
}
echo '</option>';
}
?>