forked from I2P_Developers/i2p.i2p
propagate from branch 'i2p.i2p.zzz.test3' (head d65e8465671ba0b8f6f013b56045bf867e10a78e)
to branch 'i2p.i2p' (head e2ee75916f2ff6bd698585808a81071b44c978b1)
This commit is contained in:
@@ -2,15 +2,13 @@
|
||||
<%@page pageEncoding="UTF-8"%>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
|
||||
<html><head>
|
||||
<title>I2P Router Console - config clients</title>
|
||||
<html><head><title>I2P Router Console - config clients</title>
|
||||
<%@include file="css.jsp" %>
|
||||
<style type='text/css'>
|
||||
button span.hide{
|
||||
display:none;
|
||||
}
|
||||
</style>
|
||||
</head><body>
|
||||
</style></head><body>
|
||||
|
||||
<%@include file="summary.jsp" %>
|
||||
|
||||
@@ -19,33 +17,28 @@ button span.hide{
|
||||
<h1>I2P Client Configuration</h1>
|
||||
<div class="main" id="main">
|
||||
<%@include file="confignav.jsp" %>
|
||||
|
||||
|
||||
<jsp:useBean class="net.i2p.router.web.ConfigClientsHandler" id="formhandler" scope="request" />
|
||||
<jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
|
||||
<jsp:setProperty name="formhandler" property="action" value="<%=request.getParameter("action")%>" />
|
||||
<jsp:setProperty name="formhandler" property="nonce" value="<%=request.getParameter("nonce")%>" />
|
||||
<jsp:setProperty name="formhandler" property="settings" value="<%=request.getParameterMap()%>" />
|
||||
<jsp:getProperty name="formhandler" property="allMessages" />
|
||||
<div class="configure">
|
||||
<form action="configclients.jsp" method="POST">
|
||||
<div class="configure"><form action="configclients.jsp" method="POST">
|
||||
<% String prev = System.getProperty("net.i2p.router.web.ConfigClientsHandler.nonce");
|
||||
if (prev != null) System.setProperty("net.i2p.router.web.ConfigClientsHandler.noncePrev", prev);
|
||||
System.setProperty("net.i2p.router.web.ConfigClientsHandler.nonce", new java.util.Random().nextLong()+""); %>
|
||||
<input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigClientsHandler.nonce")%>" />
|
||||
<h3>Client Configuration</h3>
|
||||
<p>
|
||||
<h3>Client Configuration</h3><p>
|
||||
The Java clients listed below are started by the router and run in the same JVM.
|
||||
</p><p> <div class="wideload">
|
||||
<jsp:getProperty name="clientshelper" property="form1" />
|
||||
</p><p>
|
||||
<i>To change other client options, edit the file
|
||||
</p><div class="wideload">
|
||||
<p><jsp:getProperty name="clientshelper" property="form1" />
|
||||
</p><p><i>To change other client options, edit the file
|
||||
<%=net.i2p.router.startup.ClientAppConfig.configFile(net.i2p.I2PAppContext.getGlobalContext()).getAbsolutePath()%>.
|
||||
All changes require restart to take effect.</i>
|
||||
</p> <hr /><div class="formaction">
|
||||
</p><hr><div class="formaction">
|
||||
<input type="submit" name="action" value="Save Client Configuration" />
|
||||
</div></div>
|
||||
<h3>WebApp Configuration</h3>
|
||||
<p>
|
||||
</div></div><h3>WebApp Configuration</h3><p>
|
||||
The Java web applications listed below are started by the webConsole client and run in the same JVM as the router.
|
||||
They are usually web applications accessible through the router console.
|
||||
They may be complete applications (e.g. i2psnark),
|
||||
@@ -55,18 +48,10 @@ All changes require restart to take effect.</i>
|
||||
A web app may also be disabled by removing the .war file from the webapps directory;
|
||||
however the .war file and web app will reappear when you update your router to a newer version,
|
||||
so disabling the web app here is the preferred method.
|
||||
</p><p><div class="wideload">
|
||||
</p><div class="wideload"><p>
|
||||
<jsp:getProperty name="clientshelper" property="form2" />
|
||||
</p>
|
||||
<p>
|
||||
</p><p>
|
||||
<i>All changes require restart to take effect.</i>
|
||||
</p>
|
||||
<hr><div class="formaction">
|
||||
</p><hr><div class="formaction">
|
||||
<input type="submit" name="action" value="Save WebApp Configuration" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</div></div></form></div></div></body></html>
|
||||
|
Reference in New Issue
Block a user