<%@page contentType="text/html" import="net.i2p.i2ptunnel.web.EditBean"%> <% String tun = request.getParameter("tunnel"); int curTunnel = -1; if (tun != null) { try { curTunnel = Integer.parseInt(tun); } catch (NumberFormatException nfe) { curTunnel = -1; } } %> <%=intl._("I2P Tunnel Manager - Edit Client Tunnel")%> <% if (editBean.allowCSS()) { %> <% } %>
<% String tunnelTypeName = ""; String tunnelType = ""; if (curTunnel >= 0) { tunnelTypeName = editBean.getTunnelType(curTunnel); tunnelType = editBean.getInternalType(curTunnel); %>

Edit proxy settings

<% } else { tunnelTypeName = editBean.getTypeName(request.getParameter("type")); tunnelType = request.getParameter("type"); %>

New proxy settings

<% } %> " />

<%=tunnelTypeName%>

<% if ("streamrclient".equals(tunnelType)) { %> <% } else { %> <% } %>
<% String otherInterface = ""; String clientInterface = editBean.getClientInterface(curTunnel); if ("streamrclient".equals(tunnelType)) { otherInterface = clientInterface; } else { %>
<% } // streamrclient %>

<% if ("httpclient".equals(tunnelType) || "connectclient".equals(tunnelType)) { %>
<% } else if ("client".equals(tunnelType) || "ircclient".equals(tunnelType) || "streamrclient".equals(tunnelType)) { %>
(<%=intl._("name or destination")%>)
<% } %> <% if (!"streamrclient".equals(tunnelType)) { %>
class="tickbox" /> (<%=intl._("for request/response connections")%>)
class="tickbox" /> <%=intl._("(Share tunnels with other clients and irc/httpclients? Change requires restart of client proxy)")%>
<% } // !streamrclient %>
class="tickbox" /> <%=intl._("(Check the Box for 'YES')")%>

<%=intl._("Advanced networking options")%>


<%=intl._("(NOTE: when this client proxy is configured to share tunnels, then these options are for all the shared proxy clients!)")%>


<% if (!"streamrclient".equals(tunnelType)) { // streamr client sends pings so it will never be idle %>

class="tickbox" />

class="tickbox" />
class="tickbox" /> <%=intl._("Enable")%> class="tickbox" /> <%=intl._("Disable")%>

class="tickbox" />
<% } // !streamrclient %>

<% if ("client".equals(tunnelType) || "ircclient".equals(tunnelType)) { %>
class="tickbox" />
<%=intl._("(if known)")%>

<% } %>