Basics for LoTW confirmations of CNTY

This commit is contained in:
phl0
2025-09-16 20:49:11 +02:00
parent ab1660ef38
commit ace587ac2f
2 changed files with 75 additions and 5 deletions

View File

@@ -1121,6 +1121,23 @@ class Lotw extends CI_Controller {
endswitch;
}
/*
| Function: lotw_ru_oblast_map
| Requires: russian oblast map $ru_oblast
*/
function lotw_ru_oblast_map($ru_oblast) {
switch ($ru_oblast):
case "YR":
return "JA";
break;
case "YN":
return "JN";
break;
default:
return $ru_oblast;
endswitch;
}
/*
| Function: mode_map
| Requires: mode as $mode, submode as $submode