forked from I2P_Developers/i2p.i2p
i2ptunnel:
- Show destination for persistent client key only if available; show b32 for the key as well
This commit is contained in:
@@ -414,13 +414,20 @@ input.default { width: 1px; height: 1px; visibility: hidden; }
|
|||||||
<label><%=intl._("File")%>:</label>
|
<label><%=intl._("File")%>:</label>
|
||||||
<input type="text" size="30" id="clientHost" name="privKeyFile" title="Path to Private Key File" value="<%=editBean.getPrivateKeyFile(curTunnel)%>" class="freetext" />
|
<input type="text" size="30" id="clientHost" name="privKeyFile" title="Path to Private Key File" value="<%=editBean.getPrivateKeyFile(curTunnel)%>" class="freetext" />
|
||||||
</div>
|
</div>
|
||||||
<div id="destinationField" class="rowItem">
|
<%
|
||||||
|
String destb64 = editBean.getDestinationBase64(curTunnel);
|
||||||
|
if (destb64.length() > 0) {
|
||||||
|
%> <div id="destinationField" class="rowItem">
|
||||||
<label for="localDestination" accesskey="L">
|
<label for="localDestination" accesskey="L">
|
||||||
<%=intl._("Local destination")%>(<span class="accessKey">L</span>):
|
<%=intl._("Local destination")%>(<span class="accessKey">L</span>):
|
||||||
</label>
|
</label>
|
||||||
<textarea rows="1" style="height: 3em;" cols="60" readonly="readonly" id="localDestination" title="Read Only: Local Destination (if known)" wrap="off" spellcheck="false"><%=editBean.getDestinationBase64(curTunnel)%></textarea>
|
<textarea rows="1" style="height: 3em;" cols="60" readonly="readonly" id="localDestination" title="Read Only: Local Destination (if known)" wrap="off" spellcheck="false"><%=destb64%></textarea>
|
||||||
<span class="comment"><%=intl._("(if known)")%></span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div id="destinationField" class="rowItem">
|
||||||
|
<label><%=intl._("Local Base 32")%>:</label>
|
||||||
|
<%=editBean.getDestHashBase32(curTunnel)%>.b32.i2p
|
||||||
|
</div>
|
||||||
|
<% } // if destb64 %>
|
||||||
|
|
||||||
<div class="subdivider">
|
<div class="subdivider">
|
||||||
<hr />
|
<hr />
|
||||||
|
Reference in New Issue
Block a user