projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
bc3bd9d
)
IE 11 doesn't work with input file type in forms. Fixed.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Tue, 28 Apr 2015 14:20:06 +0000
(16:20 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Tue, 28 Apr 2015 14:20:06 +0000
(16:20 +0200)
includes/page/header.inc
patch
|
blob
|
history
diff --git
a/includes/page/header.inc
b/includes/page/header.inc
index 7dd84b6525b66089b3fdbe1a91bbc99a86e0644d..147b3293fd49662ac4fb7820f7373bf725bb7ac8 100644
(file)
--- a/
includes/page/header.inc
+++ b/
includes/page/header.inc
@@
-126,6
+126,8
@@
function page_header($title, $no_menu=false, $is_index=false, $onload="", $js=""
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n";
echo "<html dir='" . $_SESSION['language']->dir . "' >\n";
echo "<head profile=\"http://www.w3.org/2005/10/profile\"><title>$title</title>";
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n";
echo "<html dir='" . $_SESSION['language']->dir . "' >\n";
echo "<head profile=\"http://www.w3.org/2005/10/profile\"><title>$title</title>";
+ if (strpos($_SERVER['HTTP_USER_AGENT'], 'Trident/7.0; rv:11.0') != -1) // IE 11 doesn't work with input file type in form.
+ echo "<meta http-equiv='X-UA-Compatible' content='IE=10'>\n";
echo "<meta http-equiv='Content-type' content='text/html; charset=$encoding'>";
echo "<link href='$path_to_root/themes/$theme/default.css' rel='stylesheet' type='text/css'> \n";
echo "<link href='$path_to_root/themes/default/images/favicon.ico' rel='icon' type='image/x-icon'> \n";
echo "<meta http-equiv='Content-type' content='text/html; charset=$encoding'>";
echo "<link href='$path_to_root/themes/$theme/default.css' rel='stylesheet' type='text/css'> \n";
echo "<link href='$path_to_root/themes/default/images/favicon.ico' rel='icon' type='image/x-icon'> \n";