<%@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 Server Tunnel")%> <% if (editBean.allowCSS()) { %> <% } %>
<% String tunnelTypeName = ""; String tunnelType = ""; if (curTunnel >= 0) { tunnelTypeName = editBean.getTunnelType(curTunnel); tunnelType = editBean.getInternalType(curTunnel); %>

<%=intl._("Edit server settings")%>

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

<%=intl._("New server settings")%>

<% } %> " />

<%=tunnelTypeName%>
class="tickbox" /> <%=intl._("(Check the Box for 'YES')")%>

<% if ("streamrserver".equals(tunnelType)) { %> <% } else { %> <% } %>
<% if ("httpbidirserver".equals(tunnelType)) { %>

<% String otherInterface = ""; String clientInterface = editBean.getClientInterface(curTunnel); %>
<% } %>

<% if (("httpserver".equals(tunnelType)) || ("httpbidirserver".equals(tunnelType))) { %>
<%=intl._("(leave blank for outproxies)")%>
<% } %>
<% if (!"streamrserver".equals(tunnelType)) { %>
<% } // !streamrserver %>
<% if (!"".equals(editBean.getDestinationBase64(curTunnel))) { %> <%=intl._("Add to local addressbook")%> <% } %>

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




class="tickbox" />
<%=intl._("(Tunnel must be stopped first)")%>

class="tickbox" />
<%=intl._("(Restrict to these clients only)")%>

class="tickbox" />

class="tickbox" />
class="tickbox" />
class="tickbox" />
class="tickbox" />
<%=intl._("(Tunnel must be stopped first)")%>