View Single Post
  #1  
Old 03-25-2004, 11:45 PM
 
andyng andyng is offline
 

Senior Member
  
Join Date: Mar 2004
Posts: 151
 

Default How to remove Current Language selection in top menu

Hi,

Any body know how to remove Current Language Selection in top menu under skin1.css --> head.tpl?

Since I am not a programmer and I have tried to remove some statements inside the head.tpl but not working. The code is shown as below:-

Code:
{* $Id: head.tpl,v 1.30.2.2 2004/01/09 13:29:52 svowl Exp $ *} <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD width=27></TD> <TD>[img]{$ImagesDir}/xlogo.gif[/img]</TD> <TD valign=top align=right> {if $usertype eq "C"} {include file="customer/top_menu.tpl"} {/if} </TD></TR> </TABLE> <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD colspan=2 class=VertMenuBorder>[img]{$ImagesDir}/spacer.gif[/img]</TD> </TR> <TR> <TD class=HeadLine height=22> {if $usertype eq "C"} { include file="customer/search.tpl" } {/if} </TD> <TD class=HeadLine align=right> {if $usertype eq "C"} <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} {else} {/if} </TD> </TR> <TR> <TD colspan=2 class=VertMenuBorder>[img]{$ImagesDir}/spacer.gif[/img]</TD> </TR> {*<TR> <TD colspan=2 class=NumberOfArticles align=right>{insert name="productsonline"} {$lng.lbl_products} {if $config.Appearance.show_in_stock eq "Y"}{$lng.lbl_and} {insert name="itemsonline"} {$lng.lbl_items} {/if}{$lng.lbl_online}</TD> </TR>*} </TABLE>


Please shown me which statements should I remove to make it works.

Thanks!

Andy

X-cart 3.5.4.
Reply With Quote