forked from I2P_Developers/i2p.i2p
Console: Support stuffing form from params on /configreseed
Fix HTML errors
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
<p class="infohelp">
|
<p class="infohelp">
|
||||||
<%=intl._t("Reseeding is the bootstrapping process used to find other routers when you first install I2P, or when your router has too few router references remaining.")%>
|
<%=intl._t("Reseeding is the bootstrapping process used to find other routers when you first install I2P, or when your router has too few router references remaining.")%>
|
||||||
|
</p>
|
||||||
<ol><li>
|
<ol><li>
|
||||||
<%=intl._t("If reseeding has failed, you should first check your network connection.")%>
|
<%=intl._t("If reseeding has failed, you should first check your network connection.")%>
|
||||||
</li><li>
|
</li><li>
|
||||||
@@ -52,45 +53,60 @@
|
|||||||
</li><li>
|
</li><li>
|
||||||
<%=intl._t("See {0} for instructions on reseeding manually.", "<a href=\"https://geti2p.net/faq#manual_reseed\">" + intl._t("the FAQ") + "</a>")%>
|
<%=intl._t("See {0} for instructions on reseeding manually.", "<a href=\"https://geti2p.net/faq#manual_reseed\">" + intl._t("the FAQ") + "</a>")%>
|
||||||
</li></ol>
|
</li></ol>
|
||||||
</p>
|
|
||||||
<h3 class="tabletitle"><%=intl._t("Manual Reseed")%></h3>
|
<h3 class="tabletitle"><%=intl._t("Manual Reseed")%></h3>
|
||||||
|
<form action="" method="POST">
|
||||||
|
<input type="hidden" name="nonce" value="<%=pageNonce%>" >
|
||||||
<table id="manualreseed" class="configtable">
|
<table id="manualreseed" class="configtable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="infohelp" colspan="2">
|
<td class="infohelp" colspan="2">
|
||||||
<%=intl._t("The su3 format is preferred, as it will be verified as signed by a trusted source.")%>
|
<%=intl._t("The su3 format is preferred, as it will be verified as signed by a trusted source.")%>
|
||||||
<%=intl._t("The zip format is unsigned; use a zip file only from a source that you trust.")%>
|
<%=intl._t("The zip format is unsigned; use a zip file only from a source that you trust.")%>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
<tr id="url">
|
||||||
<th colspan="2"><%=intl._t("Reseed from URL")%></th>
|
<th colspan="2"><%=intl._t("Reseed from URL")%></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<form action="" method="POST">
|
|
||||||
<input type="hidden" name="nonce" value="<%=pageNonce%>" >
|
|
||||||
<td>
|
<td>
|
||||||
<b><%=intl._t("Enter zip or su3 URL")%>:</b>
|
<b><%=intl._t("Enter zip or su3 URL")%>:</b>
|
||||||
<input name="url" type="text" size="60" value="" />
|
<%
|
||||||
|
String url = request.getParameter("url");
|
||||||
|
String value = url != null ? "value=\"" + url + '"' : "";
|
||||||
|
%>
|
||||||
|
<input name="url" type="text" size="60" <%=value%> />
|
||||||
</td>
|
</td>
|
||||||
<td class="optionsave">
|
<td class="optionsave">
|
||||||
<input type="submit" name="action" class="download" value="<%=intl._t("Reseed from URL")%>" />
|
<input type="submit" name="action" class="download" value="<%=intl._t("Reseed from URL")%>" />
|
||||||
</td>
|
</td>
|
||||||
</form>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
</table></form>
|
||||||
|
|
||||||
|
<form action="" method="POST" enctype="multipart/form-data" accept-charset="UTF-8">
|
||||||
|
<input type="hidden" name="nonce" value="<%=pageNonce%>" >
|
||||||
|
<table id="manualreseed2" class="configtable">
|
||||||
|
<tr id="file">
|
||||||
<th colspan="2"><%=intl._t("Reseed from File")%></th>
|
<th colspan="2"><%=intl._t("Reseed from File")%></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<form action="" method="POST" enctype="multipart/form-data" accept-charset="UTF-8">
|
|
||||||
<input type="hidden" name="nonce" value="<%=pageNonce%>" >
|
|
||||||
<td>
|
<td>
|
||||||
<b><%=intl._t("Select zip or su3 file")%>:</b>
|
<b><%=intl._t("Select zip or su3 file")%>:</b>
|
||||||
|
<%
|
||||||
|
String file = request.getParameter("file");
|
||||||
|
if (file != null) {
|
||||||
|
%>
|
||||||
|
<input type="text" size="60" name="file" value="<%=file%>">
|
||||||
|
<%
|
||||||
|
} else {
|
||||||
|
%>
|
||||||
<input name="file" type="file" accept=".zip,.su3" value="" />
|
<input name="file" type="file" accept=".zip,.su3" value="" />
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
</td>
|
</td>
|
||||||
<td class="optionsave">
|
<td class="optionsave">
|
||||||
<input type="submit" name="action" class="download" value="<%=intl._t("Reseed from file")%>" />
|
<input type="submit" name="action" class="download" value="<%=intl._t("Reseed from file")%>" />
|
||||||
</td>
|
</td>
|
||||||
</form>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr id="create">
|
||||||
<th colspan="2">
|
<th colspan="2">
|
||||||
<%=intl._t("Create Reseed File")%>
|
<%=intl._t("Create Reseed File")%>
|
||||||
</th>
|
</th>
|
||||||
@@ -101,14 +117,16 @@
|
|||||||
<%=intl._t("This file will never contain your own router's identity or IP.")%>
|
<%=intl._t("This file will never contain your own router's identity or IP.")%>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
</table></form>
|
||||||
|
|
||||||
|
<form action="/createreseed" method="GET">
|
||||||
|
<table id="manualreseed3" class="configtable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="optionsave" colspan="2">
|
<td class="optionsave" colspan="2">
|
||||||
<form action="/createreseed" method="GET">
|
|
||||||
<input type="submit" name="action" class="go" value="<%=intl._t("Create reseed file")%>" />
|
<input type="submit" name="action" class="go" value="<%=intl._t("Create reseed file")%>" />
|
||||||
</form>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table></form>
|
||||||
|
|
||||||
<form action="" method="POST">
|
<form action="" method="POST">
|
||||||
<input type="hidden" name="nonce" value="<%=pageNonce%>" >
|
<input type="hidden" name="nonce" value="<%=pageNonce%>" >
|
||||||
|
Reference in New Issue
Block a user