[interchange-cvs] interchange - thunder modified 3 files
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Fri Jan 9 14:45:27 UTC 2009
User: thunder
Date: 2009-01-09 14:45:27 GMT
Modified: lib/Vend Tag: STABLE_5_6-branch Menu.pm
Modified: dist/standard/include/checkout Tag: STABLE_5_6-branch
Modified: initialization
Modified: dist/lib/UI/pages/admin Tag: STABLE_5_6-branch entry.html
Log:
Additional updates to recognize Opera as DHTML browser. Thanks to Don Hathaway & Steve Graham for patch / pointers.
Revision Changes Path
No revision
No revision
2.51.2.1 interchange/lib/Vend/Menu.pm
rev 2.51.2.1, prev_rev 2.51
Index: Menu.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Menu.pm,v
retrieving revision 2.51
retrieving revision 2.51.2.1
diff -u -r2.51 -r2.51.2.1
--- Menu.pm 11 Apr 2008 09:04:16 -0000 2.51
+++ Menu.pm 9 Jan 2009 14:45:27 -0000 2.51.2.1
@@ -1,6 +1,6 @@
# Vend::Menu - Interchange menu processing routines
#
-# $Id: Menu.pm,v 2.51 2008-04-11 09:04:16 jon Exp $
+# $Id: Menu.pm,v 2.51.2.1 2009-01-09 14:45:27 thunder Exp $
#
# Copyright (C) 2002 Mike Heins, <mike at perusion.net>
#
@@ -21,7 +21,7 @@
package Vend::Menu;
-$VERSION = substr(q$Revision: 2.51 $, 10);
+$VERSION = substr(q$Revision: 2.51.2.1 $, 10);
use Vend::Util;
use strict;
@@ -1801,7 +1801,7 @@
$regex = $::Variable->{MV_DHTML_BROWSER}
and $regex = qr/$regex/;
};
- $regex ||= qr/MSIE [5-9].*Windows|Mozilla.*Gecko/;
+ $regex ||= qr/MSIE [5-9].*Windows|Mozilla.*Gecko|Opera.*[7-9]/;
return $Vend::Session->{browser} =~ $regex;
}
No revision
No revision
1.1.1.1.4.2 interchange/dist/standard/include/checkout/initialization
rev 1.1.1.1.4.2, prev_rev 1.1.1.1.4.1
Index: initialization
===================================================================
RCS file: /var/cvs/interchange/dist/standard/include/checkout/initialization,v
retrieving revision 1.1.1.1.4.1
retrieving revision 1.1.1.1.4.2
diff -u -r1.1.1.1.4.1 -r1.1.1.1.4.2
--- initialization 13 Aug 2008 04:52:30 -0000 1.1.1.1.4.1
+++ initialization 9 Jan 2009 14:45:27 -0000 1.1.1.1.4.2
@@ -2,7 +2,7 @@
## Browser check, standalone so syntax error will not
## kill init code
my $regex = $Variable->{MV_DHTML_BROWSER};
- $regex ||= 'MSIE [5-9].*Windows|Mozilla.*Gecko';
+ $regex ||= 'MSIE [5-9].*Windows|Mozilla.*Gecko|Opera.*[7-9]';
$regex = qr/$regex/;
if($Session->{browser} =~ $regex) {
No revision
No revision
2.19.2.1 interchange/dist/lib/UI/pages/admin/entry.html
rev 2.19.2.1, prev_rev 2.19
Index: entry.html
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/pages/admin/entry.html,v
retrieving revision 2.19
retrieving revision 2.19.2.1
diff -u -r2.19 -r2.19.2.1
--- entry.html 1 Sep 2006 08:04:55 -0000 2.19
+++ entry.html 9 Jan 2009 14:45:27 -0000 2.19.2.1
@@ -67,7 +67,7 @@
## Browser check, standalone so syntax error will not
## kill init code
my $regex = $Variable->{MV_DHTML_BROWSER};
- $regex ||= 'MSIE [5-9].*Windows|Mozilla.*Gecko';
+ $regex ||= 'MSIE [5-9].*Windows|Mozilla.*Gecko|Opera.*[7-9]';
$regex = qr/$regex/;
if($Session->{browser} =~ $regex) {
More information about the interchange-cvs
mailing list