login | register
Tue 18 of Nov, 2008 (09:31 UTC)

bitweaver - Web Application Framework and CMS

Web Application Framework and CMS

Refresh cache

In Smarty, how do I check what browser is being used?

by Stephan Borg
Friday 01 of July, 2005
Posted to Developer's FAQ
Here is a code sample for your .tpl:

{if $gBitLoc.browser.client eq 'mz' or $gBitLoc.browser.client eq 'ie'}
    This browser is IE or Mozilla based!
{/if}


the end.

Comments