forked from I2P_Developers/i2p.i2p
Allow normal themes to be used with IE >= 10
This commit is contained in:
@ -37,7 +37,7 @@ public class CSSHelper extends HelperBase {
|
|||||||
|
|
||||||
public String getTheme(String userAgent) {
|
public String getTheme(String userAgent) {
|
||||||
String url = BASE_THEME_PATH;
|
String url = BASE_THEME_PATH;
|
||||||
if (userAgent != null && userAgent.contains("MSIE")) {
|
if (userAgent != null && (userAgent.contains("MSIE") && !userAgent.contains("Trident/6"))) {
|
||||||
url += FORCE + "/";
|
url += FORCE + "/";
|
||||||
} else {
|
} else {
|
||||||
// This is the first thing to use _context on most pages
|
// This is the first thing to use _context on most pages
|
||||||
|
@ -36,7 +36,7 @@ input.default {
|
|||||||
<input type="hidden" name="action" value="blah" >
|
<input type="hidden" name="action" value="blah" >
|
||||||
<%
|
<%
|
||||||
String userAgent = request.getHeader("User-Agent");
|
String userAgent = request.getHeader("User-Agent");
|
||||||
if (userAgent == null || !userAgent.contains("MSIE")) {
|
if (userAgent == null || userAgent.contains("Trident/6") || !userAgent.contains("MSIE")) {
|
||||||
%>
|
%>
|
||||||
<jsp:getProperty name="uihelper" property="settings" />
|
<jsp:getProperty name="uihelper" property="settings" />
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
2013-05-30 kytv
|
||||||
|
* Allow themes to be used in IE >= 10
|
||||||
|
|
||||||
2013-05-29 zzz
|
2013-05-29 zzz
|
||||||
* Console: Remove I2PDigestAuthenticator workaround, as Jetty 7.6.11 has the fix
|
* Console: Remove I2PDigestAuthenticator workaround, as Jetty 7.6.11 has the fix
|
||||||
* i2ptunnel: Default to 3 hops (ticket #936)
|
* i2ptunnel: Default to 3 hops (ticket #936)
|
||||||
|
Reference in New Issue
Block a user