View Single Post
  #2  
Old 12-30-2004, 04:25 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Hi jeanC, those are both in the head.tpl. Remove or comment out these lines of code and you should be all set:

For search, remove this:

Code:
{if $usertype eq "C"} { include file="customer/search.tpl" } {/if}

For languages, remove this:

Code:
{if $usertype eq "C" and $all_languages_numba gt 1} <table border=0 cellpadding=0 cellspacing=0> <FORM action="home.php" method=GET name=sl_form> <INPUT type=hidden name="redirect" value="{$smarty.server.PHP_SELF}?{$smarty.server.QUERY_STRING}"> <tr> <td> {$lng.lbl_select_language}: <SELECT name=sl onChange="javascript: document.sl_form.submit()"> {section name=ai loop=$all_languages} <OPTION value="{$all_languages[ai].code}"{if $store_language eq $all_languages[ai].code} selected{/if}>{$all_languages[ai].language}</OPTION> {/section} </SELECT> </td></tr> </FORM> </table> {elseif ($usertype eq "P" or $usertype eq "A") and $login and $all_languages_numba gt 1} <table border=0 cellpadding=0 cellspacing=0> <FORM action="{$smarty.server.REQUEST_URI}" method=POST name=asl_form> <tr> <td>Current language:</td> <td> <INPUT type=hidden name="redirect" value="{$smarty.server.QUERY_STRING}"> <SELECT name=asl onChange="javascript: document.asl_form.submit()"> {section name=ai loop=$all_languages} <OPTION value="{$all_languages[ai].code}"{if $current_language eq $all_languages[ai].code} selected{/if}>{$all_languages[ai].language}</OPTION> {/section} </SELECT> </td></tr> </FORM> </table> {else} {/if}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote