- Rename cssHelper to intl for ease of tagging

- configui.jsp post-prop fixup
This commit is contained in:
zzz
2009-10-23 13:55:44 +00:00
parent 9cbf9d0422
commit a5cd0bdd3f
24 changed files with 122 additions and 107 deletions

View File

@ -4,11 +4,11 @@
<html><head>
<%@include file="css.jsp" %>
<%=cssHelper.title("config keyring")%>
<%=intl.title("config keyring")%>
</head><body>
<%@include file="summary.jsp" %>
<h1><%=cssHelper._("I2P Keyring Configuration")%></h1>
<h1><%=intl._("I2P Keyring Configuration")%></h1>
<div class="main" id="main">
<%@include file="confignav.jsp" %>
@ -18,9 +18,9 @@
<jsp:getProperty name="formhandler" property="allMessages" />
<jsp:useBean class="net.i2p.router.web.ConfigKeyringHelper" id="keyringhelper" scope="request" />
<jsp:setProperty name="keyringhelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
<div class="configure"><h2><%=cssHelper._("Keyring")%></h2><p>
<%=cssHelper._("The router keyring is used to decrypt encrypted leaseSets.")%>
<%=cssHelper._("The keyring may contain keys for local or remote encrypted destinations.")%></p>
<div class="configure"><h2><%=intl._("Keyring")%></h2><p>
<%=intl._("The router keyring is used to decrypt encrypted leaseSets.")%>
<%=intl._("The keyring may contain keys for local or remote encrypted destinations.")%></p>
<div class="wideload"><p>
<jsp:getProperty name="keyringhelper" property="summary" />
</p></div>
@ -30,16 +30,16 @@
if (prev != null) System.setProperty("net.i2p.router.web.ConfigKeyringHandler.noncePrev", prev);
System.setProperty("net.i2p.router.web.ConfigKeyringHandler.nonce", new java.util.Random().nextLong()+""); %>
<input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigKeyringHandler.nonce")%>" />
<h3><%=cssHelper._("Manual Keyring Addition")%></h3><p>
<%=cssHelper._("Enter keys for encrypted remote destinations here.")%>
<h3><%=intl._("Manual Keyring Addition")%></h3><p>
<%=intl._("Enter keys for encrypted remote destinations here.")%>
Keys for local destinations must be entered on the <a href="i2ptunnel/index.jsp">I2PTunnel page</a>.
</p>
<div class="wideload">
<p><table><tr>
<td class="mediumtags" align="right"><%=cssHelper._("Dest. name, hash, or full key")%>:</td>
<td class="mediumtags" align="right"><%=intl._("Dest. name, hash, or full key")%>:</td>
<td><textarea name="peer" cols="44" rows="1" style="height: 3em;" wrap="off"></textarea></td>
</tr><tr>
<td class="mediumtags" align="right"><%=cssHelper._("Encryption Key")%>:</td>
<td class="mediumtags" align="right"><%=intl._("Encryption Key")%>:</td>
<td><input type="text" size="55" name="key" /></td>
</tr><tr>
<td align="right" colspan="2"><input type="submit" name="action" value="Add key" />