v1.1.2
------
+[mms] Make dimp work with IE 8 (uses IE 7 compatibility mode) (requires IMP
+ 4.3.4+).
[mms] Add confirmation box if attempting to send message without subject
(Request #8076).
[mms] Fix address autocomplete display on IE (Bug #7982).
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">' . "\n" .
(!empty($GLOBALS['language']) ? '<html lang="' . strtr($GLOBALS['language'], '_', '-') . '"' : '<html') . ">\n".
- "<head>\n" .
- '<title>' . htmlspecialchars($page_title) . "</title>\n" .
+ "<head>\n";
+
+ // TODO: Make dimp work with IE 8 standards mode
+ if ($GLOBALS['browser']->isBrowser('msie') &&
+ ($GLOBALS['browser']->getMajor() == 8)) {
+ echo '<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />' . "\n";
+ }
+
+ echo '<title>' . htmlspecialchars($page_title) . "</title>\n" .
'<link href="' . $GLOBALS['registry']->getImageDir() . "/favicon.ico\" rel=\"SHORTCUT ICON\" />\n".
IMP::wrapInlineScript(DIMP::_includeDIMPJSVars());
+
IMP::includeStylesheetFiles(true, 'dimp');
echo "</head>\n";
switch ($GLOBALS['browser']->getBrowser()) {
case 'msie':
$ie_major = $GLOBALS['browser']->getMajor();
- if ($ie_major == 7) {
+ // TODO: IE8 specific styling
+ if ($ie_major >= 7) {
$browser_css[] = 'ie7.css';
$browser_css[] = 'ie7-dimp.css';
} elseif ($ie_major < 7) {