|
@@ -262,7 +262,6 @@ CORE STYLES ABOVE - NO TOUCHY
|
|
<label><?php echo $lang->showWord("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'};?>">
|
|
<input type="text" name="OcppReceiptrURL" id="OcppReceiptrURL" class="form-control" value="<?php echo $obj->{'OcppReceiptrURL'};?>">
|
|
</div>
|
|
</div>
|
|
-<?php } if(substr($ModelName,0,2)=="AX"){?>
|
|
|
|
<div class="form-group" style="display:block">
|
|
<div class="form-group" style="display:block">
|
|
<label><?php echo $lang->showWord("local_loading_balance"); ?></label>
|
|
<label><?php echo $lang->showWord("local_loading_balance"); ?></label>
|
|
<select class="form-control" id="isEnableLocalPowerSharging" name="isEnableLocalPowerSharging" onChange="isEnableLocalPowerSharging_changed()">
|
|
<select class="form-control" id="isEnableLocalPowerSharging" name="isEnableLocalPowerSharging" onChange="isEnableLocalPowerSharging_changed()">
|
|
@@ -367,7 +366,7 @@ CORE STYLES ABOVE - NO TOUCHY
|
|
?>
|
|
?>
|
|
|
|
|
|
<script type="text/JavaScript">
|
|
<script type="text/JavaScript">
|
|
-<?php if(substr($ModelName,0,2)=="AX"){?>
|
|
|
|
|
|
+<?php if(substr($ModelName,0,2)=="AX" || substr($ModelName,0,1)=="D"){?>
|
|
$(document).ready(function(){
|
|
$(document).ready(function(){
|
|
isEnableLocalPowerSharging_changed();
|
|
isEnableLocalPowerSharging_changed();
|
|
});
|
|
});
|
|
@@ -402,11 +401,10 @@ CORE STYLES ABOVE - NO TOUCHY
|
|
"&OcppSecurityPassword=" + escape(document.getElementById("OcppSecurityPassword").value)+
|
|
"&OcppSecurityPassword=" + escape(document.getElementById("OcppSecurityPassword").value)+
|
|
"&MaintainServerSecurityProfile=" + document.getElementById("MaintainServerSecurityProfile").value+
|
|
"&MaintainServerSecurityProfile=" + document.getElementById("MaintainServerSecurityProfile").value+
|
|
"&MaintainServerSecurityPassword=" + escape(document.getElementById("MaintainServerSecurityPassword").value);
|
|
"&MaintainServerSecurityPassword=" + escape(document.getElementById("MaintainServerSecurityPassword").value);
|
|
-<?php if(substr($ModelName,0,2)=="AX"){?>
|
|
|
|
|
|
+<?php if(substr($ModelName,0,2)=="AX" || substr($ModelName,0,1)=="D"){?>
|
|
data += "&isEnableLocalPowerSharging=" + document.getElementById("isEnableLocalPowerSharging").value;
|
|
data += "&isEnableLocalPowerSharging=" + document.getElementById("isEnableLocalPowerSharging").value;
|
|
data += "&PowerSharingServerIP=" + document.getElementById("PowerSharingServerIP").value;
|
|
data += "&PowerSharingServerIP=" + document.getElementById("PowerSharingServerIP").value;
|
|
data += "&PowerSharingCapacity=" + document.getElementById("PowerSharingCapacity").value;
|
|
data += "&PowerSharingCapacity=" + document.getElementById("PowerSharingCapacity").value;
|
|
-<?php } if(substr($ModelName,0,2)=="AX" || substr($ModelName,0,1)=="D"){?>
|
|
|
|
data += "&OcppReceiptrURL=" + document.getElementById("OcppReceiptrURL").value;
|
|
data += "&OcppReceiptrURL=" + document.getElementById("OcppReceiptrURL").value;
|
|
<?php } ?>
|
|
<?php } ?>
|
|
<?php if(substr($ModelName,0,1)=="D" && substr($ModelName,3,1)=="C"){?>
|
|
<?php if(substr($ModelName,0,1)=="D" && substr($ModelName,3,1)=="C"){?>
|
|
@@ -544,7 +542,7 @@ CORE STYLES ABOVE - NO TOUCHY
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-<?php if(substr($ModelName,0,2)=="AX"){?>
|
|
|
|
|
|
+<?php if(substr($ModelName,0,2)=="AX" || substr($ModelName,0,1)=="D"){?>
|
|
function isEnableLocalPowerSharging_changed(){
|
|
function isEnableLocalPowerSharging_changed(){
|
|
/*
|
|
/*
|
|
if(document.getElementById("isEnableLocalPowerSharging").selectedIndex!=0){
|
|
if(document.getElementById("isEnableLocalPowerSharging").selectedIndex!=0){
|