summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main.cgi
diff options
context:
space:
mode:
authorivan <ivan>2011-02-18 18:51:39 +0000
committerivan <ivan>2011-02-18 18:51:39 +0000
commit60f799ab3b8458dcd88d1c5a9dd2f75581fcbbd5 (patch)
treed12cf61586f00c0446012464b2401b6b2e054df8 /httemplate/view/cust_main.cgi
parentb49c1bd5510a5f10b05bffacc6cc8b6a1b2153e8 (diff)
ie-compatibility_mode config, RT#11659
Diffstat (limited to 'httemplate/view/cust_main.cgi')
-rwxr-xr-xhttemplate/view/cust_main.cgi7
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
index e6db0a6c1..671aba72f 100755
--- a/httemplate/view/cust_main.cgi
+++ b/httemplate/view/cust_main.cgi
@@ -1,5 +1,6 @@
<% include('/elements/header.html', {
'title' => $title,
+ 'head' => $head,
'nobr' => 1,
})
%>
@@ -321,4 +322,10 @@ my %viewname = reverse %views;
my $view = $cgi->param('show') || $curuser->default_customer_view;
+my $ie_compat = $conf->config('ie-compatibility_mode');
+my $head = '';
+if ( $ie_compat ) {
+ $head = qq(<meta http-equiv="X-UA-Compatible" content="IE=$ie_compat" />);
+}
+
</%init>