IE6 gets traditional interface.
authorJan Schneider <jan@horde.org>
Mon, 7 Dec 2009 18:34:44 +0000 (19:34 +0100)
committerJan Schneider <jan@horde.org>
Mon, 7 Dec 2009 18:34:44 +0000 (19:34 +0100)
kronolith/index.php

index e9ec93f..5805863 100644 (file)
@@ -9,7 +9,8 @@
 require_once dirname(__FILE__) . '/lib/base.php';
 
 /* Load traditional interface? */
-if (!$prefs->getValue('dynamic_view') || !$browser->hasFeature('xmlhttpreq')) {
+if (!$prefs->getValue('dynamic_view') || !$browser->hasFeature('xmlhttpreq') ||
+    ($browser->isBrowser('msie') && $browser->getMajor() <= 6)) {
     include KRONOLITH_BASE . '/' . $prefs->getValue('defaultview') . '.php';
     exit;
 }