View Single Post
  #3  
Old 12-07-2006, 05:32 PM
  HWT's Avatar 
HWT HWT is offline
 

eXpert
  
Join Date: Jan 2005
Location: Massachusetts, USA
Posts: 392
 

Default Re: if statement for excluding an item from https pages

Thanks for taking a look. The link is:

https://www.heirloomwoodentoys.com/register.php

since I use ezcheckout, which breaks the cart out of home.tpl, I don't have this issue anywhere else. Yes, a small issue, but I consider any security error on my site to be a bad thing.

All the stuff on the lower right - shopping.com rating, BBB, and Geotrust images are all called from a .tpl I made called trust.tpl, which is called in home.tpl. I was trying to make it so only the shopping.com was omitted from the https pages.

trust.tpl:

Code:
<p align="center"> {if $smarty.server.HTTPS eq "on"} {else} <a href="http://www.shopping.com/xMR-Direct 2 You~MRD-xxxxxx~S-1" > <img src="http://www.shopping.com/merchant_logo?ID=xxxxxxx" width="120" height="49" border="0"alt="Read Your Store Reviews" /></a><br> {/if} <br> <a href="http://www.bbbonline.org/cks.asp?id=xxxxxxxxxxxxxxxxxxxxx"> <img src="{$ImagesDir}/bbb.gif" width="120" height="240" border="0"></a> <br> <br> {literal} <!-- GeoTrust QuickSSL [tm] Smart Icon tag. Do not edit. --> <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript" SRC="//smarticon.geotrust.com/si.js"></SCRIPT> <!-- end GeoTrust Smart Icon tag --> {/literal} <br> <a href="http://www.shopping.com/xDN-Toys" ><img src="https://sc.dealtime.com/cctool/files/spacer.gif" width="1" height="1" border="0"alt="" /></a></p>
__________________
x-cart 4.0.13 and 4.1.7 and 4.1.10
Reply With Quote