2008-06-16 12:31:14 +00:00
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2009-10-23 13:00:38 +00:00
<html><head>
2009-11-21 13:33:57 +00:00
<%@include file="css.jsi" %>
2009-10-23 13:55:44 +00:00
<%=intl.title("config clients")%>
2009-04-03 21:33:35 +00:00
<style type='text/css'>
button span.hide{
display:none;
}
2012-01-26 13:22:27 +00:00
input.default { width: 1px; height: 1px; visibility: hidden; }
2012-06-05 13:37:10 +00:00
</style>
<script src="/js/ajax.js" type="text/javascript"></script>
2012-07-17 00:47:08 +00:00
<%@include file="summaryajax.jsi" %>
2012-06-05 13:37:10 +00:00
</head><body onload="initAjax()">
2008-06-16 12:31:14 +00:00
2009-11-21 13:33:57 +00:00
<%@include file="summary.jsi" %>
2008-06-16 12:31:14 +00:00
<jsp:useBean class="net.i2p.router.web.ConfigClientsHelper" id="clientshelper" scope="request" />
2011-12-25 22:37:30 +00:00
<jsp:setProperty name="clientshelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
<jsp:setProperty name="clientshelper" property="edit" value="<%=request.getParameter(\"edit\")%>" />
2015-09-25 19:55:36 +00:00
<h1><%=intl._t("I2P Client Configuration")%></h1>
2008-06-16 12:31:14 +00:00
<div class="main" id="main">
2009-11-21 13:33:57 +00:00
<%@include file="confignav.jsi" %>
2009-08-15 16:08:33 +00:00
2008-06-16 12:31:14 +00:00
<jsp:useBean class="net.i2p.router.web.ConfigClientsHandler" id="formhandler" scope="request" />
2012-10-20 20:52:45 +00:00
<%@include file="formhandler.jsi" %>
2011-03-09 15:56:23 +00:00
<div class="configure">
2015-09-25 19:55:36 +00:00
<h3><%=intl._t("Client Configuration")%></h3><p>
<%=intl._t("The Java clients listed below are started by the router and run in the same JVM.")%><br>
<img src="/themes/console/images/itoopie_xsm.png" alt=""><b><%=intl._t("Be careful changing any settings here. The 'router console' and 'application tunnels' are required for most uses of I2P. Only advanced users should change these.")%></b>
2009-08-15 16:08:33 +00:00
</p><div class="wideload">
2011-03-09 15:56:23 +00:00
<form action="" method="POST">
<input type="hidden" name="nonce" value="<%=pageNonce%>" >
<jsp:getProperty name="clientshelper" property="form1" />
2015-09-25 19:55:36 +00:00
<p><i><%=intl._t("To change other client options, edit the file")%>
2009-10-24 06:10:40 +00:00
<%=net.i2p.router.startup.ClientAppConfig.configFile(net.i2p.I2PAppContext.getGlobalContext()).getAbsolutePath()%>.
2015-09-25 19:55:36 +00:00
<%=intl._t("All changes require restart to take effect.")%></i>
2009-08-19 16:57:47 +00:00
</p><hr><div class="formaction">
2015-09-25 19:55:36 +00:00
<input type="submit" class="cancel" name="foo" value="<%=intl._t("Cancel")%>" />
2014-08-03 13:58:51 +00:00
<% if (clientshelper.isClientChangeEnabled() && request.getParameter("edit") == null) { %>
2015-09-25 19:55:36 +00:00
<input type="submit" name="edit" class="add" value="<%=intl._t("Add Client")%>" />
2010-01-06 21:33:53 +00:00
<% } %>
2015-09-25 19:55:36 +00:00
<input type="submit" class="accept" name="action" value="<%=intl._t("Save Client Configuration")%>" />
2011-03-09 15:56:23 +00:00
</div></form></div>
</div></div></body></html>