View Single Post
  #1  
Old 05-02-2007, 06:09 AM
 
robidigital robidigital is offline
 

Member
  
Join Date: Aug 2004
Posts: 23
 

Default IF Statement for HTTPS/HTTP

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}
__________________
Ryan Robillard
www.RobiDigital.com
Hagerstown, Boonsboro, Frederick, MD web site design, development and graphic design

X-Cart v4.4.2 Gold
Reply With Quote