Changeset 363317f for apps/i2ptunnel/jsp/editServer.jsi
- Timestamp:
- Apr 11, 2019 3:59:11 PM (22 months ago)
- Branches:
- master
- Children:
- 071e702
- Parents:
- f4d7a6d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
apps/i2ptunnel/jsp/editServer.jsi
rf4d7a6d r363317f 418 418 <input type="text" id="clientPort" name="clientport" size="20" title="<%=intl._t("I2CP Port Number")%>" value="<%=editBean.getI2CPPort(curTunnel)%>" class="freetext" <% if (editBean.isRouterContext()) { %> readonly="readonly" <% } %> /> 419 419 </td> 420 </tr><tr> 420 </tr> 421 <% 422 // TODO, encrypted + offline is unimplemented 423 if (!editBean.getIsOfflineKeys(curTunnel)) { 424 %> 425 <tr> 421 426 <th colspan="2"> 422 427 <%=intl._t("Encrypt Leaseset")%> … … 432 437 <%=intl._t("Encrypted")%></label></span> 433 438 <% 434 int curSigType = editBean.getSigType(curTunnel, tunnelType); 435 // TODO, encrypted + offline is unimplemented 436 boolean allowBlinding = (curSigType == 7 || curSigType == 11) && !editBean.getIsOfflineKeys(curTunnel); 437 if (allowBlinding) { 439 int curSigType = editBean.getSigType(curTunnel, tunnelType); 440 boolean allowBlinding = (curSigType == 7 || curSigType == 11); 441 if (allowBlinding) { 438 442 %> 439 443 <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" /> … … 454 458 <%=intl._t("Blinded with lookup password and per-user key")%></label></span> 455 459 <% 456 } // isAdvanced() 457 } // allowBlinding 458 %> 459 </td> 460 </tr><tr> 460 } // isAdvanced() 461 } // allowBlinding 462 %> 463 </td> 464 </tr><tr> 465 <tr> 461 466 <td> 462 467 <b><%=intl._t("Encryption Key")%></b> … … 472 477 </tr> 473 478 <% 474 if (allowBlinding) {479 if (allowBlinding) { 475 480 %> 476 481 <tr> … … 481 486 </tr> 482 487 <% 483 } // allowBlinding 488 } // allowBlinding 489 } // !isOffline 484 490 %> 485 491 <tr>
Note: See TracChangeset
for help on using the changeset viewer.