diff --git a/apps/i2ptunnel/jsp/edit.jsp b/apps/i2ptunnel/jsp/edit.jsp index c6c0b1af5..6880b5c28 100644 --- a/apps/i2ptunnel/jsp/edit.jsp +++ b/apps/i2ptunnel/jsp/edit.jsp @@ -53,11 +53,19 @@ if (__invalid) { %>Invalid tunnel parameter<% } else { if (editBean.isInitialized()) { +%> +
+
+<% if (__isClient) { %><%@include file="editClient.jsi" %><% } else { %><%@include file="editServer.jsi" %><% } +%> +
+
+<% } else { %>
<%=intl._t("Tunnels not initialized yet; please retry in a few moments.")%>
<% } // isInitialized() diff --git a/apps/i2ptunnel/jsp/editClient.jsi b/apps/i2ptunnel/jsp/editClient.jsi index d4a1472e6..8e5e92b53 100644 --- a/apps/i2ptunnel/jsp/editClient.jsi +++ b/apps/i2ptunnel/jsp/editClient.jsi @@ -1,6 +1,3 @@ -
- -
<% String tunnelTypeName; String tunnelType; @@ -684,5 +681,3 @@ -
-
diff --git a/apps/i2ptunnel/jsp/editServer.jsi b/apps/i2ptunnel/jsp/editServer.jsi index f1c45cef9..1a0f5cb4c 100644 --- a/apps/i2ptunnel/jsp/editServer.jsi +++ b/apps/i2ptunnel/jsp/editServer.jsi @@ -1,7 +1,3 @@ -
- -
- <% String tunnelTypeName; String tunnelType; @@ -930,5 +926,3 @@ -
-