View Single Post
  #3  
Old 08-31-2005, 03:31 PM
 
gravel gravel is offline
 

Senior Member
  
Join Date: Mar 2004
Posts: 156
 

Default

Thanks Dongan. However, that won't work, because the Thawte seal generator script only works for authorized domains, and if someone is not logged in, they won't be at secure.oursite.com.

I did get this to work:
Code:
{if $smarty.server.HTTPS eq "on"} <p align="center"> {literal} <script src="https://siteseal.thawte.com/cgi/server/thawte_seal_generator.exe"> </script> {/literal} </p> {else} <p align="center"> [img]http://www.oursite.com/store/skin1/images/thawte2ndtier.gif[/img] </p> {/if}

I used the "Register" page as a link because it is the only https page doesn't require the viewer to be logged in.

Well, it works in IE and Firefox. In terms of the code, I was just guessing, so if anyone sees a better way to code this, that would be great.
__________________
X-Cart version 4.0.17
X-Cart version 4.0.18
Web servers = Apache
OS = Linux
Reply With Quote