mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Basics for LoTW confirmations of CNTY
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user