RE: Hide an infobox when secure or unsecure

Daemonj <[email protected]> 28 Aug 2003 02:01:55 -0000
Newsgroups gmane.comp.web.oscommerce.tips
Message-ID <100d33f41bb53747a5b680861b7a3e33@osCommerce-Forums>
This message was sent from: Tips and Tricks
http://forums.oscommerce.com/viewtopic.php?p=220748#220748
----------------------------------------------------------------

Bob,

You would need to add something like:
[code]<td><?php echo (($request_type != 'SSL') ? tep_image('images/non_secure.gif', 'Unsecure connection') : tep_image('images/secure.gif', 'Secure connection')); ?></td>
[/code]
in the header and that should do it for you. ;)