feat: prevent user select lotw badge when copy

This commit is contained in:
tallcode
2026-01-07 17:50:24 +08:00
parent 9ad49e2893
commit 47b7a9b6d6

View File

@@ -261,7 +261,7 @@ function echoQrbCalcLink($mygrid, $grid, $vucc, $isVisitor = false) {
} elseif ($diff > 7) {
$lotw_hint = ' lotw_info_yellow';
}
$timestamp = strtotime($row->lastupload); echo ($row->callsign == '' ? '' : ' <a id="lotw_badge" style="float: right;" href="https://lotw.arrl.org/lotwuser/act?act='.$row->COL_CALL.'" target="_blank"><small id="lotw_info" class="badge text-bg-success'.$lotw_hint.'" data-bs-toggle="tooltip" title="LoTW User. Last upload was '.date($custom_date_format." H:i", $timestamp).'">L</small></a>');
$timestamp = strtotime($row->lastupload); echo ($row->callsign == '' ? '' : ' <a id="lotw_badge" style="float: right; user-select: none;" href="https://lotw.arrl.org/lotwuser/act?act='.$row->COL_CALL.'" target="_blank"><small id="lotw_info" class="badge text-bg-success'.$lotw_hint.'" data-bs-toggle="tooltip" title="LoTW User. Last upload was '.date($custom_date_format." H:i", $timestamp).'">L</small></a>');
}
?>
</td>