Tax Inquiry: fixed refrences to non-existing database fields.
[fa-stable.git] / includes / page / header.inc
index 721ba242d258ad3a6cc495054b40a2b170ef3f41..3661c7cf7b1240de475bead083d6fcbfb1bcd170 100644 (file)
@@ -85,7 +85,7 @@ function page_header($title, $no_menu=false, $is_index=false, $onload="", $js=""
 
        $theme = user_theme();
 
-       if ($SysPrefs->help_base_url != null && $SysPrefs->SysPrefs->use_popup_windows && $js == '')
+       if ($SysPrefs->help_base_url != null && $SysPrefs->use_popup_windows && $js == '')
        {
                if (!function_exists('get_js_open_window'))
                {
@@ -127,6 +127,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>";
+       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";