source: apps/routerconsole/jsp/xhr1.jsi @ 2bfbcf1a

Last change on this file since 2bfbcf1a was 2bfbcf1a, checked in by zzz <zzz@…>, 21 months ago

jsi whitespace removal

  • Property mode set to 100644
File size: 1.5 KB
Line 
1<%@page import="net.i2p.router.web.helpers.SummaryHelper" %><%
2/*
3 * Note:
4 * This is included on every refresh, so keep whitespace etc. to a minimum.
5 */
6%><jsp:useBean class="net.i2p.router.web.helpers.SummaryHelper" id="helper" scope="request" />
7<jsp:setProperty name="helper" property="contextId" value="<%=i2pcontextId%>" />
8<jsp:setProperty name="helper" property="action" value="<%=request.getParameter(\"action\")%>" />
9<jsp:setProperty name="helper" property="updateNonce" value="<%=request.getParameter(\"updateNonce\")%>" />
10<jsp:setProperty name="helper" property="consoleNonce" value="<%=request.getParameter(\"consoleNonce\")%>" /><%
11    String reqURI = request.getRequestURI();
12    if (reqURI.contains("/xhr1"))
13        reqURI = request.getParameter("requestURI");
14    helper.setRequestURI(reqURI);
15    helper.storeWriter(out);
16    helper.storeNewsHelper(newshelper);
17/*
18 * The following is required for the reseed button to work, although we probably
19 * only need the reseedNonce property.
20 */
21%><jsp:useBean class="net.i2p.router.web.helpers.ReseedHandler" id="reseed" scope="request" />
22<jsp:setProperty name="reseed" property="*" /><%
23/*
24 * The following is required for the update buttons to work, although we probably
25 * only need the updateNonce property.
26 */
27%><jsp:useBean class="net.i2p.router.web.UpdateHandler" id="update" scope="request" />
28<jsp:setProperty name="update" property="*" />
29<jsp:setProperty name="update" property="contextId" value="<%=i2pcontextId%>" /><%
30    // moved to java for ease of translation
31    helper.renderSummaryBar();
32%>
Note: See TracBrowser for help on using the repository browser.