From e43182b842ec44d8a8708ec4c6df8c077165a5aa Mon Sep 17 00:00:00 2001
From: str4d <str4d@mail.i2p>
Date: Wed, 25 Jan 2012 01:12:17 +0000
Subject: [PATCH] Added inputs for page 6 of wizard

---
 apps/i2ptunnel/jsp/wizard.jsp | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/apps/i2ptunnel/jsp/wizard.jsp b/apps/i2ptunnel/jsp/wizard.jsp
index fa14045507..006f4bf8c6 100644
--- a/apps/i2ptunnel/jsp/wizard.jsp
+++ b/apps/i2ptunnel/jsp/wizard.jsp
@@ -235,6 +235,22 @@
             } /* (tunnelIsClient && !streamrclient) ||  httpbidirserver || streamrserver */
 
                /* End page 5 */ %>
+
+            <% /* Page 6 - Automatic start */
+
+            if (curPage == 6) {
+            %><div id="startupField" class="rowItem">
+                <label for="startOnLoad" accesskey="a">
+                    <%=intl._("Auto Start")%>(<span class="accessKey">A</span>):
+                </label>
+                <input value="1" type="checkbox" id="startOnLoad" name="startOnLoad" title="Start Tunnel Automatically" class="tickbox" />
+                <span class="comment"><%=intl._("(Check the Box for 'YES')")%></span>
+            </div><%
+            } else {
+            %><input type="hidden" name="startOnLoad" value="<%=wizardBean.getStartOnLoad()%>" /><%
+            } /* curPage 6 */
+
+               /* End page 6 */ %>
         </div>
 
         <div id="globalOperationsPanel" class="panel">
-- 
GitLab