* Console:
- Don't save config when checking for updates on configupdate.jsp - Rework ConfigRestartBean and tag - More tag fixups - Add lang=xx for testing - Add file for additional tagged strings
This commit is contained in:
@ -21,14 +21,14 @@
|
||||
<% String prev = System.getProperty("net.i2p.router.web.ConfigServiceHandler.nonce");
|
||||
if (prev != null) System.setProperty("net.i2p.router.web.ConfigServiceHandler.noncePrev", prev);
|
||||
System.setProperty("net.i2p.router.web.ConfigServiceHandler.nonce", new java.util.Random().nextLong()+""); %>
|
||||
<input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigServiceHandler.nonce")%>" />
|
||||
<input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigServiceHandler.nonce")%>" >
|
||||
<h3><%=intl._("Shutdown the router")%></h3>
|
||||
<p><%=intl._("Graceful shutdown lets the router satisfy the agreements it has already made before shutting down, but may take a few minutes.")%>
|
||||
<%=intl._("If you need to kill the router immediately, that option is available as well.")%></p>
|
||||
<hr><div class="formaction">
|
||||
<input type="submit" name="action" value="<%=intl._("Shutdown gracefully")%>" />
|
||||
<input type="submit" name="action" value="<%=intl._("Shutdown immediately")%>" />
|
||||
<input type="submit" name="action" value="<%=intl._("Cancel graceful shutdown")%>" />
|
||||
<input type="submit" name="action" value="<%=intl._("Shutdown gracefully")%>" >
|
||||
<input type="submit" name="action" value="<%=intl._("Shutdown immediately")%>" >
|
||||
<input type="submit" name="action" value="<%=intl._("Cancel graceful shutdown")%>" >
|
||||
</div>
|
||||
<% if (System.getProperty("wrapper.version") != null) { %>
|
||||
<p><%=intl._("If you want the router to restart itself after shutting down, you can choose one of the following.")%>
|
||||
@ -37,8 +37,8 @@
|
||||
<%=intl._("A graceful restart will take a few minutes (but your peers will appreciate your patience), while a hard restart does so immediately.")%>
|
||||
<%=intl._("After tearing down the router, it will wait 1 minute before starting back up again.")%></p>
|
||||
<hr><div class="formaction">
|
||||
<input type="submit" name="action" value="<%=intl._("Graceful restart")%>" />
|
||||
<input type="submit" name="action" value="<%=intl._("Hard restart")%>" />
|
||||
<input type="submit" name="action" value="<%=intl._("Graceful restart")%>" >
|
||||
<input type="submit" name="action" value="<%=intl._("Hard restart")%>" >
|
||||
<% } %></div>
|
||||
|
||||
<% if ( (System.getProperty("os.name") != null) && (System.getProperty("os.name").startsWith("Win")) ) { %>
|
||||
@ -47,16 +47,16 @@
|
||||
<%=intl._("(later on, I2P client applications will be able to integrate their own functionality into the system tray as well).")%>
|
||||
<%=intl._("If you are on windows, you can either enable or disable that icon here.")%></p>
|
||||
<hr><div class="formaction">
|
||||
<input type="submit" name="action" value="<%=intl._("Show systray icon")%>" />
|
||||
<input type="submit" name="action" value="<%=intl._("Hide systray icon")%>" />
|
||||
<input type="submit" name="action" value="<%=intl._("Show systray icon")%>" >
|
||||
<input type="submit" name="action" value="<%=intl._("Hide systray icon")%>" >
|
||||
</div><h3><%=intl._("Run on startup")%></h3>
|
||||
<p><%=intl._("You can control whether I2P is run on startup or not by selecting one of the following options")%> -
|
||||
<%=intl._("I2P will install (or remove) a service accordingly.")%>
|
||||
<%=intl._("If you prefer the command line, you can also run the ")%> <code>install_i2p_service_winnt.bat</code> (<%=intl._("or")%>
|
||||
<code>uninstall_i2p_service_winnt.bat</code>).</p>
|
||||
<hr><div class="formaction">
|
||||
<input type="submit" name="action" value="<%=intl._("Run I2P on startup")%>" />
|
||||
<input type="submit" name="action" value="<%=intl._("Don't run I2P on startup")%>" /></div>
|
||||
<input type="submit" name="action" value="<%=intl._("Run I2P on startup")%>" >
|
||||
<input type="submit" name="action" value="<%=intl._("Don't run I2P on startup")%>" ></div>
|
||||
<p><b><%=intl._("Note")%>:</b> <%=intl._("If you are running I2P as service right now, removing it will shut down your router immediately.")%>
|
||||
<%=intl._("You may want to consider shutting down gracefully, as above, then running uninstall_i2p_service_winnt.bat.")%></p>
|
||||
<% } %>
|
||||
@ -67,13 +67,13 @@
|
||||
To do so, please select the following option and review the thread dumped to
|
||||
<a href="logs.jsp#servicelogs">wrapper.log</a>.</p>
|
||||
<hr><div class="formaction">
|
||||
<input type="submit" name="action" value="Dump threads" />
|
||||
<input type="submit" name="action" value="<%=intl._("Dump threads")%>" >
|
||||
<% } %></div>
|
||||
|
||||
<h3><%=intl._("Launch browser on router startup?")%></h3>
|
||||
<p><%=intl._("I2P's main configuration interface is this web console, so for your convenience I2P can launch a web browser on startup pointing at")%>
|
||||
<a href="http://127.0.0.1:7657/index.jsp">http://127.0.0.1:7657/index.jsp</a> .</p>
|
||||
<hr><div class="formaction">
|
||||
<input type="submit" name="action" value="<%=intl._("View console on startup")%>" />
|
||||
<input type="submit" name="action" value="<%=intl._("Do not view console on startup")%>" />
|
||||
<input type="submit" name="action" value="<%=intl._("View console on startup")%>" >
|
||||
<input type="submit" name="action" value="<%=intl._("Do not view console on startup")%>" >
|
||||
</div></form></div></div></body></html>
|
||||
|
Reference in New Issue
Block a user