drop nav.jsp

This commit is contained in:
zzz
2009-07-17 16:55:00 +00:00
parent 70a17ecfaf
commit efd6dcc8df
23 changed files with 2 additions and 58 deletions

View File

@ -14,13 +14,12 @@ if (System.getProperty("router.consoleNonce") == null) {
}
%>
<%@include file="nav.jsp" %>
<%@include file="summary.jsp" %>
<h1>I2P Router Console</h1>
<div class="news" id="news">
<jsp:useBean class="net.i2p.router.web.ContentHelper" id="newshelper" scope="request" />
<% File fpath = new java.io.File(net.i2p.I2PAppContext.getGlobalContext().getRouterDir(), "docs/news.xml"); %>
<% java.io.File fpath = new java.io.File(net.i2p.I2PAppContext.getGlobalContext().getRouterDir(), "docs/news.xml"); %>
<jsp:setProperty name="newshelper" property="page" value="<%=fpath.getAbsolutePath()%>" />
<jsp:setProperty name="newshelper" property="maxLines" value="300" />
<jsp:getProperty name="newshelper" property="content" />