" />
<%
java.io.File newspath = new java.io.File(net.i2p.I2PAppContext.getGlobalContext().getRouterDir(), "docs/news.xml");
%>
<%
// The refresh delay, 0 to disable
String d = "0";
boolean allowIFrame = intl.allowIFrame(request.getHeader("User-Agent"));
if (allowIFrame) {
// skip the iframe if refresh disabled
d = request.getParameter("refresh");
String newDelay = "";
if (d == null || "".equals(d))
d = intl.getRefresh();
else {
d = net.i2p.data.DataHelper.stripHTML(d); // XSS
// pass the new delay parameter to the iframe
newDelay = "?refresh=" + d;
}
if (!"0".equals(d))
out.print("\n");
}
%>
<%
if (allowIFrame) {
// Display the whole summary bar
%>
<%@include file="summarynoframe.jsi" %>
<%
} else {
// Text browsers don't render the two divs side-by-side, so just provide a link
out.print("");
out.print(intl._("Summary Bar"));
out.print("");
}
// d and allowIFrame defined above
if (!"0".equals(d)) {
out.print("
\n");
} else if (allowIFrame) {
// since we don't have an iframe this will reload the base page, and
// the new delay will be passed to the iframe above
out.print("