I know in 4.1.3, you can use:
Code:
{if $smarty.server.HTTPS ne "on"}<img src="http://www.othersitewithnohttps.com/graphic.gif">{/if}
I'm not sure if it's different for your version or not.
Quote:
Originally Posted by robidigital
Does anyone know of an IF statement that I could use in my template files to display a piece of code only if the site is not in https? For example
Code:
{if $site_secure_or_not == "http://"}
<img src="http://www.othersitewithnohttps.com/graphic.gif">
{/if}
|