Replace ISO 2-letter country code literals w/ isoquery (localized)

This commit is contained in:
billz
2023-11-04 19:09:55 +00:00
parent 77eb23b0e8
commit 66f8cc0b75
4 changed files with 37 additions and 253 deletions

View File

@@ -22,6 +22,9 @@ function DisplayHostAPDConfig()
'n' => '802.11n - 2.4 GHz',
'ac' => '802.11ac - 5 GHz'
];
$languageCode = strtok($_SESSION['locale'], '_');
$countryCodes = getCountryCodes($languageCode);
$arrSecurity = array(1 => 'WPA', 2 => 'WPA2', 3 => 'WPA+WPA2', 'none' => _("None"));
$arrEncType = array('TKIP' => 'TKIP', 'CCMP' => 'CCMP', 'TKIP CCMP' => 'TKIP+CCMP');
$arrTxPower = getDefaultNetOpts('txpower','dbm');
@@ -157,7 +160,8 @@ function DisplayHostAPDConfig()
"arrHostapdConf",
"operatingSystem",
"selectedHwMode",
"hwModeDisabled"
"hwModeDisabled",
"countryCodes"
)
);
}