Changeset 535c782


Ignore:
Timestamp:
May 30, 2013 1:39:07 AM (7 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
3a707a14, b426406
Parents:
3d42946
Message:

Allow normal themes to be used with IE ≥ 10

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/CSSHelper.java

    r3d42946 r535c782  
    3838    public String getTheme(String userAgent) {
    3939        String url = BASE_THEME_PATH;
    40         if (userAgent != null && userAgent.contains("MSIE")) {
     40        if (userAgent != null && (userAgent.contains("MSIE") && !userAgent.contains("Trident/6"))) {
    4141            url += FORCE + "/";
    4242        } else {
  • apps/routerconsole/jsp/configui.jsp

    r3d42946 r535c782  
    3737<%
    3838 String userAgent = request.getHeader("User-Agent");
    39  if (userAgent == null || !userAgent.contains("MSIE")) {
     39 if (userAgent == null || userAgent.contains("Trident/6") || !userAgent.contains("MSIE")) {
    4040%>
    4141 <jsp:getProperty name="uihelper" property="settings" />
  • history.txt

    r3d42946 r535c782  
     12013-05-30 kytv
     2 * Allow themes to be used in IE >= 10
     3
    142013-05-29 zzz
    25 * Console: Remove I2PDigestAuthenticator workaround, as Jetty 7.6.11 has the fix
Note: See TracChangeset for help on using the changeset viewer.