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}