From: Joe Hunt Date: Tue, 28 Apr 2015 14:20:06 +0000 (+0200) Subject: IE 11 doesn't work with input file type in forms. Fixed. X-Git-Tag: 2.3-final~50 X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=a8b5d60413ff06dd098b58ae6119f085d3c9ea8b IE 11 doesn't work with input file type in forms. Fixed. --- diff --git a/includes/page/header.inc b/includes/page/header.inc index 7dd84b65..147b3293 100644 --- 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 "\n"; echo "dir . "' >\n"; echo "$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 "\n"; echo ""; echo " \n"; echo " \n";