
* Implemented the news fetch / update policy code, as configurated on /configupdate.jsp. Defaults are to grab the news every 24h (or if it doesn't exist yet, on startup). No action is taken however, though if the news.xml specifies that a new release is available, an option to update will be shown on the router console. * New initialNews.xml delivered with new installs, and moved news.xml out of the i2pwww module and into the i2p module so that we can bundle it within each update.
29 lines
1020 B
Plaintext
29 lines
1020 B
Plaintext
<%@page contentType="text/html"%>
|
|
<%@page pageEncoding="UTF-8"%>
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<html><head>
|
|
<title>I2P Router Console - home</title>
|
|
<link rel="stylesheet" href="default.css" type="text/css" />
|
|
</head><body>
|
|
|
|
<%@include file="nav.jsp" %>
|
|
<%@include file="summary.jsp" %>
|
|
|
|
<div class="news" id="news">
|
|
<jsp:useBean class="net.i2p.router.web.ContentHelper" id="newshelper" scope="request" />
|
|
<jsp:setProperty name="newshelper" property="page" value="docs/news.xml" />
|
|
<jsp:setProperty name="newshelper" property="maxLines" value="300" />
|
|
<jsp:getProperty name="newshelper" property="content" />
|
|
</div>
|
|
|
|
<div class="main" id="main">
|
|
<jsp:useBean class="net.i2p.router.web.ContentHelper" id="contenthelper" scope="request" />
|
|
<jsp:setProperty name="contenthelper" property="page" value="docs/readme.html" />
|
|
<jsp:setProperty name="contenthelper" property="maxLines" value="300" />
|
|
<jsp:getProperty name="contenthelper" property="content" />
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|