forked from I2P_Developers/i2p.i2p
cleanups
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
<div class="mediumtags">Router Hash:
|
||||
<input type="text" size="55" name="peer" value="<%=peer%>" /></div>
|
||||
<h3>Manually Ban / Unban a Peer</h3>
|
||||
Shitlisting will prevent the participation of this peer in tunnels you create.
|
||||
Banning will prevent the participation of this peer in tunnels you create.
|
||||
<hr />
|
||||
<div class="formaction">
|
||||
<input type="submit" name="action" value="Ban peer until restart" />
|
||||
|
@@ -42,7 +42,6 @@
|
||||
<a href="oldstats.jsp" target="_top" title="Textual router performance statistics.">Stats</a>
|
||||
</td></tr></table>
|
||||
<% } %>
|
||||
|
||||
<hr>
|
||||
<h3><a href="help.jsp" target="_top" title="I2P Router Help.">General</a></h3><hr>
|
||||
<h4>
|
||||
@@ -95,9 +94,10 @@
|
||||
if (helper.showFirewallWarning()) {
|
||||
%><h4><a href="config.jsp" target="_top" title="Help with firewall configuration.">Check NAT/firewall</a></h4><%
|
||||
}
|
||||
boolean reseedInProgress = Boolean.valueOf(System.getProperty("net.i2p.router.web.ReseedHandler.reseedInProgress")).booleanValue();
|
||||
// If showing the reseed link is allowed
|
||||
if (helper.allowReseed()) {
|
||||
if ("true".equals(System.getProperty("net.i2p.router.web.ReseedHandler.reseedInProgress", "false"))) {
|
||||
if (reseedInProgress) {
|
||||
// While reseed occurring, show status message instead
|
||||
out.print("<i>" + System.getProperty("net.i2p.router.web.ReseedHandler.statusMessage","") + "</i><br />");
|
||||
} else {
|
||||
@@ -113,7 +113,7 @@
|
||||
}
|
||||
}
|
||||
// If a new reseed ain't running, and the last reseed had errors, show error message
|
||||
if ("false".equals(System.getProperty("net.i2p.router.web.ReseedHandler.reseedInProgress", "false"))) {
|
||||
if (!reseedInProgress) {
|
||||
String reseedErrorMessage = System.getProperty("net.i2p.router.web.ReseedHandler.errorMessage","");
|
||||
if (reseedErrorMessage.length() > 0) {
|
||||
out.print("<i>" + reseedErrorMessage + "</i><br />");
|
||||
|
Reference in New Issue
Block a user