View Single Post
  #3  
Old 06-23-2006, 09:37 PM
 
Eddie Hillegers Eddie Hillegers is offline
 

Advanced Member
  
Join Date: Feb 2003
Posts: 47
 

Default

I thought about commenting it out but that doesn,t get rid of the
no javascript messages in the productpages, that's where i tell them
how to switch on javascript. so just to be absolutely sure "if there is
somebody out there who switched of javascript" i did this
in auth.tpl and authbox.tpl


Code:
{if $usertype eq "C"} <TR> <TD class="VertMenuItems" colspan="2" align="right"> {if $js_enabled} {else} {$lng.txt_javascript_enabled} {/if} </TD> </TR> {/if}

that way it only shows up when javascript is switched off.

Cheers Eddie
__________________
X-cart 4.1.11
PHP 5.2.0
MySQL 5.0
www.ebonist.nl
Reply With Quote