[Station Locations] Added European Russia States
这个提交包含在:
		
							父节点
							
								
									e7dec782f3
								
							
						
					
					
						当前提交
						3483df4390
					
				
					共有  2 个文件被更改,包括 109 次插入 和 3 次删除
				
			
		|  | @ -301,6 +301,65 @@ | ||||||
| 							<small id="StateHelp" class="form-text text-muted"><?php echo lang("station_location_state_hint"); ?></small>
 | 							<small id="StateHelp" class="form-text text-muted"><?php echo lang("station_location_state_hint"); ?></small>
 | ||||||
| 						</div> | 						</div> | ||||||
| 
 | 
 | ||||||
|  | 						<div class="mb-3" id="eu_russia_state"> | ||||||
|  | 							<label for="stateInput"><?php echo lang("station_location_state"); ?></label>
 | ||||||
|  | 							<select class="form-select" name="station_state" id="StateHelp" aria-describedby="stationCntyInputHelp"> | ||||||
|  | 								<option value=""></option> | ||||||
|  | 								<option value="SP" <?php if($my_station_profile->state == "SP") { echo "selected"; } ?>>City of St. Petersburg</option>
 | ||||||
|  | 								<option value="LO" <?php if($my_station_profile->state == "LO") { echo "selected"; } ?>>Leningradskaya oblast</option>
 | ||||||
|  | 								<option value="KL" <?php if($my_station_profile->state == "KL") { echo "selected"; } ?>>Republic of Karelia</option>
 | ||||||
|  | 								<option value="AR" <?php if($my_station_profile->state == "AR") { echo "selected"; } ?>>Arkhangelsk (Arkhangelskaya oblast)</option>
 | ||||||
|  | 								<option value="NO" <?php if($my_station_profile->state == "NO") { echo "selected"; } ?>>Nenetsky Autonomous Okrug</option>
 | ||||||
|  | 								<option value="VO" <?php if($my_station_profile->state == "VO") { echo "selected"; } ?>>Vologda (Vologodskaya oblast)</option>
 | ||||||
|  | 								<option value="NV" <?php if($my_station_profile->state == "NV") { echo "selected"; } ?>>Novgorodskaya oblast</option>
 | ||||||
|  | 								<option value="PS" <?php if($my_station_profile->state == "PS") { echo "selected"; } ?>>Pskov (Pskovskaya oblast)</option>
 | ||||||
|  | 								<option value="MU" <?php if($my_station_profile->state == "MU") { echo "selected"; } ?>>Murmansk (Murmanskaya oblast)</option>
 | ||||||
|  | 								<option value="MA" <?php if($my_station_profile->state == "MA") { echo "selected"; } ?>>City of Moscow</option>
 | ||||||
|  | 								<option value="MO" <?php if($my_station_profile->state == "MO") { echo "selected"; } ?>>Moscowskaya oblast</option>
 | ||||||
|  | 								<option value="OR" <?php if($my_station_profile->state == "OR") { echo "selected"; } ?>>Oryel (Orlovskaya oblast)</option>
 | ||||||
|  | 								<option value="LP" <?php if($my_station_profile->state == "LP") { echo "selected"; } ?>>Lipetsk (Lipetskaya oblast)</option>
 | ||||||
|  | 								<option value="TV" <?php if($my_station_profile->state == "TV") { echo "selected"; } ?>>Tver' (Tverskaya oblast)</option>
 | ||||||
|  | 								<option value="SM" <?php if($my_station_profile->state == "SM") { echo "selected"; } ?>>Smolensk (Smolenskaya oblast)</option>
 | ||||||
|  | 								<option value="YR" <?php if($my_station_profile->state == "YR") { echo "selected"; } ?>>Yaroslavl (Yaroslavskaya oblast)</option>
 | ||||||
|  | 								<option value="KS" <?php if($my_station_profile->state == "KS") { echo "selected"; } ?>>Kostroma (Kostromskaya oblast)</option>
 | ||||||
|  | 								<option value="TL" <?php if($my_station_profile->state == "TL") { echo "selected"; } ?>>Tula (Tul'skaya oblast)</option>
 | ||||||
|  | 								<option value="VR" <?php if($my_station_profile->state == "VR") { echo "selected"; } ?>>Voronezh (Voronezhskaya oblast)</option>
 | ||||||
|  | 								<option value="TB" <?php if($my_station_profile->state == "TB") { echo "selected"; } ?>>Tambov (Tambovskaya oblast)</option>
 | ||||||
|  | 								<option value="RA" <?php if($my_station_profile->state == "RA") { echo "selected"; } ?>>Ryazan' (Ryazanskaya oblast)</option>
 | ||||||
|  | 								<option value="NN" <?php if($my_station_profile->state == "NN") { echo "selected"; } ?>>Nizhni Novgorod (Nizhegorodskaya oblast)</option>
 | ||||||
|  | 								<option value="IV" <?php if($my_station_profile->state == "IV") { echo "selected"; } ?>>Ivanovo (Ivanovskaya oblast)</option>
 | ||||||
|  | 								<option value="VL" <?php if($my_station_profile->state == "VL") { echo "selected"; } ?>>Vladimir (Vladimirskaya oblast)</option>
 | ||||||
|  | 								<option value="KU" <?php if($my_station_profile->state == "KU") { echo "selected"; } ?>>Kursk (Kurskaya oblast)</option>
 | ||||||
|  | 								<option value="KG" <?php if($my_station_profile->state == "KG") { echo "selected"; } ?>>Kaluga (Kaluzhskaya oblast)</option>
 | ||||||
|  | 								<option value="BR" <?php if($my_station_profile->state == "BR") { echo "selected"; } ?>>Bryansk (Bryanskaya oblast)</option>
 | ||||||
|  | 								<option value="BO" <?php if($my_station_profile->state == "BO") { echo "selected"; } ?>>Belgorod (Belgorodskaya oblast)</option>
 | ||||||
|  | 								<option value="VG" <?php if($my_station_profile->state == "VG") { echo "selected"; } ?>>Volgograd (Volgogradskaya oblast)</option>
 | ||||||
|  | 								<option value="SA" <?php if($my_station_profile->state == "SA") { echo "selected"; } ?>>Saratov (Saratovskaya oblast)</option>
 | ||||||
|  | 								<option value="PE" <?php if($my_station_profile->state == "PE") { echo "selected"; } ?>>Penza (Penzenskaya oblast)</option>
 | ||||||
|  | 								<option value="SR" <?php if($my_station_profile->state == "SR") { echo "selected"; } ?>>Samara (Samarskaya oblast)</option>
 | ||||||
|  | 								<option value="UL" <?php if($my_station_profile->state == "UL") { echo "selected"; } ?>>Ulyanovsk (Ulyanovskaya oblast)</option>
 | ||||||
|  | 								<option value="KI" <?php if($my_station_profile->state == "KI") { echo "selected"; } ?>>Kirov (Kirovskaya oblast)</option>
 | ||||||
|  | 								<option value="TA" <?php if($my_station_profile->state == "TA") { echo "selected"; } ?>>Republic of Tataria</option>
 | ||||||
|  | 								<option value="MR" <?php if($my_station_profile->state == "MR") { echo "selected"; } ?>>Republic of Marij-El</option>
 | ||||||
|  | 								<option value="MD" <?php if($my_station_profile->state == "MD") { echo "selected"; } ?>>Republic of Mordovia</option>
 | ||||||
|  | 								<option value="UD" <?php if($my_station_profile->state == "UD") { echo "selected"; } ?>>Republic of Udmurtia</option>
 | ||||||
|  | 								<option value="CU" <?php if($my_station_profile->state == "CU") { echo "selected"; } ?>>Republic of Chuvashia</option>
 | ||||||
|  | 								<option value="KR" <?php if($my_station_profile->state == "KR") { echo "selected"; } ?>>Krasnodar (Krasnodarsky Kraj)</option>
 | ||||||
|  | 								<option value="KC" <?php if($my_station_profile->state == "KC") { echo "selected"; } ?>>Republic of Karachaevo-Cherkessia</option>
 | ||||||
|  | 								<option value="ST" <?php if($my_station_profile->state == "ST") { echo "selected"; } ?>>Stavropol' (Stavropolsky Kraj)</option>
 | ||||||
|  | 								<option value="KM" <?php if($my_station_profile->state == "KM") { echo "selected"; } ?>>Republic of Kalmykia</option>
 | ||||||
|  | 								<option value="SO" <?php if($my_station_profile->state == "SO") { echo "selected"; } ?>>Republic of Northern Ossetia</option>
 | ||||||
|  | 								<option value="RO" <?php if($my_station_profile->state == "RO") { echo "selected"; } ?>>Rostov-on-Don (Rostovskaya oblast)</option>
 | ||||||
|  | 								<option value="CN" <?php if($my_station_profile->state == "CN") { echo "selected"; } ?>>Republic Chechnya</option>
 | ||||||
|  | 								<option value="IN" <?php if($my_station_profile->state == "IN") { echo "selected"; } ?>>Republic of Ingushetia</option>
 | ||||||
|  | 								<option value="AO" <?php if($my_station_profile->state == "AO") { echo "selected"; } ?>>Astrakhan' (Astrakhanskaya oblast)</option>
 | ||||||
|  | 								<option value="DA" <?php if($my_station_profile->state == "DA") { echo "selected"; } ?>>Republic of Daghestan</option>
 | ||||||
|  | 								<option value="KB" <?php if($my_station_profile->state == "KB") { echo "selected"; } ?>>Republic of Kabardino-Balkaria</option>
 | ||||||
|  | 								<option value="AD" <?php if($my_station_profile->state == "AD") { echo "selected"; } ?>>Republic of Adygeya</option>
 | ||||||
|  | 							</select> | ||||||
|  | 							<small id="StateHelp" class="form-text text-muted"><?php echo lang("station_location_state_hint"); ?></small>
 | ||||||
|  | 						</div> | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| 						<!-- US County --> | 						<!-- US County --> | ||||||
| 						<div class="mb-3"> | 						<div class="mb-3"> | ||||||
|  |  | ||||||
|  | @ -14,6 +14,7 @@ $(document).ready( function () { | ||||||
|     $("#asiatic_russia_state").hide(); |     $("#asiatic_russia_state").hide(); | ||||||
|     $("#belarus_state").hide(); |     $("#belarus_state").hide(); | ||||||
|     $("#mexico_state").hide(); |     $("#mexico_state").hide(); | ||||||
|  |     $("#eu_russia_state").hide(); | ||||||
| 
 | 
 | ||||||
|     var selectedDXCCID = $('#dxcc_select').find(":selected").val(); |     var selectedDXCCID = $('#dxcc_select').find(":selected").val(); | ||||||
| 
 | 
 | ||||||
|  | @ -21,6 +22,10 @@ $(document).ready( function () { | ||||||
|         $("#canada_state").show(); |         $("#canada_state").show(); | ||||||
|         $("#us_state").hide(); |         $("#us_state").hide(); | ||||||
|         $("#asiatic_russia_state").hide(); |         $("#asiatic_russia_state").hide(); | ||||||
|  |         $("#eu_russia_state").hide(); | ||||||
|  |         $("#belarus_state").hide(); | ||||||
|  |         $("#aland_state").hide(); | ||||||
|  |         $("#mexico_state").hide(); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     // Show Aland States if Aland is selected
 |     // Show Aland States if Aland is selected
 | ||||||
|  | @ -29,6 +34,9 @@ $(document).ready( function () { | ||||||
|         $("#canada_state").hide(); |         $("#canada_state").hide(); | ||||||
|         $("#us_state").hide(); |         $("#us_state").hide(); | ||||||
|         $("#asiatic_russia_state").hide(); |         $("#asiatic_russia_state").hide(); | ||||||
|  |         $("#eu_russia_state").hide(); | ||||||
|  |         $("#belarus_state").hide(); | ||||||
|  |         $("#mexico_state").hide(); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     // Show Asiatic Russia States if Asiatic Russia is selected
 |     // Show Asiatic Russia States if Asiatic Russia is selected
 | ||||||
|  | @ -37,6 +45,9 @@ $(document).ready( function () { | ||||||
|         $("#aland_state").hide(); |         $("#aland_state").hide(); | ||||||
|         $("#canada_state").hide(); |         $("#canada_state").hide(); | ||||||
|         $("#us_state").hide(); |         $("#us_state").hide(); | ||||||
|  |         $("#eu_russia_state").hide(); | ||||||
|  |         $("#belarus_state").hide(); | ||||||
|  |         $("#mexico_state").hide(); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     // Show Belarus States if Belarus is selected
 |     // Show Belarus States if Belarus is selected
 | ||||||
|  | @ -46,6 +57,8 @@ $(document).ready( function () { | ||||||
|         $("#aland_state").hide(); |         $("#aland_state").hide(); | ||||||
|         $("#canada_state").hide(); |         $("#canada_state").hide(); | ||||||
|         $("#us_state").hide(); |         $("#us_state").hide(); | ||||||
|  |         $("#eu_russia_state").hide(); | ||||||
|  |         $("#mexico_state").hide(); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     // Show Mexico States if Mexico is selected
 |     // Show Mexico States if Mexico is selected
 | ||||||
|  | @ -56,28 +69,53 @@ $(document).ready( function () { | ||||||
|         $("#aland_state").hide(); |         $("#aland_state").hide(); | ||||||
|         $("#canada_state").hide(); |         $("#canada_state").hide(); | ||||||
|         $("#us_state").hide(); |         $("#us_state").hide(); | ||||||
|  |         $("#eu_russia_state").hide(); | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     // Show EU Russia States if EU Russia is selected
 | ||||||
|  |     if(selectedDXCCID == '54'){ | ||||||
|  |         $("#mexico_state").hide(); | ||||||
|  |         $("#belarus_state").hide(); | ||||||
|  |         $("#asiatic_russia_state").hide(); | ||||||
|  |         $("#aland_state").hide(); | ||||||
|  |         $("#canada_state").hide(); | ||||||
|  |         $("#us_state").hide(); | ||||||
|  |         $("#eu_russia_state").show(); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     $('#dxcc_select').change(function(){ |     $('#dxcc_select').change(function(){ | ||||||
|         if($(this).val() == '1'){ // or this.value == 'volvo'
 |         if($(this).val() == '1'){ // or this.value == 'volvo'
 | ||||||
|           console.log("CANADA!"); |             $("#mexico_state").hide(); | ||||||
|  |             $("#belarus_state").hide(); | ||||||
|  |             $("#asiatic_russia_state").hide(); | ||||||
|  |             $("#aland_state").hide(); | ||||||
|             $("#canada_state").show(); |             $("#canada_state").show(); | ||||||
|             $("#us_state").hide(); |             $("#us_state").hide(); | ||||||
|  |             $("#eu_russia_state").hide(); | ||||||
|         } else if($(this).val() == '5') { |         } else if($(this).val() == '5') { | ||||||
|  |             $("#mexico_state").hide(); | ||||||
|  |             $("#belarus_state").hide(); | ||||||
|  |             $("#asiatic_russia_state").hide(); | ||||||
|             $("#aland_state").show(); |             $("#aland_state").show(); | ||||||
|             $("#canada_state").hide(); |             $("#canada_state").hide(); | ||||||
|             $("#us_state").hide(); |             $("#us_state").hide(); | ||||||
|  |             $("#eu_russia_state").hide(); | ||||||
|         } else if($(this).val() == '15') { |         } else if($(this).val() == '15') { | ||||||
|  |             $("#mexico_state").hide(); | ||||||
|  |             $("#belarus_state").hide(); | ||||||
|             $("#asiatic_russia_state").show(); |             $("#asiatic_russia_state").show(); | ||||||
|             $("#aland_state").hide(); |             $("#aland_state").hide(); | ||||||
|             $("#canada_state").hide(); |             $("#canada_state").hide(); | ||||||
|             $("#us_state").hide(); |             $("#us_state").hide(); | ||||||
|  |             $("#eu_russia_state").hide(); | ||||||
|         } else if($(this).val() == '27') { |         } else if($(this).val() == '27') { | ||||||
|  |             $("#mexico_state").hide(); | ||||||
|             $("#belarus_state").show(); |             $("#belarus_state").show(); | ||||||
|             $("#asiatic_russia_state").hide(); |             $("#asiatic_russia_state").hide(); | ||||||
|             $("#aland_state").hide(); |             $("#aland_state").hide(); | ||||||
|             $("#canada_state").hide(); |             $("#canada_state").hide(); | ||||||
|             $("#us_state").hide(); |             $("#us_state").hide(); | ||||||
|  |             $("#eu_russia_state").hide(); | ||||||
|         } else if($(this).val() == '50') { |         } else if($(this).val() == '50') { | ||||||
|             $("#mexico_state").show(); |             $("#mexico_state").show(); | ||||||
|             $("#belarus_state").hide(); |             $("#belarus_state").hide(); | ||||||
|  | @ -85,6 +123,15 @@ $(document).ready( function () { | ||||||
|             $("#aland_state").hide(); |             $("#aland_state").hide(); | ||||||
|             $("#canada_state").hide(); |             $("#canada_state").hide(); | ||||||
|             $("#us_state").hide(); |             $("#us_state").hide(); | ||||||
|  |             $("#eu_russia_state").hide(); | ||||||
|  |         } else if($(this).val() == '54') { | ||||||
|  |             $("#mexico_state").hide(); | ||||||
|  |             $("#belarus_state").hide(); | ||||||
|  |             $("#asiatic_russia_state").hide(); | ||||||
|  |             $("#aland_state").hide(); | ||||||
|  |             $("#canada_state").hide(); | ||||||
|  |             $("#us_state").hide(); | ||||||
|  |             $("#eu_russia_state").show(); | ||||||
|         } else { |         } else { | ||||||
|             $("#canada_state").hide(); |             $("#canada_state").hide(); | ||||||
|             $("#us_state").show(); |             $("#us_state").show(); | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用