View Single Post
  #1  
Old 04-13-2005, 02:52 PM
 
sbtiti sbtiti is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 32
 

Default How do I remove the "Select Laungauge" dropdown?

Is there a checkbox in the admin panel or do I need to edit home.tpl?

I see this code in it, but am unsure how much to take out:

Code:
<TABLE border="0" cellpadding="0" cellspacing="0"><TR> <TD valign="top"> {if ($usertype eq "C" || $usertype eq "B")and $all_languages_cnt gt 1} <TABLE border="0" cellpadding="4" 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><FONT class="SelectLanguage">{$lng.lbl_select_language}:</FONT><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> {else} {/if} </TD> <TD>[img]{$ImagesDir}/spacer.gif[/img]</TD> </TR></TABLE>
__________________
Version 4.0.9
Reply With Quote