source: apps/routerconsole/jsp/configui.jsp @ 8e38047

Last change on this file since 8e38047 was 8e38047, checked in by zzz <zzz@…>, 12 years ago

add a msg for IE ppl

  • Property mode set to 100644
File size: 1.8 KB
Line 
1<%@page contentType="text/html"%>
2<%@page pageEncoding="UTF-8"%>
3<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
5<html><head>
6<title>I2P Router Console - config UI</title>
7<%@include file="css.jsp" %>
8</head><body>
9
10<%@include file="summary.jsp" %>
11
12<jsp:useBean class="net.i2p.router.web.ConfigUIHelper" id="uihelper" scope="request" />
13<jsp:setProperty name="uihelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
14
15<h1>I2P UI Configuration</h1>
16<div class="main" id="main">
17
18 <%@include file="confignav.jsp" %>
19 
20 <jsp:useBean class="net.i2p.router.web.ConfigUIHandler" id="formhandler" scope="request" />
21 <jsp:setProperty name="formhandler" property="*" />
22 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
23 <jsp:getProperty name="formhandler" property="allMessages" />
24<div class="configure">
25<h3>Router Console Theme</h3>
26<%
27 // userAgent defined in confignav
28 if (userAgent == null || !userAgent.contains("MSIE")) {
29%>
30 <form action="configui.jsp" method="POST">
31 <% String prev = System.getProperty("net.i2p.router.web.ConfigUIHandler.nonce");
32    if (prev != null) System.setProperty("net.i2p.router.web.ConfigUIHandler.noncePrev", prev);
33    System.setProperty("net.i2p.router.web.ConfigUIHandler.nonce", new java.util.Random().nextLong()+""); %>
34 <input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigUIHandler.nonce")%>" />
35 <input type="hidden" name="action" value="blah" />
36 <jsp:getProperty name="uihelper" property="settings" />
37<hr>   
38<input type="submit" name="shouldsave" value="Apply" /> <input type="reset" value="Cancel" />
39</form>
40<% } else { %>
41Theme selection disabled for Internet Explorer, sorry.
42<% } %>
43</div>
44</div>
45</body>
46</html>
Note: See TracBrowser for help on using the repository browser.