From eca234c187608e9f51fec0525c2fae3ae6ea731c Mon Sep 17 00:00:00 2001 From: zzz Date: Thu, 5 Nov 2015 20:24:12 +0000 Subject: [PATCH] i2ptunnel: Add longer tunnel options in advanced mode --- apps/i2ptunnel/jsp/editClient.jsp | 7 ++++++- apps/i2ptunnel/jsp/editServer.jsp | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/apps/i2ptunnel/jsp/editClient.jsp b/apps/i2ptunnel/jsp/editClient.jsp index 3ac7d5454..b09b2ed54 100644 --- a/apps/i2ptunnel/jsp/editClient.jsp +++ b/apps/i2ptunnel/jsp/editClient.jsp @@ -268,7 +268,12 @@ input.default { width: 1px; height: 1px; visibility: hidden; } - <% if (tunnelDepth > 3) { + <% if (editBean.isAdvanced()) { + %> + + + + <% } else if (tunnelDepth > 3) { %> <% } %> diff --git a/apps/i2ptunnel/jsp/editServer.jsp b/apps/i2ptunnel/jsp/editServer.jsp index ac3eb48e3..22810a2ee 100644 --- a/apps/i2ptunnel/jsp/editServer.jsp +++ b/apps/i2ptunnel/jsp/editServer.jsp @@ -272,7 +272,12 @@ input.default { width: 1px; height: 1px; visibility: hidden; } - <% if (tunnelDepth > 3) { + <% if (editBean.isAdvanced()) { + %> + + + + <% } else if (tunnelDepth > 3) { %> <% } %>