View Single Post
  #6  
Old 10-24-2005, 06:24 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

Quote:
Originally Posted by gravel
Really excellent, Shan. Thanks. I used the following code:

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> {/if}

A further question: Thawte will let me load a SecondTier Seal image on the other pages. (We could also have it hyperlinked to our "secure pages" but since they only happen when someone logs in, I don't think that is possible.) Is it possible to modify your code so that if it isn't https, it will load an image in the same spot?

just do this

Code:
{if $smarty.server.HTTPS eq "on"} add https image here {else} Add http image here {/if}

or just use

Code:
{if $smarty.server.HTTPS ne "on"} add http image here {/if}
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote