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