' . __("Results for state update:") . '';
if ($result['count'] == 0) {
echo '
' . __("The number of QSOs updated for state/province in") . ' ' . $country . ': ' . $result['count'] . '
';
} else {
echo '' . __("The number of QSOs updated for state/province in") . ' ' . $country . ': ' . $result['count'] . '
';
}
if ($result) {
$details = [];
foreach ($result as $r) {
if (is_array($r)) {
$details[] = $r;
}
}
if (!empty($details)) { ?>
= __("These QSOs could not be updated:"); ?>
' . __("Results for continent update:") . '';
echo '' . sprintf(__("The number of QSOs updated for continent is") . ': %d', $result) . '
';
}
function showDistanceUpdateResult($result) {
echo '' . __("Results for distance update:") . '
';
echo '' . sprintf(__("The number of QSOs updated for distance is") . ': %d', $result) . '
';
}
function showGridUpdateResult($result) {
echo '' . __("Results for gridsquare update:") . '
';
echo '' . sprintf(__("The number of QSOs updated for gridsquare is") . ': %d', $result) . '
';
}