In Smarty, how do I check what browser is being used?
Here is a code sample for your .tpl:
the end.
<?php
{if $gBitLoc.browser.client eq 'mz' or $gBitLoc.browser.client eq 'ie'}
This browser is IE or Mozilla based!
{/if}
?>
the end.
Comments
Browser name & version
;)