forked from I2P_Developers/i2p.i2p
* Console:
- Parameterize download button tags (ticket #425) - Clean up summary bar HTML warnings - Just display a summary bar link for text browsers - Move welcome div from the readme files to index.jsp - Require a nonce to change language
This commit is contained in:
@@ -15,7 +15,9 @@
|
||||
String action = request.getParameter("action");
|
||||
String d = request.getParameter("refresh");
|
||||
// Normal browsers send value, IE sends button label
|
||||
boolean shutdownSoon = "shutdownImmediate".equals(action) || "restartImmediate".equals(action) ||
|
||||
boolean allowIFrame = intl.allowIFrame(request.getHeader("User-Agent"));
|
||||
boolean shutdownSoon = (!allowIFrame) ||
|
||||
"shutdownImmediate".equals(action) || "restartImmediate".equals(action) ||
|
||||
"Shutdown immediately".equals(action) || "Restart immediately".equals(action);
|
||||
if (!shutdownSoon) {
|
||||
if (d == null || "".equals(d)) {
|
||||
|
Reference in New Issue
Block a user