- Rename cssHelper to intl for ease of tagging
- configui.jsp post-prop fixup
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
|
||||
<html><head>
|
||||
<%@include file="css.jsp" %>
|
||||
<%=cssHelper.title("config stats")%>
|
||||
<%=intl.title("config stats")%>
|
||||
<script type="text/javascript">
|
||||
function init()
|
||||
{
|
||||
@ -53,7 +53,7 @@ function toggleAll(category)
|
||||
</script>
|
||||
</head><body onLoad="init();">
|
||||
<%@include file="summary.jsp" %>
|
||||
<h1><%=cssHelper._("I2P Stats Configuration")%></h1>
|
||||
<h1><%=intl._("I2P Stats Configuration")%></h1>
|
||||
<div class="main" id="main">
|
||||
<%@include file="confignav.jsp" %>
|
||||
|
||||
@ -71,13 +71,13 @@ function toggleAll(category)
|
||||
System.setProperty("net.i2p.router.web.ConfigStatsHandler.nonce", new java.util.Random().nextLong()+""); %>
|
||||
<input type="hidden" name="action" value="foo" />
|
||||
<input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigStatsHandler.nonce")%>" />
|
||||
<h3><%=cssHelper._("Configure I2P Stat Collection")%></h3>
|
||||
<p><%=cssHelper._("Enable full stats?")%>
|
||||
<h3><%=intl._("Configure I2P Stat Collection")%></h3>
|
||||
<p><%=intl._("Enable full stats?")%>
|
||||
<input type="checkbox" class="optbox" name="isFull" value="true" <%
|
||||
if (statshelper.getIsFull()) { %>checked="true" <% } %>/>
|
||||
(<%=cssHelper._("change requires restart to take effect")%>)<br>
|
||||
<%=cssHelper._("Stat file")%>: <input type="text" name="filename" value="<%=statshelper.getFilename()%>" /><br>
|
||||
<%=cssHelper._("Filter")%>: (<a href="javascript: void(null);" onclick="toggleAll('*')"><%=cssHelper._("toggle all")%></a>)<br></p>
|
||||
(<%=intl._("change requires restart to take effect")%>)<br>
|
||||
<%=intl._("Stat file")%>: <input type="text" name="filename" value="<%=statshelper.getFilename()%>" /><br>
|
||||
<%=intl._("Filter")%>: (<a href="javascript: void(null);" onclick="toggleAll('*')"><%=intl._("toggle all")%></a>)<br></p>
|
||||
<div class="wideload">
|
||||
<p><table>
|
||||
<% while (statshelper.hasMoreStats()) {
|
||||
@ -85,11 +85,11 @@ function toggleAll(category)
|
||||
<tr class="tablefooter">
|
||||
<td align="left" colspan="3">
|
||||
<b><%=statshelper.getCurrentGroupName()%></b>
|
||||
(<a href="javascript: void(null);" onclick="toggleAll('<%=statshelper.getCurrentGroupName()%>')"><%=cssHelper._("toggle all")%></a>)
|
||||
(<a href="javascript: void(null);" onclick="toggleAll('<%=statshelper.getCurrentGroupName()%>')"><%=intl._("toggle all")%></a>)
|
||||
</td></tr>
|
||||
<tr class="tablefooter">
|
||||
<td align="center"><b><%=cssHelper._("Log")%></b></td>
|
||||
<td align="center"><b><%=cssHelper._("Graph")%></b></td>
|
||||
<td align="center"><b><%=intl._("Log")%></b></td>
|
||||
<td align="center"><b><%=intl._("Graph")%></b></td>
|
||||
<td></td></tr>
|
||||
<%
|
||||
} // end iterating over required groups for the current stat %>
|
||||
@ -106,7 +106,7 @@ function toggleAll(category)
|
||||
} // end iterating over all stats %>
|
||||
<tr><td colspan="3"></td></tr>
|
||||
<tr><td align="center"><input type="checkbox" class="optbox" name="explicitFilter" /></td>
|
||||
<td colspan="2"><%=cssHelper._("Advanced filter")%>:
|
||||
<td colspan="2"><%=intl._("Advanced filter")%>:
|
||||
<input type="text" name="explicitFilterValue" value="<%=statshelper.getExplicitFilter()%>" size="40" /></td></tr>
|
||||
<tr class="tablefooter"><td colspan="3" align="right"><input type="submit" name="shouldsave" value="Save changes" /><input type="reset" value="Cancel" /></td></tr>
|
||||
</table></p></div></form></div></div></body></html>
|
||||
|
Reference in New Issue
Block a user