Skip to content

Commit

Permalink
Fixed typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ylianst committed Apr 13, 2022
1 parent b29a7e2 commit f22d5aa
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 8 deletions.
5 changes: 4 additions & 1 deletion amt-0.2.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,10 @@ function AmtStackCreateService(wsmanStack) {
obj.AMT_TimeSynchronizationService_SetHighAccuracyTimeSynch = function (Ta0, Tm1, Tm2, callback_func, tag) { obj.Exec('AMT_TimeSynchronizationService', 'SetHighAccuracyTimeSynch', { 'Ta0': Ta0, 'Tm1': Tm1, 'Tm2': Tm2 }, callback_func, tag); }
obj.AMT_UserInitiatedConnectionService_RequestStateChange = function (RequestedState, TimeoutPeriod, callback_func) { obj.Exec('AMT_UserInitiatedConnectionService', 'RequestStateChange', { 'RequestedState': RequestedState, 'TimeoutPeriod': TimeoutPeriod }, callback_func); }
obj.AMT_WebUIService_RequestStateChange = function (RequestedState, TimeoutPeriod, callback_func) { obj.Exec('AMT_WebUIService', 'RequestStateChange', { 'RequestedState': RequestedState, 'TimeoutPeriod': TimeoutPeriod }, callback_func); }
obj.AMT_WiFiPortConfigurationService_AddWiFiSettings = function (WiFiEndpoint, WiFiEndpointSettingsInput, IEEE8021xSettingsInput, ClientCredential, CACredential, callback_func) { obj.ExecWithXml('AMT_WiFiPortConfigurationService', 'AddWiFiSettings', { 'WiFiEndpoint': WiFiEndpoint, 'WiFiEndpointSettingsInput': WiFiEndpointSettingsInput, 'IEEE8021xSettingsInput': IEEE8021xSettingsInput, 'ClientCredential': ClientCredential, 'CACredential': CACredential }, callback_func); }
obj.AMT_WiFiPortConfigurationService_AddWiFiSettings = function (WiFiEndpoint, WiFiEndpointSettingsInput, IEEE8021xSettingsInput, ClientCredential, CACredential, callback_func) {
console.log(JSON.stringify({ "WiFiEndpoint": WiFiEndpoint, "WiFiEndpointSettingsInput": WiFiEndpointSettingsInput, "IEEE8021xSettingsInput": IEEE8021xSettingsInput, "ClientCredential": ClientCredential, "CACredential": CACredential }, null, 2));
obj.ExecWithXml('AMT_WiFiPortConfigurationService', 'AddWiFiSettings', { 'WiFiEndpoint': WiFiEndpoint, 'WiFiEndpointSettingsInput': WiFiEndpointSettingsInput, 'IEEE8021xSettingsInput': IEEE8021xSettingsInput, 'ClientCredential': ClientCredential, 'CACredential': CACredential }, callback_func);
}
obj.AMT_WiFiPortConfigurationService_UpdateWiFiSettings = function (WiFiEndpointSettings, WiFiEndpointSettingsInput, IEEE8021xSettingsInput, ClientCredential, CACredential, callback_func) { obj.ExecWithXml('AMT_WiFiPortConfigurationService', 'UpdateWiFiSettings', { 'WiFiEndpointSettings': WiFiEndpointSettings, 'WiFiEndpointSettingsInput': WiFiEndpointSettingsInput, 'IEEE8021xSettingsInput': IEEE8021xSettingsInput, 'ClientCredential': ClientCredential, 'CACredential': CACredential }, callback_func); }
obj.AMT_WiFiPortConfigurationService_DeleteAllITProfiles = function (_method_dummy, callback_func) { obj.Exec('AMT_WiFiPortConfigurationService', 'DeleteAllITProfiles', { '_method_dummy': _method_dummy }, callback_func); }
obj.AMT_WiFiPortConfigurationService_DeleteAllUserProfiles = function (_method_dummy, callback_func) { obj.Exec('AMT_WiFiPortConfigurationService', 'DeleteAllUserProfiles', { '_method_dummy': _method_dummy }, callback_func); }
Expand Down
15 changes: 11 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1508,8 +1508,8 @@ <h4 style="width:100%;border-bottom:1px solid gray">Software KVM</h4>
</div>
<div id="idx_d12activeins0div" style='height:26px'>
<select id="idx_d12activeins0" style="float:right;width:200px" onclick="updateNetAuth2Dialog()">
<option value="0">Enabled</option>
<option value="1">Disabled</option>
<option value="1">Enabled</option>
<option value="0">Disabled</option>
</select>
<div>Active in S0</div>
</div>
Expand Down Expand Up @@ -5694,7 +5694,7 @@ <h4 style="width:100%;border-bottom:1px solid gray">Software KVM</h4>
var x = '<table class=log1 cellpadding=0 cellspacing=0 style=width:100%;border-radius:8px>';
x += TableEnd('<div>&nbsp;' + AddRefreshButton('PullSystemStatus(1)')
// ###BEGIN###{!Mode-LMS}
+ " Changing network settings may cause this page to becaume unavailable."
+ " Changing network settings may cause this page to become unavailable."
// ###END###{!Mode-LMS}
// ###BEGIN###{Mode-LMS}
+ " Changing network settings may cause this page to be unavailable for a few seconds."
Expand Down Expand Up @@ -5795,7 +5795,7 @@ <h4 style="width:100%;border-bottom:1px solid gray">Software KVM</h4>
x += TableEntry("Respond to ping", addLinkConditional(["Disabled", "ICMP response", "RMCP response", "ICMP & RMCP response"][gs['PingResponseEnabled'] + (gs['RmcpPingResponseEnabled'] << 1)], 'showPingActionDlg()', xxAccountAdminName));
// ###BEGIN###{NetAuth}
// 802.1x
var netAuthProtocols = ["TLS", "TTLS MSCHAPv2", "PEAP MSCHAPv2", "EAP GTC", "EAPFAST MSCHAPv2", "EAPFAST GTC", "EAPFAST TLS"], netAuthStr = "Disabled";
var netAuthProtocols = ['EAP-TLS', 'EAP-TTLS/MSCHAPv2', 'PEAPv0/EAP-MSCHAPv2', 'PEAPv1/EAP-GTC', 'EAP-FAST/MSCHAPv2', 'EAP-FAST/GTC', 'EAP-FAST/TLS'], netAuthStr = "Disabled";
if (amtsysstate['AMT_8021XProfile'].responses.Body['Enabled']) { netAuthStr = "Enabled, " + netAuthProtocols[amtsysstate['AMT_8021XProfile'].responses.Body['AuthenticationProtocol']]; }
x += TableEntry("802.1x", addLinkConditional(netAuthStr, 'editNetAuthProfile()', xxAccountAdminName));
// ###END###{NetAuth}
Expand Down Expand Up @@ -7764,6 +7764,7 @@ <h4 style="width:100%;border-bottom:1px solid gray">Software KVM</h4>
if (netAuthProfile) {
x += '<div style="width:100%;border-bottom:1px solid #000;margin-bottom:5px;margin-top:5px">802.11x</div>'
x += addHtmlValue("Authentication", netAuthProtocols[netAuthProfile['AuthenticationProtocol']]);
if (netAuthProfile['Domain']) { x += addHtmlValue("Domain", EscapeHtml(netAuthProfile['Domain'])); }
if (netAuthProfile['Username']) { x += addHtmlValue("Username", EscapeHtml(netAuthProfile['Username'])); }
}
// ###END###{NetAuth}
Expand Down Expand Up @@ -7880,6 +7881,12 @@ <h4 style="width:100%;border-bottom:1px solid gray">Software KVM</h4>
if (parseInt(Q('idx_d12servercert').value) >= 0) { netAuthSettingsServerCaCert = '<Address xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2004/08/addressing</Address><ReferenceParameters xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"><ResourceURI xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">http://intel.com/wbem/wscim/1/amt-schema/1/AMT_PublicKeyCertificate</ResourceURI><SelectorSet xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"><Selector Name="InstanceID">' + xxCertificates[parseInt(Q('idx_d12servercert').value)]['InstanceID'] + '</Selector></SelectorSet></ReferenceParameters>'; }
}
// ###END###{NetAuth}

console.log('wifiepsettinginput', JSON.sstringify(v, null, 2));
console.log('netAuthProfile', JSON.sstringify(sc, null, 2));
console.log('netAuthSettingsClientCert', netAuthSettingsClientCert);
console.log('netAuthSettingsServerCaCert', netAuthSettingsServerCaCert);

amtstack.AMT_WiFiPortConfigurationService_AddWiFiSettings(
{
'__parameterType': 'reference',
Expand Down
2 changes: 1 addition & 1 deletion output/index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -44624,7 +44624,7 @@ <h4 style="width:100%;border-bottom:1px solid gray">Software KVM</h4>
var x = '<table class=log1 cellpadding=0 cellspacing=0 style=width:100%;border-radius:8px>';
x += TableEnd('<div>&nbsp;' + AddRefreshButton('PullSystemStatus(1)')

+ " Changing network settings may cause this page to becaume unavailable."
+ " Changing network settings may cause this page to become unavailable."
);

// General settings
Expand Down
2 changes: 1 addition & 1 deletion translate/translate.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
},
{
"de": " Das Ändern der Netzwerkeinstellungen kann dazu führen, dass diese Seite nicht mehr verfügbar ist.",
"en": " Changing network settings may cause this page to becaume unavailable.",
"en": " Changing network settings may cause this page to become unavailable.",
"es": " Cambiar la configuración de red puede hacer que esta página no esté disponible.",
"fr": " La modification des paramètres réseau peut rendre cette page indisponible.",
"it": " La modifica delle impostazioni di rete potrebbe rendere questa pagina non disponibile.",
Expand Down
2 changes: 1 addition & 1 deletion translate/translate01.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
},
{
"de": " Das Ändern der Netzwerkeinstellungen kann dazu führen, dass diese Seite nicht mehr verfügbar ist.",
"en": " Changing network settings may cause this page to becaume unavailable.",
"en": " Changing network settings may cause this page to become unavailable.",
"es": " Cambiar la configuración de red puede hacer que esta página no esté disponible.",
"fr": " La modification des paramètres réseau peut rendre cette page indisponible.",
"it": " La modifica delle impostazioni di rete potrebbe rendere questa pagina non disponibile.",
Expand Down

0 comments on commit f22d5aa

Please sign in to comment.