From e0b70375a6b061adb11ca2b2fc6a51455db29405 Mon Sep 17 00:00:00 2001
From: str4d <str4d@mail.i2p>
Date: Sun, 22 Jan 2012 02:37:39 +0000
Subject: [PATCH] Added inputs for page 3 of wizard

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

diff --git a/apps/i2ptunnel/jsp/wizard.jsp b/apps/i2ptunnel/jsp/wizard.jsp
index ae50f18825..846e83b19a 100644
--- a/apps/i2ptunnel/jsp/wizard.jsp
+++ b/apps/i2ptunnel/jsp/wizard.jsp
@@ -105,6 +105,24 @@
             } else {
             %><input type="hidden" name="type" value="<%=wizardBean.getType()%>" /><%
             } %>
+
+            <% if (curPage == 3) {
+            %><div id="nameField" class="rowItem">
+                <label for="name" accesskey="N">
+                    <%=intl._("Name")%>:(<span class="accessKey">N</span>)
+                </label>
+                <input type="text" size="30" maxlength="50" name="name" id="name" title="Tunnel Name" value="" class="freetext" />
+            </div>
+            <div id="descriptionField" class="rowItem">
+                <label for="description" accesskey="e">
+                    <%=intl._("Description")%>:(<span class="accessKey">E</span>)
+                </label>
+                <input type="text" size="60" maxlength="80" name="description"  id="description" title="Tunnel Description" value="" class="freetext" />
+            </div><%
+            } else {
+            %><input type="hidden" name="name" value="<%=wizardBean.getName()%>" />
+            <input type="hidden" name="description" value="<%=wizardBean.getDescription()%>" /><%
+            } %>
         </div>
 
         <div id="globalOperationsPanel" class="panel">
-- 
GitLab