+
+
+
+
+
+
+ <% /* Page 1 - Whether to make a client or server tunnel */
+
+ if (curPage == 1) {
+ %>
+ <%=intl._("The first thing to decide is whether you want to create a client or server tunnel.")%>
+
+
+
+
+
+
+
<%
+ } else {
+ %>
<%
+ } /* curPage 1 */
+
+ /* End page 1 */ %>
+
+ <% /* Page 2 - Tunnel type */
+
+ if (curPage == 2) {
+ %>
+ <%=intl._("There are several types of tunnels to choose from:")%>
+
+
<%
+ if (tunnelIsClient) {
+ %>
+ - <%=intl._("Standard")%>
+ - HTTP
+ - IRC
+ - SOCKS 4/4a/5
+ - SOCKS IRC
+ - CONNECT
+ - Streamr
<%
+ } else {
+ %>
+ - <%=intl._("Standard")%>
+ - HTTP
+ - HTTP bidir
+ - IRC
+ - Streamr
<%
+ }
+ %>
+
+
+ <%=intl._("The above might look better as a table, possibly.")%>
+
+
+ <%
+ if (tunnelIsClient) {
+ %><%
+ } else {
+ %><%
+ } /* tunnelIsClient */ %>
+
<%
+ } else {
+ %>
<%
+ } /* curPage 2 */
+
+ /* End page 2 */ %>
+
+ <% /* Page 3 - Name and description */
+
+ if (curPage == 3) {
+ %>
+ <%=intl._("Choose a name and description for your tunnel.")%>
+ <%=intl._("These can be anything you want - they are just for ease of identifying the tunnel in the routerconsole.")%>
+
+
+
+ " class="freetext" />
+
+
+
+ " class="freetext" />
+
<%
+ } else {
+ %>
" />
+
" /><%
+ } /* curPage 3 */
+
+ /* End page 3 */ %>
+
+ <% /* Page 4 - Target destination or proxy list */
+
+ if (tunnelIsClient) {
+ if ("httpclient".equals(tunnelType) || "connectclient".equals(tunnelType) || "sockstunnel".equals(tunnelType) || "socksirctunnel".equals(tunnelType)) {
+ if (curPage == 4) {
+ %>
+ <%=intl._("Some blurb explaining that this is the list of proxies that the client tunnel should try if the requested URL is not an I2P URL.")%>
+
+
+
+ " class="freetext" />
+
<%
+ } else {
+ %>
" /><%
+ } /* curPage 4 */
+ } else if ("client".equals(tunnelType) || "ircclient".equals(tunnelType) || "streamrclient".equals(tunnelType)) {
+ if (curPage == 4) {
+ %>
+ <%=intl._("Some blurb explaining that this is the I2P destination that the client tunnel should point to.")%>
+
+
+
+ " class="freetext" />
+
+
<%
+ } else {
+ %>
" /><%
+ } /* curPage 4 */
+ }
+ } /* tunnelIsClient */
+
+ /* End page 4 */ %>
+
+ <% /* Page 5 - Binding ports and addresses*/
+
+ if ((tunnelIsClient && "streamrclient".equals(tunnelType)) || (!tunnelIsClient && !"streamrserver".equals(tunnelType))) {
+ if (curPage == 5) {
+ %>
+ <%=intl._("Some blurb explaining that this is the IP that the service is running on, and that the tunnel should direct requests to.")%>
+ <%=intl._("For some reason streamrclient also uses this.")%>
+
+
+
+ " class="freetext" />
+
<%
+ } else {
+ %>
" /><%
+ } /* curPage 5 */
+ } /* streamrclient or !streamrserver */ %>
+ <%
+ if (!tunnelIsClient) {
+ if (curPage == 5) {
+ %>
+ <%=intl._("Some blurb explaining that this is the port that the service is running on, and that the tunnel should direct requests to.")%>
+
+
+
+ " class="freetext" />
+
<%
+ } else {
+ %>
" /><%
+ } /* curPage 5 */
+ } /* !tunnelIsClient */ %>
+ <%
+ if (tunnelIsClient || "httpbidirserver".equals(tunnelType)) {
+ if (curPage == 5) {
+ %>
+ <%=intl._("Some blurb explaining that this is the port that the client tunnel will be accessed from locally.")%>
+ <%=intl._("This is also the client port for the httpbidirserver tunnel.")%>
+
+
+
+ " class="freetext" />
+
<%
+ } else {
+ %>
" /><%
+ } /* curPage 5 */
+ } /* tunnelIsClient or httpbidirserver */ %>
+ <%
+ if ((tunnelIsClient && !"streamrclient".equals(tunnelType)) || "httpbidirserver".equals(tunnelType) || "streamrserver".equals(tunnelType)) {
+ if (curPage == 5) {
+ %>
+ <%=intl._("Some blurb explaining what Reachable By is.")%>
+ <%=intl._("Note that it is relevant to most Client tunnels, and httpbidirserver and streamrserver tunnels.")%>
+ <%=intl._("So the wording may need to change slightly for the client vs. server tunnels.")%>
+
+
+
+
+
<%
+ } else {
+ %>
" /><%
+ } /* curPage 5 */
+ } /* (tunnelIsClient && !streamrclient) || httpbidirserver || streamrserver */
+
+ /* End page 5 */ %>
+
+ <% /* Page 6 - Automatic start */
+
+ if (curPage == 6) {
+ %>
+ <%=intl._("Some blurb that explains what Auto Start does.")%>
+
+
+
+ class="tickbox" />
+
+
<%
+ } else {
+ if ("1".equals(request.getParameter("startOnLoad"))) {
+ %>
" /><%
+ }
+ } /* curPage 6 */
+
+ /* End page 6 */ %>
+
+ <% /* Page 7 - Wizard complete */
+
+ if (curPage == 7) {
+ %>
+ <%=intl._("Some blurb explaining that the wizard is finished, and that the tunnel will now be created and possibly started.")%>
+ <%=intl._("There should also be a blurb about the fact that the tunnel will be created with default values, and that these may require tuning.")%>
+
+
+
+
+
+
+
+
+
+
+ <%
+ if (!"streamrclient".equals(tunnelType)) {
+ %>
+
+
<%
+ } /* !streamrclient */ %>
+
+ <%
+ if (tunnelIsClient) { /* Client-only defaults */
+ if (!"streamrclient".equals(tunnelType)) {
+ %>
+
<%
+ }
+ if ("httpclient".equals(tunnelType) || "connectclient".equals(tunnelType) || "sockstunnel".equals(tunnelType) || "socksirctunnel".equals(tunnelType)) {
+ %>
+
+
+
<%
+ }
+ if ("httpclient".equals(tunnelType)) {
+ %>
<%
+ } /* httpclient */
+ } else { /* Server-only defaults */
+ %>
+
+
+
+
+
+
+
+
+
+
+
<%
+ } /* tunnelIsClient */
+ } /* curPage 7 */
+
+ /* End page 7 */ %>
+
+
+