2017-12-01 14:07:29 +00:00
|
|
|
<%@page import="net.i2p.router.web.helpers.SummaryHelper" %>
|
2012-06-05 12:44:17 +00:00
|
|
|
<%
|
|
|
|
/*
|
|
|
|
* Note:
|
|
|
|
* This is included on every refresh, so keep whitespace etc. to a minimum.
|
|
|
|
*/
|
|
|
|
%>
|
2017-12-01 14:07:29 +00:00
|
|
|
<jsp:useBean class="net.i2p.router.web.helpers.SummaryHelper" id="helper" scope="request" />
|
2018-07-28 19:03:01 +00:00
|
|
|
<jsp:setProperty name="helper" property="contextId" value="<%=i2pcontextId%>" />
|
2012-03-04 02:48:47 +00:00
|
|
|
<jsp:setProperty name="helper" property="action" value="<%=request.getParameter(\"action\")%>" />
|
|
|
|
<jsp:setProperty name="helper" property="updateNonce" value="<%=request.getParameter(\"updateNonce\")%>" />
|
|
|
|
<jsp:setProperty name="helper" property="consoleNonce" value="<%=request.getParameter(\"consoleNonce\")%>" />
|
2012-01-25 02:38:49 +00:00
|
|
|
<%
|
|
|
|
String reqURI = request.getRequestURI();
|
2012-06-12 00:12:51 +00:00
|
|
|
if (reqURI.contains("/xhr1"))
|
|
|
|
reqURI = request.getParameter("requestURI");
|
2012-01-25 02:38:49 +00:00
|
|
|
helper.setRequestURI(reqURI);
|
|
|
|
%>
|
2012-06-05 12:44:17 +00:00
|
|
|
<% helper.storeWriter(out); %>
|
|
|
|
<% helper.storeNewsHelper(newshelper); %>
|
|
|
|
<%
|
|
|
|
/*
|
|
|
|
* The following is required for the reseed button to work, although we probably
|
|
|
|
* only need the reseedNonce property.
|
|
|
|
*/
|
|
|
|
%>
|
2017-12-01 14:07:29 +00:00
|
|
|
<jsp:useBean class="net.i2p.router.web.helpers.ReseedHandler" id="reseed" scope="request" />
|
2012-06-05 12:44:17 +00:00
|
|
|
<jsp:setProperty name="reseed" property="*" />
|
2012-05-31 09:30:30 +00:00
|
|
|
<%
|
2012-06-05 12:44:17 +00:00
|
|
|
/*
|
|
|
|
* The following is required for the update buttons to work, although we probably
|
|
|
|
* only need the updateNonce property.
|
|
|
|
*/
|
2012-05-31 09:30:30 +00:00
|
|
|
%>
|
2012-06-05 12:44:17 +00:00
|
|
|
<jsp:useBean class="net.i2p.router.web.UpdateHandler" id="update" scope="request" />
|
|
|
|
<jsp:setProperty name="update" property="*" />
|
2018-07-28 19:03:01 +00:00
|
|
|
<jsp:setProperty name="update" property="contextId" value="<%=i2pcontextId%>" />
|
2012-05-31 09:30:30 +00:00
|
|
|
<%
|
2012-06-05 12:44:17 +00:00
|
|
|
// moved to java for ease of translation
|
|
|
|
helper.renderSummaryBar();
|
2012-05-31 09:30:30 +00:00
|
|
|
%>
|