Changeset 7858dbe for apps/i2ptunnel/jsp/editServer.jsi
- Timestamp:
- May 23, 2019 10:41:34 AM (20 months ago)
- Branches:
- master
- Children:
- 7bdfd07
- Parents:
- ea5ddfc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
apps/i2ptunnel/jsp/editServer.jsi
rea5ddfc r7858dbe 438 438 String curEncryptMode = editBean.getEncryptMode(curTunnel); 439 439 %> 440 <span class="multiOption"><label title="<%=intl._t("Allow all clients to connect to this service")%>"><input value="0" type="radio" name="encryptMode"<%=(curEncryptMode.equals("0") ? " checked=\"checked\"" : "")%> class="tickbox" /> 441 <%=intl._t("Disable")%></label></span> 442 <span class="multiOption"><label title="<%=intl._t("Only clients with the encryption key will be able to connect")%>"><input value="1" type="radio" name="encryptMode"<%=(curEncryptMode.equals("1") ? " checked=\"checked\"" : "")%> class="tickbox" /> 443 <%=intl._t("Encrypted")%></label></span> 440 <select id="encryptMode" name="encryptMode">" class="selectbox"> 441 <option title="<%=intl._t("Allow all clients to connect to this service")%>" value="0" <%=(curEncryptMode.equals("0") ? " selected=\"selected\"" : "")%> /> 442 <%=intl._t("Disable")%></option> 443 <% 444 if (editBean.isAdvanced() || curEncryptMode.equals("10")) { 445 %> 446 <option title="<%=intl._t("Allow all clients to connect to this service")%>" value="10" <%=(curEncryptMode.equals("10") ? " selected=\"selected\"" : "")%> /> 447 <%=intl._t("Disable")%> (LS2)</option> 448 <% 449 } // isAdvanced() 450 %> 451 <option title="<%=intl._t("Only clients with the encryption key will be able to connect")%>" value="1" <%=(curEncryptMode.equals("1") ? " selected=\"selected\"" : "")%> /> 452 <%=intl._t("Encrypted")%></option> 444 453 <% 445 454 int curSigType = editBean.getSigType(curTunnel, tunnelType); … … 447 456 if (allowBlinding) { 448 457 %> 449 < span class="multiOption"><label title="<%=intl._t("Prevents server discovery by floodfills")%>"><input value="2" type="radio" name="encryptMode"<%=(curEncryptMode.equals("2") ? " checked=\"checked\"" : "")%> class="tickbox"/>450 <%=intl._t("Blinded")%></ label></span>458 <option title="<%=intl._t("Prevents server discovery by floodfills")%>" value="2" <%=(curEncryptMode.equals("2") ? " selected=\"selected\"" : "")%> /> 459 <%=intl._t("Blinded")%></option> 451 460 <% 452 461 if (editBean.isAdvanced()) { 453 462 %> 454 < span class="multiOption"><label title="<%=intl._t("Only clients with the password will be able to connect")%>"><input value="3" type="radio" name="encryptMode"<%=(curEncryptMode.equals("3") ? " checked=\"checked\"" : "")%> class="tickbox"/>455 <%=intl._t("Blinded with lookup password")%></ label></span>463 <option title="<%=intl._t("Only clients with the password will be able to connect")%>" value="3" <%=(curEncryptMode.equals("3") ? " selected=\"selected\"" : "")%> /> 464 <%=intl._t("Blinded with lookup password")%></option> 456 465 <% 457 466 // TODO, unimplemented 458 467 %> 459 < span class="multiOption"><label title="<%=intl._t("Only clients with the encryption key will be able to connect")%>"><input value="4" type="radio" name="encryptMode"<%=(curEncryptMode.equals("4") ? " checked=\"checked\"" : "")%> class="tickbox"/>460 <%=intl._t("Blinded with shared key")%></ label></span>461 < span class="multiOption"><label title="<%=intl._t("Only clients with the password and key will be able to connect")%>"><input value="5" type="radio" name="encryptMode"<%=(curEncryptMode.equals("5") ? " checked=\"checked\"" : "")%> class="tickbox"/>462 <%=intl._t("Blinded with lookup password and shared key")%></ label></span>463 < span class="multiOption"><label title="<%=intl._t("Only clients with the encryption key will be able to connect")%>"><input value="6" type="radio" name="encryptMode"<%=(curEncryptMode.equals("6") ? " checked=\"checked\"" : "")%> class="tickbox"/>464 <%=intl._t("Blinded with per-user key")%> (PSK)</ label></span>465 < span class="multiOption"><label title="<%=intl._t("Only clients with the password and key will be able to connect")%>"><input value="7" type="radio" name="encryptMode"<%=(curEncryptMode.equals("7") ? " checked=\"checked\"" : "")%> class="tickbox"/>466 <%=intl._t("Blinded with lookup password and per-user key")%> (PSK)</ label></span>467 < span class="multiOption"><label title="<%=intl._t("Only clients with the encryption key will be able to connect")%>"><input value="8" type="radio" name="encryptMode"<%=(curEncryptMode.equals("8") ? " checked=\"checked\"" : "")%> class="tickbox"/>468 <%=intl._t("Blinded with per-user key")%> (DH)</ label></span>469 < span class="multiOption"><label title="<%=intl._t("Only clients with the password and key will be able to connect")%>"><input value="9" type="radio" name="encryptMode"<%=(curEncryptMode.equals("9") ? " checked=\"checked\"" : "")%> class="tickbox"/>470 <%=intl._t("Blinded with lookup password and per-user key")%> (DH)</ label></span>468 <option title="<%=intl._t("Only clients with the encryption key will be able to connect")%>" value="4" <%=(curEncryptMode.equals("4") ? " selected=\"selected\"" : "")%> /> 469 <%=intl._t("Blinded with shared key")%></option> 470 <option title="<%=intl._t("Only clients with the password and key will be able to connect")%>" value="5" <%=(curEncryptMode.equals("5") ? " selected=\"selected\"" : "")%> /> 471 <%=intl._t("Blinded with lookup password and shared key")%></option> 472 <option title="<%=intl._t("Only clients with the encryption key will be able to connect")%>" value="6" <%=(curEncryptMode.equals("6") ? " selected=\"selected\"" : "")%> /> 473 <%=intl._t("Blinded with per-user key")%> (PSK)</option> 474 <option title="<%=intl._t("Only clients with the password and key will be able to connect")%>" value="7" <%=(curEncryptMode.equals("7") ? " selected=\"selected\"" : "")%> /> 475 <%=intl._t("Blinded with lookup password and per-user key")%> (PSK)</option> 476 <option title="<%=intl._t("Only clients with the encryption key will be able to connect")%>" value="8" <%=(curEncryptMode.equals("8") ? " selected=\"selected\"" : "")%> /> 477 <%=intl._t("Blinded with per-user key")%> (DH)</option> 478 <option title="<%=intl._t("Only clients with the password and key will be able to connect")%>" value="9" <%=(curEncryptMode.equals("9") ? " selected=\"selected\"" : "")%> /> 479 <%=intl._t("Blinded with lookup password and per-user key")%> (DH)</option> 471 480 <% 472 481 } // isAdvanced() 473 482 } // allowBlinding 474 483 %> 484 </select> 475 485 </td> 476 486 </tr><tr>
Note: See TracChangeset
for help on using the changeset viewer.