Эх сурвалжийг харах

2022-05-25 / ct_chen

Actions:
1. Webservice add Japanese

Files:
1. as list
ct_chen 2 жил өмнө
parent
commit
b0b404245b

+ 3 - 0
EVSE/rootfs/var/www/head.php

@@ -386,6 +386,9 @@
 						<li>
 							<a href="switch_lang.php?lang=CN">简体中文</a>
 						</li>
+						<li>
+							<a href="switch_lang.php?lang=JP">日本語</a>
+						</li>
                       </ul>
                     </li>
                   </ul>

BIN
EVSE/rootfs/var/www/lang.db


+ 6 - 0
EVSE/rootfs/var/www/lang.php

@@ -28,6 +28,9 @@
 					case "CN":
 						return $row['cn'];
 						break;
+					case "JP":
+						return $row['jp'];
+						break;
 					default:
 						return "error";
 						break;
@@ -56,6 +59,9 @@
 					case "CN":
 						return $row['cn'];
 						break;
+					case "JP":
+						return $row['jp'];
+						break;
 					default:
 						return "error";
 						break;

+ 32 - 32
EVSE/rootfs/var/www/set_backend.php

@@ -8,19 +8,19 @@
 	$OcppConnStatus='';
 	switch ($obj->{'OcppConnStatus'}){
 		case 0:
-			$OcppConnStatus='disconnected';
+			$OcppConnStatus=$lang->showWord('disconnected');
 			break;
 		case 1:
-			$OcppConnStatus='connected';
+			$OcppConnStatus=$lang->showWord('connected');
 			break;
 	}
 	$MaintainServerConnStatus='';
 	switch ($obj->{'MaintainServerConnStatus'}){
 		case 0:
-			$MaintainServerConnStatus='disconnected';
+			$MaintainServerConnStatus=$lang->showWord('disconnected');
 			break;
 		case 1:
-			$MaintainServerConnStatus='connected';
+			$MaintainServerConnStatus=$lang->showWord('connected');
 			break;
 	}
 ?>
@@ -199,26 +199,26 @@ CORE STYLES ABOVE - NO TOUCHY
 									<header><?php echo $lang->showWord("common_information"); ?><i class="fa fa-plus"></i></header>
 									<section>
 										<div class="form-group" style="display:<?php echo $am101;?>">
-											<label>Backend Connection Timeout</label>
+											<label><?php echo $lang->showWord("backend_connection_timeout"); ?></label>
 											<input type="number" name="BackendConnTimeout" id="BackendConnTimeout" class="form-control" value="<?php echo $obj->{'BackendConnTimeout'};?>">
 											<small class="form-text text-muted-red">seconds</small>
 										</div>
 										<div class="form-group" style="display:<?php echo $am101;?>">
-											<label>Offline Policy</label>
+											<label><?php echo $lang->showWord("offline_policy"); ?></label>
 											<select class="form-control" id="OfflinePolicy" name="OfflinePolicy">
-												<option value="0" <?php echo $obj->{'OfflinePolicy'}=="0"?"selected":""?>>local list</option>
+												<option value="0" <?php echo $obj->{'OfflinePolicy'}=="0"?"selected":""?>><?php echo $lang->showWord("local_list"); ?></option>
 <?php /*												<option value="1" <?php echo $obj->{'OfflinePolicy'}=="1"?"selected":""?>>Phihong RFID tag</option>*/?>
-												<option value="2" <?php echo $obj->{'OfflinePolicy'}=="2"?"selected":""?>>free charging</option>
-												<option value="3" <?php echo $obj->{'OfflinePolicy'}=="3"?"selected":""?>>no charging</option>
+												<option value="2" <?php echo $obj->{'OfflinePolicy'}=="2"?"selected":""?>><?php echo $lang->showWord("free_charging"); ?></option>
+												<option value="3" <?php echo $obj->{'OfflinePolicy'}=="3"?"selected":""?>><?php echo $lang->showWord("no_charging"); ?></option>
 											</select>
 										</div>
 										<div class="form-group" style="display:<?php echo $am101;?>">
-											<label>Offline Max Charge Energy</label>
+											<label><?php echo $lang->showWord("offline_max_charge_energy"); ?></label>
 											<small class="form-text text-muted-red">kWh</small>
 											<input type="number" name="OfflineMaxChargeEnergy" id="OfflineMaxChargeEnergy" class="form-control" value="<?php echo $obj->{'OfflineMaxChargeEnergy'};?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am101;?>">
-											<label>Offline Max Charge Duration</label>
+											<label><?php echo $lang->showWord("offline_max_charge_duration"); ?></label>
 											<small class="form-text text-muted-red">minutes</small>
 											<input type="number" name="OfflineMaxChargeDuration" id="OfflineMaxChargeDuration" class="form-control" value="<?php echo $obj->{'OfflineMaxChargeDuration'};?>">
 										</div>
@@ -229,12 +229,12 @@ CORE STYLES ABOVE - NO TOUCHY
 									<header><?php echo $lang->showWord("OCPP_backend"); ?><i class="fa fa-plus"></i></header>
 									<section>
 										<div class="form-group" style="display:<?php echo $am101;?>">
-											<label>Ocpp Connection Status</label>
+											<label><?php echo $lang->showWord("ocpp_connection_status"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $OcppConnStatus;?>">
 											<input type="hidden" name="OcppConnStatus" id="OcppConnStatus" value="<?php echo $obj->{'OcppConnStatus'};?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am101;?>">
-											<label>Central System URL</label>
+											<label><?php echo $lang->showWord("central_system_url"); ?></label>
 											<input type="text" name="OcppServerURL" id="OcppServerURL" class="form-control" value="<?php echo $obj->{'OcppServerURL'};?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am101;?>">
@@ -242,33 +242,33 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="text" name="ChargeBoxId" id="ChargeBoxId" class="form-control" value="<?php echo $obj->{'ChargeBoxId'};?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am101;?>">
-											<label>Charge Point Vendor</label>
+											<label><?php echo $lang->showWord("charge_point_vendor"); ?></label>
 											<input type="text" name="chargePointVendor" id="chargePointVendor" class="form-control" value="<?php echo $obj->{'chargePointVendor'};?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am101;?>">
-											<label>Ocpp Security Profile</label>
+											<label><?php echo $lang->showWord("ocpp_security_profile"); ?></label>
 											<select class="form-control" id="OcppSecurityProfile" name="OcppSecurityProfile" onchange="OcppSecurityProfile_changed()">
-												<option value="0" <?php echo $obj->{'OcppSecurityProfile'}=="0"?"selected":""?>>None security</option>
-												<option value="1" <?php echo $obj->{'OcppSecurityProfile'}=="1"?"selected":""?>>Unsecured Transport with Basic Atuentication</option>
-												<option value="2" <?php echo $obj->{'OcppSecurityProfile'}=="2"?"selected":""?>>TLS with Basic Authentication</option>
+												<option value="0" <?php echo $obj->{'OcppSecurityProfile'}=="0"?"selected":""?>><?php echo $lang->showWord("none_security"); ?></option>
+												<option value="1" <?php echo $obj->{'OcppSecurityProfile'}=="1"?"selected":""?>><?php echo $lang->showWord("unsecured_transport_with_basic_atuentication"); ?></option>
+												<option value="2" <?php echo $obj->{'OcppSecurityProfile'}=="2"?"selected":""?>><?php echo $lang->showWord("tls_with_basic_authentication"); ?></option>
 											</select>
 										</div>
 										<div id="OcppSecurityPasswordDiv" class="form-group" style="display:<?php echo $am101;?>">
-											<label>Ocpp Security Password</label>
+											<label><?php echo $lang->showWord("ocpp_security_password"); ?></label>
 											<input type="text" name="OcppSecurityPassword" id="OcppSecurityPassword" class="form-control" value="<?php echo $obj->{'OcppSecurityPassword'};?>">
 										</div>
 <?php if(substr($ModelName,0,2)=="AX" || substr($ModelName,0,1)=="D"){?>
 										<div class="form-group" style="display:block">
-											<label>Ocpp Receipt URL</label>
+											<label><?php echo $lang->showWord("ocpp_receipt_url"); ?></label>
 											<input type="text" name="OcppReceiptrURL" id="OcppReceiptrURL" class="form-control" value="<?php echo $obj->{'OcppReceiptrURL'};?>">
 										</div>
 <?php } if(substr($ModelName,0,2)=="AX"){?>
 										<div class="form-group" style="display:block">
-											<label>Local Loading Balance</label>
+											<label><?php echo $lang->showWord("local_loading_balance"); ?></label>
 											<select class="form-control" id="isEnableLocalPowerSharging" name="isEnableLocalPowerSharging" onChange="isEnableLocalPowerSharging_changed()">
-												<option value="0" <?php echo $obj->{'isEnableLocalPowerSharging'}=="0"?"selected":""?>>disable</option>
-												<option value="1" <?php echo $obj->{'isEnableLocalPowerSharging'}=="1"?"selected":""?>>master</option>
-												<option value="2" <?php echo $obj->{'isEnableLocalPowerSharging'}=="2"?"selected":""?>>slave</option>
+												<option value="0" <?php echo $obj->{'isEnableLocalPowerSharging'}=="0"?"selected":""?>><?php echo $lang->showWord("disable"); ?></option>
+												<option value="1" <?php echo $obj->{'isEnableLocalPowerSharging'}=="1"?"selected":""?>><?php echo $lang->showWord("master"); ?></option>
+												<option value="2" <?php echo $obj->{'isEnableLocalPowerSharging'}=="2"?"selected":""?>><?php echo $lang->showWord("slave"); ?></option>
 											</select>
 										</div>
 										<div id="PowerSharingCapacityDiv" class="form-group" style="display:<?php echo $am101;?>">
@@ -277,31 +277,31 @@ CORE STYLES ABOVE - NO TOUCHY
 											<small class="form-text text-muted-red">'0' means follow rating power from model name</small>
 										</div>
 										<div id="PowerSharingServerIPDiv" class="form-group" style="display:<?php echo $am101;?>">
-											<label>Power Sharing Server Ip</label>
+											<label><?php echo $lang->showWord("power_sharing_server_ip"); ?></label>
 											<input type="text" name="PowerSharingServerIP" id="PowerSharingServerIP" class="form-control" value="<?php echo $obj->{'PowerSharingServerIP'};?>">
 										</div>
 
 <?php } ?>
 										<div class="form-group" style="display:<?php echo $am101;?>">
-											<label>Maintain Server Connection Status</label>
+											<label><?php echo $lang->showWord("maintain_server_connection_status"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $MaintainServerConnStatus;?>">
 											<input type="hidden" name="MaintainServerConnStatus" id="MaintainServerConnStatus" value="<?php echo $obj->{'MaintainServerConnStatus'};?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am101;?>">
-											<label>Maintain Server URL</label>
+											<label><?php echo $lang->showWord("maintain_server_url"); ?></label>
 											<input type="text" name="MaintainServerURL" id="MaintainServerURL" class="form-control" value="<?php echo $obj->{'MaintainServerURL'};?>">
 										</div>
 										
 										<div class="form-group" style="display:<?php echo $am101;?>">
-											<label>Maintain Server Security Profile</label>
+											<label><?php echo $lang->showWord("maintain_server_security_profile"); ?></label>
 											<select class="form-control" id="MaintainServerSecurityProfile" name="MaintainServerSecurityProfile" onchange="MaintainServerSecurityProfile_changed()">
-												<option value="0" <?php echo $obj->{'MaintainServerSecurityProfile'}=="0"?"selected":""?>>None security</option>
-												<option value="1" <?php echo $obj->{'MaintainServerSecurityProfile'}=="1"?"selected":""?>>Unsecured Transport with Basic Atuentication</option>
-												<option value="2" <?php echo $obj->{'MaintainServerSecurityProfile'}=="2"?"selected":""?>>TLS with Basic Authentication</option>
+												<option value="0" <?php echo $obj->{'MaintainServerSecurityProfile'}=="0"?"selected":""?>><?php echo $lang->showWord("none_security"); ?></option>
+												<option value="1" <?php echo $obj->{'MaintainServerSecurityProfile'}=="1"?"selected":""?>><?php echo $lang->showWord("unsecured_transport_with_basic_atuentication"); ?></option>
+												<option value="2" <?php echo $obj->{'MaintainServerSecurityProfile'}=="2"?"selected":""?>><?php echo $lang->showWord("tls_with_basic_authentication"); ?></option>
 											</select>
 										</div>
 										<div id="MaintainServerSecurityPasswordDiv" class="form-group" style="display:<?php echo $am101;?>">
-											<label>Maintain Server Security Password</label>
+											<label><?php echo $lang->showWord("maintain_server_security_password"); ?></label>
 											<input type="text" name="MaintainServerSecurityPassword" id="MaintainServerSecurityPassword" class="form-control" value="<?php echo $obj->{'MaintainServerSecurityPassword'};?>">
 										</div>
 									</section>

+ 116 - 116
EVSE/rootfs/var/www/set_charging.php

@@ -725,52 +725,52 @@ CORE STYLES ABOVE - NO TOUCHY
 											<small class="form-text text-muted-red"><label id="AcMaxChargingCurrentText" style="display:none;">'0' means unlimit</label></small>
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Local White Card0</label>
+											<label><?php echo $lang->showWord("local_white_card"); ?>0</label>
 											<input type="text" name="LocalWhiteCard0" id="LocalWhiteCard0" class="form-control" value="<?php echo $obj['LocalWhiteCard'][0];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Local White Card1</label>
+											<label><?php echo $lang->showWord("local_white_card"); ?>1</label>
 											<input type="text" name="LocalWhiteCard1" id="LocalWhiteCard1" class="form-control" value="<?php echo $obj['LocalWhiteCard'][1];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Local White Card2</label>
+											<label><?php echo $lang->showWord("local_white_card"); ?>2</label>
 											<input type="text" name="LocalWhiteCard2" id="LocalWhiteCard2" class="form-control" value="<?php echo $obj['LocalWhiteCard'][2];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Local White Card3</label>
+											<label><?php echo $lang->showWord("local_white_card"); ?>3</label>
 											<input type="text" name="LocalWhiteCard3" id="LocalWhiteCard3" class="form-control" value="<?php echo $obj['LocalWhiteCard'][3];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Local White Card4</label>
+											<label><?php echo $lang->showWord("local_white_card"); ?>4</label>
 											<input type="text" name="LocalWhiteCard4" id="LocalWhiteCard4" class="form-control" value="<?php echo $obj['LocalWhiteCard'][4];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Local White Card5</label>
+											<label><?php echo $lang->showWord("local_white_card"); ?>5</label>
 											<input type="text" name="LocalWhiteCard5" id="LocalWhiteCard5" class="form-control" value="<?php echo $obj['LocalWhiteCard'][5];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Local White Card6</label>
+											<label><?php echo $lang->showWord("local_white_card"); ?>6</label>
 											<input type="text" name="LocalWhiteCard6" id="LocalWhiteCard6" class="form-control" value="<?php echo $obj['LocalWhiteCard'][6];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Local White Card7</label>
+											<label><?php echo $lang->showWord("local_white_card"); ?>7</label>
 											<input type="text" name="LocalWhiteCard7" id="LocalWhiteCard7" class="form-control" value="<?php echo $obj['LocalWhiteCard'][7];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Local White Card8</label>
+											<label><?php echo $lang->showWord("local_white_card"); ?>8</label>
 											<input type="text" name="LocalWhiteCard8" id="LocalWhiteCard8" class="form-control" value="<?php echo $obj['LocalWhiteCard'][8];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Local White Card9</label>
+											<label><?php echo $lang->showWord("local_white_card"); ?>9</label>
 											<input type="text" name="LocalWhiteCard9" id="LocalWhiteCard9" class="form-control" value="<?php echo $obj['LocalWhiteCard'][9];?>">
 										</div>
 										<div class="form-group"  id="isBillingDiv">
 											<label>
 											<input type="checkbox" id="isBilling" name="isBilling" <?php echo $obj['isBilling']==1?"checked":"";?> onclick="isBilling_clicked()">
-											Billing</label>
+											<?php echo $lang->showWord("billing"); ?></label>
 										</div>
 										<div class="form-group" id="CurrencyDiv">
-											<label>Currency</label>
+											<label><?php echo $lang->showWord("currency"); ?></label>
 											<select class="form-control" id="Currency" name="Currency">
 												<option value="0" <?php echo $obj['Currency']=="0"?"selected":""?>>AED - Emirati Dirham</option>
 												<option value="1" <?php echo $obj['Currency']=="1"?"selected":""?>>ARS - Argentine Peso</option>
@@ -830,99 +830,99 @@ CORE STYLES ABOVE - NO TOUCHY
 										</div>
 										<div class="form-group" id="FeeDiv">
 											<div class="form-group">
-												<label>Fee 00:00~00:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 00:00~00:59</label>
 												<input type="text" name="Fee0" id="Fee0" class="form-control" value="<?php echo round($obj['Fee'][0],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 01:00~01:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 01:00~01:59</label>
 												<input type="text" name="Fee0" id="Fee1" class="form-control" value="<?php echo round($obj['Fee'][1],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 02:00~02:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 02:00~02:59</label>
 												<input type="text" name="Fee2" id="Fee2" class="form-control" value="<?php echo round($obj['Fee'][2],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 03:00~03:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 03:00~03:59</label>
 												<input type="text" name="Fee3" id="Fee3" class="form-control" value="<?php echo round($obj['Fee'][3],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 04:00~04:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 04:00~04:59</label>
 												<input type="text" name="Fee4" id="Fee4" class="form-control" value="<?php echo round($obj['Fee'][4],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 05:00~05:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 05:00~05:59</label>
 												<input type="text" name="Fee5" id="Fee5" class="form-control" value="<?php echo round($obj['Fee'][5],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 06:00~06:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 06:00~06:59</label>
 												<input type="text" name="Fee6" id="Fee6" class="form-control" value="<?php echo round($obj['Fee'][6],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 07:00~07:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 07:00~07:59</label>
 												<input type="text" name="Fee7" id="Fee7" class="form-control" value="<?php echo round($obj['Fee'][7],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 08:00~08:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 08:00~08:59</label>
 												<input type="text" name="Fee8" id="Fee8" class="form-control" value="<?php echo round($obj['Fee'][8],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 09:00~09:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 09:00~09:59</label>
 												<input type="text" name="Fee9" id="Fee9" class="form-control" value="<?php echo round($obj['Fee'][9],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 10:00~10:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 10:00~10:59</label>
 												<input type="text" name="Fee10" id="Fee10" class="form-control" value="<?php echo round($obj['Fee'][10],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 11:00~11:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 11:00~11:59</label>
 												<input type="text" name="Fee11" id="Fee11" class="form-control" value="<?php echo round($obj['Fee'][11],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 12:00~12:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 12:00~12:59</label>
 												<input type="text" name="Fee12" id="Fee12" class="form-control" value="<?php echo round($obj['Fee'][12],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 13:00~13:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 13:00~13:59</label>
 												<input type="text" name="Fee13" id="Fee13" class="form-control" value="<?php echo round($obj['Fee'][13],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 14:00~14:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 14:00~14:59</label>
 												<input type="text" name="Fee14" id="Fee14" class="form-control" value="<?php echo round($obj['Fee'][14],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 15:00~15:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 15:00~15:59</label>
 												<input type="text" name="Fee15" id="Fee15" class="form-control" value="<?php echo round($obj['Fee'][15],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 16:00~16:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 16:00~16:59</label>
 												<input type="text" name="Fee16" id="Fee16" class="form-control" value="<?php echo round($obj['Fee'][16],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 17:00~17:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 17:00~17:59</label>
 												<input type="text" name="Fee17" id="Fee17" class="form-control" value="<?php echo round($obj['Fee'][17],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 18:00~18:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 18:00~18:59</label>
 												<input type="text" name="Fee18" id="Fee18" class="form-control" value="<?php echo round($obj['Fee'][18],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 19:00~19:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 19:00~19:59</label>
 												<input type="text" name="Fee19" id="Fee19" class="form-control" value="<?php echo round($obj['Fee'][19],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 20:00~20:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 20:00~20:59</label>
 												<input type="text" name="Fee20" id="Fee20" class="form-control" value="<?php echo round($obj['Fee'][20],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 21:00~21:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 21:00~21:59</label>
 												<input type="text" name="Fee21" id="Fee21" class="form-control" value="<?php echo round($obj['Fee'][21],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 22:00~22:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 22:00~22:59</label>
 												<input type="text" name="Fee22" id="Fee22" class="form-control" value="<?php echo round($obj['Fee'][22],2);?>">
 											</div>
 											<div class="form-group">
-												<label>Fee 23:00~23:59</label>
+												<label><?php echo $lang->showWord("fee"); ?> 23:00~23:59</label>
 												<input type="text" name="Fee23" id="Fee23" class="form-control" value="<?php echo round($obj['Fee'][23],2);?>">
 											</div>
 										</div>
@@ -949,15 +949,15 @@ CORE STYLES ABOVE - NO TOUCHY
 									<header><?php echo "connector".$idx." ".$lang->showWord("charging_information"); ?><i class="fa fa-plus"></i></header>
 									<section>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>User Id</label>
+											<label><?php echo $lang->showWord("user_id"); ?></label>
 											<input type="text" readonly class="form-control" value="<?php echo $obj['DDChargingInfo1']['StartUserId'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Start Date Time</label>
+											<label><?php echo $lang->showWord("start_date_time"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['StartDateTime'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Stop Date Time</label>
+											<label><?php echo $lang->showWord("stop_date_time"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['StopDateTime'];?>">
 										</div>
 <?php /*										<div class="form-group" style="display:<?php echo $am111;?>">
@@ -965,11 +965,11 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['StartMethod'];?>">
 										</div>*/?>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>System Status</label>
+											<label><?php echo $lang->showWord("system_status"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $DDSystemStatus1;?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Connector Temperature</label>
+											<label><?php echo $lang->showWord("connector_temperature"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['ConnectorTemp']!=255?$obj['DDChargingInfo1']['ConnectorTemp']." ℃":"not supported";?>">
 										</div>
 										<div class="form-group ChillerTemp">
@@ -977,23 +977,23 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['ChillerrTemp']!=255?$obj['DDChargingInfo1']['ChillerTemp']." ℃":"not supported";?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am001;?>">
-											<label>Present Charging Voltage</label>
+											<label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo1']['PresentChargingVoltage'],2);?> volt">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Current</label>
+											<label><?php echo $lang->showWord("present_charging_current"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo1']['PresentChargingCurrent'],2);?> amp">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Power</label>
+											<label><?php echo $lang->showWord("present_charging_power"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo1']['PresentChargingPower'],2);?> kW">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Energy</label>
+											<label><?php echo $lang->showWord("present_charging_energy"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo1']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Duration</label>
+											<label><?php echo $lang->showWord("present_charging_duration"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['PresentChargedDuration'];?> seconds">
 										</div>
 										<div class="form-group" style="display:<?php echo $am001;?>">
@@ -1013,7 +1013,7 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo1']['EvBatterySoc'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Totalize Power Consumption</label>
+											<label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo1']['PowerConsumption'],4), 4, ".", " ");?> kWh">
 										</div>
 									</section>
@@ -1025,15 +1025,15 @@ CORE STYLES ABOVE - NO TOUCHY
 									<header><?php echo "connector".$idx." ".$lang->showWord("charging_information"); ?><i class="fa fa-plus"></i></header>
 									<section>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>User Id</label>
+											<label><?php echo $lang->showWord("user_id"); ?></label>
 											<input type="text" readonly class="form-control" value="<?php echo $obj['DDChargingInfo2']['StartUserId'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Start Date Time</label>
+											<label><?php echo $lang->showWord("start_date_time"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['StartDateTime'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Stop Date Time</label>
+											<label><?php echo $lang->showWord("stop_date_time"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['StopDateTime'];?>">
 										</div>
 <?php /*										<div class="form-group" style="display:<?php echo $am111;?>">
@@ -1041,11 +1041,11 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['StartMethod'];?>">
 										</div>*/?>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>System Status</label>
+											<label><?php echo $lang->showWord("system_status"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $DDSystemStatus2;?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Connector Temperature</label>
+											<label><?php echo $lang->showWord("connector_temperature"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['ConnectorTemp']!=255?$obj['DDChargingInfo2']['ConnectorTemp']." ℃":"not supported";?>">
 										</div>
 										<div class="form-group ChillerTemp">
@@ -1053,23 +1053,23 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['ChillerTemp']!=255?$obj['DDChargingInfo2']['ChillerTemp']." ℃":"not supported";?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am001;?>">
-											<label>Present Charging Voltage</label>
+											<label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo2']['PresentChargingVoltage'],2);?> volt">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Current</label>
+											<label><?php echo $lang->showWord("present_charging_current"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo2']['PresentChargingCurrent'],2);?> amp">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Power</label>
+											<label><?php echo $lang->showWord("present_charging_power"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo2']['PresentChargingPower'],2);?> kW">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Energy</label>
+											<label><?php echo $lang->showWord("present_charging_energy"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo2']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Duration</label>
+											<label><?php echo $lang->showWord("present_charging_duration"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['PresentChargedDuration'];?> seconds">
 										</div>
 										<div class="form-group" style="display:<?php echo $am001;?>">
@@ -1089,7 +1089,7 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo2']['EvBatterySoc'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Totalize Power Consumption</label>
+											<label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo2']['PowerConsumption'],4), 4, ".", " ");?> kWh">
 										</div>
 									</section>
@@ -1101,15 +1101,15 @@ CORE STYLES ABOVE - NO TOUCHY
 									<header><?php echo "connector".$idx." ".$lang->showWord("charging_information"); ?><i class="fa fa-plus"></i></header>
 									<section>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>User Id</label>
+											<label><?php echo $lang->showWord("user_id"); ?></label>
 											<input type="text" readonly class="form-control" value="<?php echo $obj['DDChargingInfo3']['StartUserId'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Start Date Time</label>
+											<label><?php echo $lang->showWord("start_date_time"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['StartDateTime'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Stop Date Time</label>
+											<label><?php echo $lang->showWord("stop_date_time"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['StopDateTime'];?>">
 										</div>
 <?php /*										<div class="form-group" style="display:<?php echo $am111;?>">
@@ -1117,11 +1117,11 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['StartMethod'];?>">
 										</div>*/?>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>System Status</label>
+											<label><?php echo $lang->showWord("system_status"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $DDSystemStatus3;?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Connector Temperature</label>
+											<label><?php echo $lang->showWord("connector_temperature"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['ConnectorTemp']!=255?$obj['DDChargingInfo3']['ConnectorTemp']." ℃":"not supported";?>">
 										</div>
 										<div class="form-group ChillerTemp">
@@ -1129,23 +1129,23 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['ChillerTemp']!=255?$obj['DDChargingInfo3']['ChillerTemp']." ℃":"not supported";?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am001;?>">
-											<label>Present Charging Voltage</label>
+											<label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo3']['PresentChargingVoltage'],2);?> volt">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Current</label>
+											<label><?php echo $lang->showWord("present_charging_current"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo3']['PresentChargingCurrent'],2);?> amp">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Power</label>
+											<label><?php echo $lang->showWord("present_charging_power"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo3']['PresentChargingPower'],2);?> kW">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Energy</label>
+											<label><?php echo $lang->showWord("present_charging_energy"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo3']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Duration</label>
+											<label><?php echo $lang->showWord("present_charging_duration"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['PresentChargedDuration'];?> seconds">
 										</div>
 										<div class="form-group" style="display:<?php echo $am001;?>">
@@ -1165,7 +1165,7 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo3']['EvBatterySoc'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Totalize Power Consumption</label>
+											<label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo3']['PowerConsumption'],4), 4, ".", " ");?> kWh">
 										</div>
 									</section>
@@ -1177,15 +1177,15 @@ CORE STYLES ABOVE - NO TOUCHY
 									<header><?php echo "connector".$idx." ".$lang->showWord("charging_information"); ?><i class="fa fa-plus"></i></header>
 									<section>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>User Id</label>
+											<label><?php echo $lang->showWord("user_id"); ?></label>
 											<input type="text" readonly class="form-control" value="<?php echo $obj['DDChargingInfo4']['StartUserId'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Start Date Time</label>
+											<label><?php echo $lang->showWord("start_date_time"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['StartDateTime'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Stop Date Time</label>
+											<label><?php echo $lang->showWord("stop_date_time"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['StopDateTime'];?>">
 										</div>
 <?php /*										<div class="form-group" style="display:<?php echo $am111;?>">
@@ -1193,11 +1193,11 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['StartMethod'];?>">
 										</div>*/?>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>System Status</label>
+											<label><?php echo $lang->showWord("system_status"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $DDSystemStatus4;?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Connector Temperature</label>
+											<label><?php echo $lang->showWord("connector_temperature"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['ConnectorTemp']!=255?$obj['DDChargingInfo4']['ConnectorTemp']." ℃":"not supported";?>">
 										</div>
 										<div class="form-group ChillerTemp">
@@ -1205,23 +1205,23 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['ChilleTemp']!=255?$obj['DDChargingInfo4']['ChillerTemp']." ℃":"not supported";?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am001;?>">
-											<label>Present Charging Voltage</label>
+											<label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo4']['PresentChargingVoltage'],2);?> volt">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Current</label>
+											<label><?php echo $lang->showWord("present_charging_current"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo4']['PresentChargingCurrent'],2);?> amp">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Power</label>
+											<label><?php echo $lang->showWord("present_charging_power"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['DDChargingInfo4']['PresentChargingPower'],2);?> kW">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Energy</label>
+											<label><?php echo $lang->showWord("present_charging_energy"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo4']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Duration</label>
+											<label><?php echo $lang->showWord("present_charging_duration"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['PresentChargedDuration'];?> seconds">
 										</div>
 										<div class="form-group" style="display:<?php echo $am001;?>">
@@ -1241,7 +1241,7 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['DDChargingInfo4']['EvBatterySoc'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Totalize Power Consumption</label>
+											<label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['DDChargingInfo4']['PowerConsumption'],4), 4, ".", " ");?> kWh">
 										</div>
 									</section>
@@ -1254,17 +1254,17 @@ CORE STYLES ABOVE - NO TOUCHY
 									<header><?php echo "connector".$idx." ".$lang->showWord("charging_information")."(".$connectorType1.")"; ?><i class="fa fa-plus"></i></header>
 									<section>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>User Id</label>
+											<label><?php echo $lang->showWord("user_id"); ?></label>
 											<input type="text" readonly class="form-control" value="<?php echo $obj['ChargingInfo1']['StartUserId'];?>">
 											<input type="hidden" name="UserId1" id="UserId1" value="<?php echo $obj['ChargingInfo1']['StartUserId'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Start Date Time</label>
+											<label><?php echo $lang->showWord("start_date_time"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['StartDateTime'];?>">
 											<input type="hidden" name="StartDateTime1" id="StartDateTime1" value="<?php echo $obj['ChargingInfo1']['StartDateTime'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Stop Date Time</label>
+											<label><?php echo $lang->showWord("stop_date_time"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['StopDateTime'];?>">
 											<input type="hidden" name="StopDateTime1" id="StopDateTime1" value="<?php echo $obj['ChargingInfo1']['StopDateTime'];?>">
 										</div>
@@ -1274,12 +1274,12 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="hidden" name="StartMethod1" id="StartMethod1" value="<?php echo $obj['ChargingInfo1']['StartMethod'];?>">
 										</div>*/?>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>System Status</label>
+											<label><?php echo $lang->showWord("system_status"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $SystemStatus1;?>">
 											<input type="hidden" name="SystemStatus1" id="SystemStatus1" value="<?php echo $obj['ChargingInfo1']['SystemStatus'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Connector Temperature</label>
+											<label><?php echo $lang->showWord("connector_temperature"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['ConnectorTemp']!=255?$obj['ChargingInfo1']['ConnectorTemp']." ℃":"not supported";?>">
 											<input type="hidden" name="ConnectorTemp1" id="ConnectorTemp1" value="<?php echo $obj['ChargingInfo1']['ConnectorTemp'];?>">
 										</div>
@@ -1288,27 +1288,27 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['ChillerTemp']!=255?$obj['ChargingInfo1']['ChillerTemp']." ℃":"not supported";?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am001;?>">
-											<label>Present Charging Voltage</label>
+											<label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo1']['PresentChargingVoltage'],2);?> volt">
 											<input type="hidden" name="PresentChargingVoltage1" id="PresentChargingVoltage1" value="<?php echo $obj['ChargingInfo1']['PresentChargingVoltage'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Current</label>
+											<label><?php echo $lang->showWord("present_charging_current"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo1']['PresentChargingCurrent'],2);?> amp">
 											<input type="hidden" name="PresentChargingCurrent1" id="PresentChargingCurrent1" value="<?php echo $obj['ChargingInfo1']['PresentChargingCurrent'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Power</label>
+											<label><?php echo $lang->showWord("present_charging_power"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo1']['PresentChargingPower'],2);?> kW">
 											<input type="hidden" name="PresentChargingPower1" id="PresentChargingPower1" value="<?php echo $obj['ChargingInfo1']['PresentChargingPower'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Energy</label>
+											<label><?php echo $lang->showWord("present_charging_energy"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo1']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
 											<input type="hidden" name="PresentChargedEnergy1" id="PresentChargedEnergy1" value="<?php echo $obj['ChargingInfo1']['PresentChargedEnergy'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Duration</label>
+											<label><?php echo $lang->showWord("present_charging_duration"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo1']['PresentChargedDuration'];?> seconds">
 											<input type="hidden" name="PresentChargedDuration1" id="PresentChargedDuration1" value="<?php echo $obj['ChargingInfo1']['PresentChargedDuration'];?>">
 										</div>
@@ -1333,12 +1333,12 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="hidden" name="EvBatterySoc1" id="EvBatterySoc1" value="<?php echo $obj['ChargingInfo1']['EvBatterySoc'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Totalize Power Consumption</label>
+											<label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo1']['PowerConsumption'],4), 4, ".", " ");?> kWh">
 										</div>
 <?php if(substr($ModelName,0,2)=="AX"){?>
 										<div class="form-group" style="display:block">
-											<label>Meter IC Calibration Status</label>
+											<label><?php echo $lang->showWord("meter_ic_calibration_status"); ?></label>
 											<span style="display:block">
 												<span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
 													<label>VaGain</label>
@@ -1525,17 +1525,17 @@ CORE STYLES ABOVE - NO TOUCHY
 									<header><?php echo "connector".$idx." ".$lang->showWord("charging_information")."(".$connectorType2.")"; ?><i class="fa fa-plus"></i></header>
 									<section>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>User Id</label>
+											<label><?php echo $lang->showWord("user_id"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['StartUserId'];?>">
 											<input type="hidden" name="UserId2" id="UserId2" value="<?php echo $obj['ChargingInfo2']['StartUserId'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Start Date Time</label>
+											<label><?php echo $lang->showWord("start_date_time"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['StartDateTime'];?>">
 											<input type="hidden" name="StartDateTime2" id="StartDateTime2" value="<?php echo $obj['ChargingInfo2']['StartDateTime'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Stop Date Time</label>
+											<label><?php echo $lang->showWord("stop_date_time"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['StopDateTime'];?>">
 											<input type="hidden" name="StopDateTime2" id="StopDateTime2" value="<?php echo $obj['ChargingInfo2']['StopDateTime'];?>">
 										</div>
@@ -1545,12 +1545,12 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="hidden" name="StartMethod2" id="StartMethod2" value="<?php echo $obj['ChargingInfo2']['StartMethod'];?>">
 										</div>*/?>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>System Status</label>
+											<label><?php echo $lang->showWord("system_status"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $SystemStatus2;?>">
 											<input type="hidden" name="SystemStatus2" id="SystemStatus2" value="<?php echo $obj['ChargingInfo2']['SystemStatus'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Connector Temperature</label>
+											<label><?php echo $lang->showWord("connector_temperature"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['ConnectorTemp']!=255?$obj['ChargingInfo2']['ConnectorTemp']." ℃":"not supported";?>">
 											<input type="hidden" name="ConnectorTemp2" id="ConnectorTemp2" value="<?php echo $obj['ChargingInfo2']['ConnectorTemp'];?>">
 										</div>
@@ -1559,27 +1559,27 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['ChillerTemp']!=255?$obj['ChargingInfo2']['ChillerTemp']." ℃":"not supported";?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am001;?>">
-											<label>Present Charging Voltage</label>
+											<label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo2']['PresentChargingVoltage'],2);?> volt">
 											<input type="hidden" name="PresentChargingVoltage2" id="PresentChargingVoltage2" value="<?php echo $obj['ChargingInfo2']['PresentChargingVoltage'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Current</label>
+											<label><?php echo $lang->showWord("present_charging_current"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo2']['PresentChargingCurrent'],2);?> amp">
 											<input type="hidden" name="PresentChargingCurrent2" id="PresentChargingCurrent2" value="<?php echo $obj['ChargingInfo2']['PresentChargingCurrent'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Power</label>
+											<label><?php echo $lang->showWord("present_charging_power"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo2']['PresentChargingPower'],2);?> kW">
 											<input type="hidden" name="PresentChargingPower2" id="PresentChargingPower2" value="<?php echo $obj['ChargingInfo2']['PresentChargingPower'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Energy</label>
+											<label><?php echo $lang->showWord("present_charging_energy"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo2']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
 											<input type="hidden" name="PresentChargedEnergy2" id="PresentChargedEnergy2" value="<?php echo $obj['ChargingInfo2']['PresentChargedEnergy'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Duration</label>
+											<label><?php echo $lang->showWord("present_charging_duration"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo2']['PresentChargedDuration'];?> seconds">
 											<input type="hidden" name="PresentChargedDuration2" id="PresentChargedDuration2" value="<?php echo $obj['ChargingInfo2']['PresentChargedDuration'];?>">
 										</div>
@@ -1604,12 +1604,12 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="hidden" name="EvBatterySoc2" id="EvBatterySoc2" value="<?php echo $obj['ChargingInfo2']['EvBatterySoc'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Totalize Power Consumption</label>
+											<label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo2']['PowerConsumption'],4), 4, ".", " ");?> kWh">
 										</div>
 <?php if(substr($ModelName,0,2)=="AX"){?>
 										<div class="form-group" style="display:block">
-											<label>Meter IC Calibration Status</label>
+											<label><?php echo $lang->showWord("meter_ic_calibration_status"); ?></label>
 											<span style="display:block">
 												<span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
 													<label>VaGain</label>
@@ -1796,17 +1796,17 @@ CORE STYLES ABOVE - NO TOUCHY
 									<header><?php echo "connector".$idx." ".$lang->showWord("charging_information")."(".$connectorType3.")"; ?><i class="fa fa-plus"></i></header>
 									<section>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>User Id</label>
+											<label><?php echo $lang->showWord("user_id"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['StartUserId'];?>">
 											<input type="hidden" name="UserId3" id="UserId3" value="<?php echo $obj['ChargingInfo3']['StartUserId'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Start Date Time</label>
+											<label><?php echo $lang->showWord("start_date_time"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['StartDateTime'];?>">
 											<input type="hidden" name="StartDateTime3" id="StartDateTime3" value="<?php echo $obj['ChargingInfo3']['StartDateTime'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Stop Date Time</label>
+											<label><?php echo $lang->showWord("stop_date_time"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['StopDateTime'];?>">
 											<input type="hidden" name="StopDateTime3" id="StopDateTime3" value="<?php echo $obj['ChargingInfo3']['StopDateTime'];?>">
 										</div>
@@ -1816,12 +1816,12 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="hidden" name="StartMethod3" id="StartMethod3" value="<?php echo $obj['ChargingInfo3']['StartMethod'];?>">
 										</div>*/?>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>System Status</label>
+											<label><?php echo $lang->showWord("system_status"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $SystemStatus3;?>">
 											<input type="hidden" name="SystemStatus3" id="SystemStatus3" value="<?php echo $obj['ChargingInfo3']['SystemStatus'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Connector Temperature</label>
+											<label><?php echo $lang->showWord("connector_temperature"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['ConnectorTemp']!=255?$obj['ChargingInfo3']['ConnectorTemp']." ℃":"not supported";?>">
 											<input type="hidden" name="ConnectorTemp3" id="ConnectorTemp3" value="<?php echo $obj['ChargingInfo3']['ConnectorTemp'];?>">
 										</div>
@@ -1830,27 +1830,27 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['ChillerTemp']!=255?$obj['ChargingInfo3']['ChillerTemp']." ℃":"not supported";?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am001;?>">
-											<label>Present Charging Voltage</label>
+											<label><?php echo $lang->showWord("present_charging_voltage"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo3']['PresentChargingVoltage'],2);?> volt">
 											<input type="hidden" name="PresentChargingVoltage3" id="PresentChargingVoltage3" value="<?php echo $obj['ChargingInfo3']['PresentChargingVoltage'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Current</label>
+											<label><?php echo $lang->showWord("present_charging_current"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo3']['PresentChargingCurrent'],2);?> amp">
 											<input type="hidden" name="PresentChargingCurrent3" id="PresentChargingCurrent3" value="<?php echo $obj['ChargingInfo3']['PresentChargingCurrent'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Power</label>
+											<label><?php echo $lang->showWord("present_charging_power"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj['ChargingInfo3']['PresentChargingPower'],2);?> kW">
 											<input type="hidden" name="PresentChargingPower3" id="PresentChargingPower3" value="<?php echo $obj['ChargingInfo3']['PresentChargingPower'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Energy</label>
+											<label><?php echo $lang->showWord("present_charging_energy"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo3']['PresentChargedEnergy'],4), 4, ".", " ");?> kWh">
 											<input type="hidden" name="PresentChargedEnergy3" id="PresentChargedEnergy3" value="<?php echo $obj['ChargingInfo3']['PresentChargedEnergy'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Present Charging Duration</label>
+											<label><?php echo $lang->showWord("present_charging_duration"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj['ChargingInfo3']['PresentChargedDuration'];?> seconds">
 											<input type="hidden" name="PresentChargedDuration3" id="PresentChargedDuration3" value="<?php echo $obj['ChargingInfo3']['PresentChargedDuration'];?>">
 										</div>
@@ -1875,12 +1875,12 @@ CORE STYLES ABOVE - NO TOUCHY
 											<input type="hidden" name="EvBatterySoc3" id="EvBatterySoc3" value="<?php echo $obj['ChargingInfo3']['EvBatterySoc'];?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Totalize Power Consumption</label>
+											<label><?php echo $lang->showWord("totalize_power_consumption"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo number_format(round($obj['ChargingInfo3']['PowerConsumption'],4), 4, ".", " ");?> kWh">
 										</div>
 <?php if(substr($ModelName,0,2)=="AX"){?>
 										<div class="form-group" style="display:block">
-											<label>Meter IC Calibration Status</label>
+											<label><?php echo $lang->showWord("meter_ic_calibration_status"); ?></label>
 											<span style="display:block">
 												<span class="col-lg-2 col-md-2 col-sm-6 col-xs-6">
 													<label>VaGain</label>

+ 26 - 26
EVSE/rootfs/var/www/set_network.php

@@ -9,28 +9,28 @@
 	$InternetConn='';
 	switch ($obj->{'InternetConn'}){
 		case 0:
-			$InternetConn='disconnected';
+			$InternetConn=$lang->showWord('disconnected');
 			break;
 		case 1:
-			$InternetConn='connected';
+			$InternetConn=$lang->showWord('connected');
 			break;
 	}
 	$WifiNetworkConn='';
 	switch ($obj->{'WifiNetworkConn'}){
 		case 0:
-			$WifiNetworkConn='disconnected';
+			$WifiNetworkConn=$lang->showWord('disconnected');
 			break;
 		case 1:
-			$WifiNetworkConn='connected';
+			$WifiNetworkConn=$lang->showWord('connected');
 			break;
 	}
 	$TelcomNetworkConn='';
 	switch ($obj->{'TelcomNetworkConn'}){
 		case 0:
-			$TelcomNetworkConn='disconnected';
+			$TelcomNetworkConn=$lang->showWord('disconnected');
 			break;
 		case 1:
-			$TelcomNetworkConn='connected';
+			$TelcomNetworkConn=$lang->showWord('connected');
 			break;
 	}
 	$TelcomSimStatus='';
@@ -114,7 +114,7 @@ img {
 									<header><?php echo $lang->showWord("network_status"); ?><i class="fa fa-plus"></i></header>
 									<section>
 										<div class="form-group" style="display:<?php echo $am101;?>">
-											<label>Internet Connection Status</label>
+											<label><?php echo $lang->showWord("internet_connection_status"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $InternetConn;?>">
 											<input type="hidden" name="InternetConn" id="InternetConn" value="<?php echo $obj->{'InternetConn'};?>">
 										</div>
@@ -136,20 +136,20 @@ img {
 											</select>
 										</div>
 										<div class="form-group">
-											<label>Mac Address</label>
+											<label><?php echo $lang->showWord("mac_address"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj->{'Eth0MacAddress'};?>">
 											<input type="hidden" name="Eth0MacAddress" id="Eth0MacAddress" value="<?php echo $obj->{'Eth0MacAddress'};?>">
 										</div>
 										<div class="form-group">
-											<label>IP Address</label>
+											<label><?php echo $lang->showWord("ip_address"); ?></label>
 											<input type="text" name="Eth0IpAddress" id="Eth0IpAddress" class="form-control" value="<?php echo $obj->{'Eth0IpAddress'};?>">
 										</div>
 										<div class="form-group">
-											<label>Submask Address</label>
+											<label><?php echo $lang->showWord("submask_address"); ?></label>
 											<input type="text" name="Eth0SubmaskAddress" id="Eth0SubmaskAddress" class="form-control" value="<?php echo $obj->{'Eth0SubmaskAddress'};?>">
 										</div>
 										<div class="form-group">
-											<label>Gateway Address</label>
+											<label><?php echo $lang->showWord("gateway_address"); ?></label>
 											<input type="text" name="Eth0GatewayAddress" id="Eth0GatewayAddress" class="form-control" value="<?php echo $obj->{'Eth0GatewayAddress'};?>">
 										</div>
 									</section>
@@ -189,7 +189,7 @@ img {
 									<header><?php echo $lang->showWord("WiFi_module"); ?><i class="fa fa-plus"></i></header>
 									<section>
 										<div class="form-group">
-											<label>Mode</label>
+											<label><?php echo $lang->showWord("mode"); ?></label>
 											<select class="form-control" id="WifiMode" name="WifiMode" onchange="WifiMode_changed();">
 												<option value="0" <?php echo $obj->{'WifiMode'}=="0"?"selected":""?>>disable</option>
 												<option value="1" <?php echo $obj->{'WifiMode'}=="1"?"selected":""?>>station</option>
@@ -226,24 +226,24 @@ img {
 											</select>
 										</div>
 										<div class="form-group" id="WifiMacAddressDiv">
-											<label>Mac Address</label>
+											<label><?php echo $lang->showWord("mac_address"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj->{'WifiMacAddress'};?>">
 											<input type="hidden" name="WifiMacAddress" id="WifiMacAddress" value="<?php echo $obj->{'WifiMacAddress'};?>">
 										</div>
 										<div class="form-group" id="WifiIpAddressDiv">
-											<label>IP Address</label>
+											<label><?php echo $lang->showWord("ip_address"); ?></label>
 											<input type="text" name="WifiIpAddress" id="WifiIpAddress" class="form-control" value="<?php echo $obj->{'WifiIpAddress'};?>">
 										</div>
 										<div class="form-group" id="WifiSubmaskAddressDiv">
-											<label>Submask Address</label>
+											<label><?php echo $lang->showWord("submask_address"); ?></label>
 											<input type="text" name="WifiSubmaskAddress" id="WifiSubmaskAddress" class="form-control" value="<?php echo $obj->{'WifiSubmaskAddress'};?>">
 										</div>
 										<div class="form-group" id="WifiGatewayAddressDiv">
-											<label>Gateway Address</label>
+											<label><?php echo $lang->showWord("gateway_address"); ?></label>
 											<input type="text" name="WifiGatewayAddress" id="WifiGatewayAddress" class="form-control" value="<?php echo $obj->{'WifiGatewayAddress'};?>">
 										</div>
 										<div class="form-group" id="WifiNetworkConnDiv">
-											<label>Network Connection Status</label>
+											<label><?php echo $lang->showWord("network_connection_status"); ?></label>
 											<input type="text" readonly class="form-control" value="<?php echo $WifiNetworkConn;?>">
 											<input type="hidden" name="WifiNetworkConn" id="WifiNetworkConn" value="<?php echo $obj->{'WifiNetworkConn'};?>">
 										</div>
@@ -254,7 +254,7 @@ img {
 									<header><?php echo $lang->showWord("3G/4G_module"); ?><i class="fa fa-plus"></i></header>
 									<section>
 										<div class="form-group">
-											<label>Mode</label>
+											<label><?php echo $lang->showWord("mode"); ?></label>
 											<select class="form-control" id="TelcomEnabled" name="TelcomEnabled">
 												<option value="0" <?php echo $obj->{'TelcomEnabled'}=="0"?"selected":""?>>Disable</option>
 												<option value="1" <?php echo $obj->{'TelcomEnabled'}=="1"?"selected":""?>>Enable</option>
@@ -269,8 +269,8 @@ img {
 											<select class="form-control" id="TelcomNetworkType" name="TelcomEnabled">
 												<option value="0" <?php echo $obj->{'TelcomNetworkType'}=="0"?"selected":""?>>Auto</option>
 												<option value="1" <?php echo $obj->{'TelcomNetworkType'}=="1"?"selected":""?>>2G</option>
-                                                                                                <option value="5" <?php echo $obj->{'TelcomNetworkType'}=="5"?"selected":""?>>3G</option>
-												<option value="3" <?php echo $obj->{'TelcomNetworkType'}=="3"?"selected":""?>>4G</option>							
+												<option value="5" <?php echo $obj->{'TelcomNetworkType'}=="5"?"selected":""?>>3G</option>
+												<option value="3" <?php echo $obj->{'TelcomNetworkType'}=="3"?"selected":""?>>4G</option>
 											</select>
 										</div>	
 										<div class="form-group">
@@ -283,11 +283,11 @@ img {
 											<input type="text" name="TelcomChapPapId" id="TelcomChapPapId" class="form-control" value="<?php echo $obj->{'TelcomChapPapId'};?>">
 										</div>
 										<div class="form-group">
-											<label>Chap Pap Pwd</label>
+											<label><?php echo $lang->showWord("chap_pap_pwd"); ?></label>
 											<input type="text" name="TelcomChapPapPwd" id="TelcomChapPapPwd" class="form-control" value="<?php echo $obj->{'TelcomChapPapPwd'};?>">
 										</div>
 										<div class="form-group">
-											<label>Modem IMEI</label>
+											<label><?php echo $lang->showWord("modem_imei"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj->{'TelcomModemImei'};?>">
 											<input type="hidden" name="TelcomModemImei" id="TelcomModemImei" value="<?php echo $obj->{'TelcomModemImei'};?>">
 										</div>
@@ -302,21 +302,21 @@ img {
 											<input type="hidden" name="TelcomSimIccid" id="TelcomSimIccid" value="<?php echo $obj->{'TelcomSimIccid'};?>">
 										</div>
 										<div class="form-group">
-											<label>SIM Status</label>
+											<label><?php echo $lang->showWord("sim_status"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $TelcomSimStatus;?>">
 											<input type="hidden" name="TelcomSimStatus" id="TelcomSimStatus" value="<?php echo $obj->{'TelcomSimStatus'};?>">
 										</div>
 										<div class="form-group">
-											<label>Modem Mode</label>
+											<label><?php echo $lang->showWord("modem_mode"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $TelcomModemMode;?>">
 											<input type="hidden" name="TelcomModemMode" id="TelcomModemMode" value="<?php echo $obj->{'TelcomModemMode'};?>">
 										</div>
 										<div class="form-group">
-											<label>IP Address</label>
+											<label><?php echo $lang->showWord("ip_address"); ?></label>
 											<input type="text" name="TelcomIpAddress" id="TelcomIpAddress" class="form-control" value="<?php echo $obj->{'TelcomIpAddress'};?>" disabled>
 										</div>
 										<div class="form-group">
-											<label>Network Connection Status</label>
+											<label><?php echo $lang->showWord("network_connection_status"); ?></label>
 											<input type="text" readonly class="form-control" value="<?php echo $TelcomNetworkConn;?>">
 											<input type="hidden" name="TelcomNetworkConn" id="TelcomNetworkConn" value="<?php echo $obj->{'TelcomNetworkConn'};?>">
 										</div>

+ 36 - 36
EVSE/rootfs/var/www/set_system.php

@@ -97,26 +97,26 @@ img {
 									<header><?php echo $lang->showWord("system_information"); ?><i class="fa fa-plus"></i></header>
 									<section>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Model Name</label>
+											<label><?php echo $lang->showWord("model_name"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj->{'ModelName'};?>">
 											<input type="hidden" name="ModelName" id="ModelName" value="<?php echo $obj->{'ModelName'};?>">
 										</div>
 										<div class="form-group" id="AcModelNameDiv">
-											<label>AC Model Name</label>
+											<label><?php echo $lang->showWord("ac_model_name"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj->{'AcModelName'};?>">
 											<input type="hidden" name="AcModelName" id="AcModelName" value="<?php echo $obj->{'AcModelName'};?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Serial Number</label>
+											<label><?php echo $lang->showWord("serial_number"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj->{'SerialNumber'};?>">
 											<input type="hidden" name="SerialNumber" id="SerialNumber" value="<?php echo $obj->{'SerialNumber'};?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>System ID</label>
+											<label><?php echo $lang->showWord("system_ID"); ?></label>
 											<input type="text" name="SystemId" id="SystemId" class="form-control" value="<?php echo $obj->{'SystemId'};?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>System DateTime</label>
+											<label><?php echo $lang->showWord("system_dateTime"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo date('Y-m-d H:i:s');?>" id="SystemDateTime0"><br>
 											<div class='input-group date' id='datetimepicker1'>
 												<input type='text' class="form-control" name="SystemDateTime" id='SystemDateTime' />
@@ -126,7 +126,7 @@ img {
 											</div>
 										</div>
 										<div class="form-group" style="display:<?php echo $am001;?>">
-											<label>AC Phase Loss Policy</label>
+											<label><?php echo $lang->showWord("ac_phase_loss_policy"); ?></label>
 											<select class="form-control" id="PhaseLossPolicy" name="PhaseLossPolicy">
 												<option value="0" <?php echo $obj->{'PhaseLossPolicy'}=="0"?"selected":""?>>de-rating</option>
 												<option value="1" <?php echo $obj->{'PhaseLossPolicy'}=="1"?"selected":""?>>stop charging</option>
@@ -135,69 +135,69 @@ img {
 										<div class="form-group" style="display:<?php echo $am111;?>">
 											<label>
 											<input type="checkbox" id="FactoryConfiguration" name="FactoryConfiguration" <?php echo $obj->{'FactoryConfiguration'}==1?"checked":"";?>>
-											Factory Default Configuration</label>
+											<?php echo $lang->showWord("factory_default_configuration"); ?></label>
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Authentication</label>
+											<label><?php echo $lang->showWord("authentication"); ?></label>
 											<select class="form-control" id="AuthorisationMode" name="AuthorisationMode" onchange="AuthorisationMode_changed()">
-												<option value="0" <?php echo $obj->{'AuthorisationMode'}=="0"?"selected":""?>>enable</option>
-												<option value="1" <?php echo $obj->{'AuthorisationMode'}=="1"?"selected":""?>>disable</option>
+												<option value="0" <?php echo $obj->{'AuthorisationMode'}=="0"?"selected":""?>><?php echo $lang->showWord("enable"); ?></option>
+												<option value="1" <?php echo $obj->{'AuthorisationMode'}=="1"?"selected":""?>><?php echo $lang->showWord("disable"); ?></option>
 											</select>
 										</div>
 										<div class="form-group" id="isAuthrizeByEVCCIDDiv">
 											<label id="isAPPLabel">
 											<input type="checkbox" id="isAuthrizeByEVCCID" name="isAuthrizeByEVCCID" <?php echo $obj->{'isAuthrizeByEVCCID'}==1?"checked":"";?>>
-											Authorized By EVCCID</label>
+											<?php echo $lang->showWord("authorized_by_EVCCID"); ?></label>
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Input Voltage R</label>
+											<label><?php echo $lang->showWord("input_voltage_r"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj->{'InputVoltageR'},2);?> volt">
 											<input type="hidden" name="InputVoltageR" id="InputVoltageR" value="<?php echo $obj->{'InputVoltageR'};?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Input Voltage S</label>
+											<label><?php echo $lang->showWord("input_voltage_s"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj->{'InputVoltageS'},2);?> volt">
 											<input type="hidden" name="InputVoltageS" id="InputVoltageS" value="<?php echo $obj->{'InputVoltageS'};?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Input Voltage T</label>
+											<label><?php echo $lang->showWord("input_voltage_t"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj->{'InputVoltageT'},2);?> volt">
 											<input type="hidden" name="InputVoltageT" id="InputVoltageT" value="<?php echo $obj->{'InputVoltageT'};?>">
 										</div>
 <?php if(substr($ModelName,0,2)=="DB"){?>
 										<div class="form-group">
-											<label>Input Voltage DC</label>
+											<label><?php echo $lang->showWord("input_voltage_dc"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo round($obj->{'InputVoltageDc'},2);?> volt">
 											<input type="hidden" name="InputVoltageDc" id="InputVoltageDc" value="<?php echo $obj->{'InputVoltageDc'};?>">
 										</div>
 <?php } ?>
 										<div class="form-group" style="display:<?php echo $am001;?>">
-											<label>System Fan Speed</label>
+											<label><?php echo $lang->showWord("system_fan_speed"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj->{'SystemFanRotaSpeed'};?> RPM">
 											<input type="hidden" name="SystemFanRotaSpeed" id="SystemFanRotaSpeed" value="<?php echo $obj->{'SystemFanRotaSpeed'};?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>Rfid Card Num Endian</label>
+											<label><?php echo $lang->showWord("rfid_card_num_endian"); ?></label>
 											<select class="form-control" id="RfidCardNumEndian" name="RfidCardNumEndian">
-												<option value="0" <?php echo $obj->{'RfidCardNumEndian'}=="0"?"selected":""?>>little endian</option>
-												<option value="1" <?php echo $obj->{'RfidCardNumEndian'}=="1"?"selected":""?>>big endian</option>
+												<option value="0" <?php echo $obj->{'RfidCardNumEndian'}=="0"?"selected":""?>><?php echo $lang->showWord("little_endian"); ?></option>
+												<option value="1" <?php echo $obj->{'RfidCardNumEndian'}=="1"?"selected":""?>><?php echo $lang->showWord("big_endian"); ?></option>
 											</select>
 										</div>
 										<div class="form-group" style="display:<?php echo $am120;?>">
-											<label>Psu Ac Input Type</label>
+											<label><?php echo $lang->showWord("psu_ac_input_type"); ?></label>
 											<select class="form-control" id="PsuAcInputType" name="PsuAcInputType">
 												<option value="0" <?php echo $obj->{'PsuAcInputType'}=="0"?"selected":""?>>220~230 +/- 15%</option>
 												<option value="1" <?php echo $obj->{'PsuAcInputType'}=="1"?"selected":""?>>277 +10%/-15%</option>
 											</select>
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label id="RatingCurrentLbl">Rating Current</label>
+											<label id="RatingCurrentLbl"><?php echo $lang->showWord("rating_current"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj->{'RatingCurrent'};?> amp">
 											<input type="hidden" name="RatingCurrent" id="RatingCurrent" value="<?php echo $obj->{'RatingCurrent'};?>">
 										</div>
 <?php if(substr($ModelName,8,1)!="0"){?>
 										<div class="form-group" id="AcRatingCurrentDiv">
-											<label>AC Rating Current</label>
+											<label><?php echo $lang->showWord("ac_rating_current"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj->{'AcRatingCurrent'};?> amp">
 											<input type="hidden" name="AcRatingCurrent" id="AcRatingCurrent" value="<?php echo $obj->{'AcRatingCurrent'};?>">
 										</div>
@@ -219,32 +219,32 @@ img {
 <?php } ?>
 										</div>
 										<div class="form-group" id="QRCodeMadeModeDiv">
-											<label>QR Code Made Mode</label>
+											<label><?php echo $lang->showWord("qr_code_made_mode"); ?></label>
 											<select class="form-control" id="QRCodeMadeMode" name="QRCodeMadeMode" onchange="QRCodeMadeMode_changed()">
-												<option value="0" <?php echo $obj->{'QRCodeMadeMode'}=="0"?"selected":""?>>default</option>
-												<option value="1" <?php echo $obj->{'QRCodeMadeMode'}=="1"?"selected":""?>>customized</option>
+												<option value="0" <?php echo $obj->{'QRCodeMadeMode'}=="0"?"selected":""?>><?php echo $lang->showWord("default"); ?></option>
+												<option value="1" <?php echo $obj->{'QRCodeMadeMode'}=="1"?"selected":""?>><?php echo $lang->showWord("customized"); ?></option>
 											</select>
 										</div>
 										<div class="form-group" id="QRCodeContentDiv">
-											<label>QR Code Content</label>
+											<label><?php echo $lang->showWord("qr_code_content"); ?></label>
 											<input type="text" name="QRCodeContent" id="QRCodeContent" class="form-control" placeholder="<?php echo $obj->{'QRCodeContent'};?>" value="<?php echo $obj->{'QRCodeContent'};?>">
 										</div>
 										<div class="form-group" style="display:<?php echo $am111;?>">
-											<label>LED Intensity</label>
+											<label><?php echo $lang->showWord("led_intensity"); ?></label>
 											<select class="form-control" id="Intensity" name="Intensity">
-												<option value="0" <?php echo $obj->{'Intensity'}=="0"?"selected":""?>>Darkest</option>
-												<option value="1" <?php echo $obj->{'Intensity'}=="1"?"selected":""?>>Medium</option>
-												<option value="2" <?php echo $obj->{'Intensity'}=="2"?"selected":""?>>Brightest</option>
+												<option value="0" <?php echo $obj->{'Intensity'}=="0"?"selected":""?>><?php echo $lang->showWord("darkest"); ?></option>
+												<option value="1" <?php echo $obj->{'Intensity'}=="1"?"selected":""?>><?php echo $lang->showWord("medium"); ?></option>
+												<option value="2" <?php echo $obj->{'Intensity'}=="2"?"selected":""?>><?php echo $lang->showWord("brightest"); ?></option>
 											</select>
 										</div>
 <?php if(substr($ModelName,0,2)=="DO" || substr($ModelName,0,2)=="DK" || substr($ModelName,0,2)=="DB"){?>
 										<div class="form-group">
-											<label>Dispenser Quantity</label>
+											<label><?php echo $lang->showWord("dispenser_quantity"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj->{'DispenserQuantity'};?>">
 											<input type="hidden" name="DispenserQuantity" id="DispenserQuantity" value="<?php echo $obj->{'DispenserQuantity'};?>">
 										</div>
 										<div class="form-group">
-											<label>Total Connector Quantity</label>
+											<label><?php echo $lang->showWord("total_connector_quantity"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj->{'TotalConnectorQuantity'};?>">
 											<input type="hidden" name="TotalConnectorQuantity" id="TotalConnectorQuantity" value="<?php echo $obj->{'TotalConnectorQuantity'};?>">
 										</div>
@@ -335,19 +335,19 @@ img {
 <?php if(substr($ModelName,0,2)=="DO" || substr($ModelName,0,2)=="DK" || substr($ModelName,0,2)=="DB"){?>
 <?php for($idx=0;$idx<$obj->{'DispenserQuantity'};$idx++){ $idx2=$idx+1;?>
 								<article class="envor-sorting-item css">
-									<header><?php echo $lang->showWord("system_information"); ?> Dispenser <?php echo $idx2;?><i class="fa fa-plus"></i></header>
+									<header> Dispenser <?php echo $idx2;?><i class="fa fa-plus"></i></header>
 									<section>
 										<div class="form-group">
-											<label>Model Name</label>
+											<label><?php echo $lang->showWord("model_name"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj->{'DDModelName'}[$idx];?>">
 											<input type="hidden" name="DDModelName<?php echo $idx2;?>" id="DDModelName<?php echo $idx2;?>" value="<?php echo $obj->{'DDModelName'}[$idx];?>">
 										</div>
 										<div class="form-group">
-											<label>Serial Number</label>
+											<label><?php echo $lang->showWord("serial_number"); ?></label>
 											<input type="text" readonly class="form-control" placeholder="<?php echo $obj->{'DDSerialNumber'}[$idx];?>">
 										</div>
 										<div class="form-group">
-											<label>System ID</label>
+											<label><?php echo $lang->showWord("system_ID"); ?></label>
 											<input type="text" name="DDSystemId<?php echo $idx2; ?>" id="DDSystemId<?php echo $idx2; ?>" class="form-control" value="<?php echo $obj->{'DDSystemId'}[$idx];?>">
 										</div>
 									</section>

+ 0 - 1
board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/lib/.crc7.ko.cmd

@@ -1 +0,0 @@
-cmd_lib/crc7.ko := /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ld -EL -r  -T ./scripts/module-common.lds --build-id  -o lib/crc7.ko lib/crc7.o lib/crc7.mod.o ;  true

+ 0 - 37
board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/lib/.gen_crc32table.cmd

@@ -1,37 +0,0 @@
-cmd_lib/gen_crc32table := gcc -Wp,-MD,lib/.gen_crc32table.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89     -o lib/gen_crc32table lib/gen_crc32table.c  
-
-source_lib/gen_crc32table := lib/gen_crc32table.c
-
-deps_lib/gen_crc32table := \
-  /usr/include/stdc-predef.h \
-  /usr/include/stdio.h \
-  /usr/include/features.h \
-  /usr/include/x86_64-linux-gnu/sys/cdefs.h \
-  /usr/include/x86_64-linux-gnu/bits/wordsize.h \
-  /usr/include/x86_64-linux-gnu/gnu/stubs.h \
-  /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
-  /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
-  /usr/include/x86_64-linux-gnu/bits/types.h \
-  /usr/include/x86_64-linux-gnu/bits/typesizes.h \
-  /usr/include/libio.h \
-  /usr/include/_G_config.h \
-  /usr/include/wchar.h \
-  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
-  /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
-  /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
-  /usr/include/x86_64-linux-gnu/bits/stdio.h \
-  /usr/include/x86_64-linux-gnu/bits/stdio2.h \
-  lib/crc32defs.h \
-    $(wildcard include/config/crc32/sliceby8.h) \
-    $(wildcard include/config/crc32/sliceby4.h) \
-    $(wildcard include/config/crc32/sarwate.h) \
-    $(wildcard include/config/crc32/bit.h) \
-    $(wildcard include/config/64bit.h) \
-  /usr/include/inttypes.h \
-  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \
-  /usr/include/stdint.h \
-  /usr/include/x86_64-linux-gnu/bits/wchar.h \
-
-lib/gen_crc32table: $(deps_lib/gen_crc32table)
-
-$(deps_lib/gen_crc32table):