<% // NOTE: Do the header carefully so there is no whitespace before the <%@page pageEncoding="UTF-8" %><%@page contentType="text/html" import="net.i2p.i2ptunnel.web.WizardBean" %> <% String pageStr = request.getParameter("page"); int curPage = 1; if (pageStr != null) { try { curPage = Integer.parseInt(pageStr); if (curPage > 7 || curPage <= 0) { curPage = 1; } } catch (NumberFormatException nfe) { curPage = 1; } } boolean tunnelIsClient = wizardBean.getIsClient(); %> <%=intl._("I2P Tunnel Manager - Tunnel Creation Wizard")%> <% if (wizardBean.allowCSS()) { %> <% } %>
">
<% if (curPage == 1) { %>

<%=intl._("Server or client tunnel?")%>

<% } else if (curPage == 2) { %>

<%=intl._("Tunnel type")%>

<% } else if (curPage == 3) { %>

<%=intl._("Tunnel name and description")%>

<% } else if (curPage == 4 && tunnelIsClient) { %>

<%=intl._("Tunnel destination")%>

<% } else if (curPage == 5) { %>

<%=intl._("Binding address and port")%>

<% } else if (curPage == 6) { %>

<%=intl._("Tunnel auto-start")%>

<% } else if (curPage == 7) { %>

<%=intl._("Wizard completed")%>

<% } %> " />

<% if (curPage == 1) { %>
<% } else { %><% } %> <% if (curPage == 2) { %>
<% if (tunnelIsClient) { %><% } else { %><% } %>
<% } else { %><% } %>