Attach is my IE11 patch.
Please test it.
-=-=-=-=-
Hiromi KIMURA http://www.tac.tsukuba.ac.jp/~hiromi/
--- Horde/Browser.php.orig 2013-11-05 14:15:54.000000000 +0900
+++ Horde/Browser.php 2013-11-13 12:04:55.000000000 +0900
@@ -358,6 +358,27 @@
$this->setFeature('javascript', false);
$this->setQuirk('avoid_popup_windows');
$this->setMobile(true);
+
+ } elseif (preg_match('|Windows NT [0-9.]+.*Trident/7.*rv:([0-9.]+)|', $agent, $version)) {
+ /* IE11 */
+ list($this->_majorVersion, $this->_minorVersion) = explode('.', $version[1]);
+ $this->setBrowser('msie');
+ $this->setQuirk('cache_ssl_downloads');
+ $this->setQuirk('cache_same_url');
+ $this->setQuirk('break_disposition_filename');
+ $this->setFeature('javascript', 1.4);
+ $this->setFeature('ajax');
+ $this->setFeature('dom');
+ $this->setFeature('iframes');
+ $this->setFeature('utf');
+ $this->setFeature('rte');
+ $this->setFeature('homepage');
+ $this->setFeature('accesskey');
+ $this->setFeature('optgroup');
+ $this->setFeature('xmlhttpreq');
+ $this->setFeature('dataurl', true);
+ $this->setFeature('cite');
+
} elseif ((preg_match('|MSIE ([0-9.]+)|', $agent, $version)) ||
(preg_match('|Internet Explorer/([0-9.]+)|', $agent, $version))) {
$this->setBrowser('msie');
--- Horde/PageOutput.php.orig 2013-11-05 14:15:54.000000000 +0900
+++ Horde/PageOutput.php 2013-11-13 11:57:36.000000000 +0900
@@ -639,6 +639,12 @@
{
global $injector, $language, $registry, $session;
+ /* IE11 */
+ if($GLOBALS['browser']->isBrowser('msie') &&
+ $GLOBALS['browser']->getMajor() == 11){
+ $this->addMetaTag('X-UA-Compatible','IE=EmulateIE10',true);
+ }
+
$view = new Horde_View(array(
'templatePath' => $registry->get('templates', 'horde') . '/common'
));
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]