Return to zogiLib.py CVS log | Up to [Repository] / zogiLib |
version 1.50, 2004/10/27 09:08:03 | version 1.51, 2004/10/27 11:35:44 |
---|---|
Line 48 def browserCheck(self): | Line 48 def browserCheck(self): |
bt = {} | bt = {} |
ua = self.REQUEST.get_header("HTTP_USER_AGENT") | ua = self.REQUEST.get_header("HTTP_USER_AGENT") |
bt['ua'] = ua | bt['ua'] = ua |
bt['isIE'] = False | |
bt['isN4'] = False | |
if string.find(ua, 'MSIE') > -1: | if string.find(ua, 'MSIE') > -1: |
bt['isIE'] = True | bt['isIE'] = True |
else: | else: |