[freeside-commits] freeside/httemplate/view cust_main.cgi, 1.135.2.2, 1.135.2.3
Ivan,,,
ivan at wavetail.420.am
Fri Feb 18 10:51:42 PST 2011
Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv15990/httemplate/view
Modified Files:
Tag: FREESIDE_2_1_BRANCH
cust_main.cgi
Log Message:
ie-compatibility_mode config, RT#11659
Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main.cgi,v
retrieving revision 1.135.2.2
retrieving revision 1.135.2.3
diff -u -w -d -r1.135.2.2 -r1.135.2.3
--- cust_main.cgi 27 Jan 2011 05:10:11 -0000 1.135.2.2
+++ cust_main.cgi 18 Feb 2011 18:51:40 -0000 1.135.2.3
@@ -1,5 +1,6 @@
<% include('/elements/header.html', {
'title' => $title,
+ 'head' => $head,
'nobr' => 1,
})
%>
@@ -321,4 +322,10 @@
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>
More information about the freeside-commits
mailing list