Jump to content

[resolved] bad url language and meta Title


Recommended Posts

<!-- Block languages module -->
{if count($languages) > 1}
<div id="languages_block_top">
   <div id="countries">
   {* @todo fix display current languages, removing the first foreach loop *}
{foreach from=$languages key=k item=language name="languages"}
   {if $language.iso_code == $lang_iso}
    <p class="selected_language">
	    <img src="{$img_lang_dir}{$language.id_lang}.jpg" alt="{$language.iso_code}" height="11" width="16">
    </p>
   {/if}
{/foreach}
    <ul id="first-languages" class="countries_ul">
    {foreach from=$languages key=k item=language name="languages"}
	    <li {if="" $language.iso_code="=" $lang_iso}class="selected_language" {="" if}="">
	    {if $language.iso_code != $lang_iso}
		    {assign var=indice_lang value=$language.id_lang}
		    {if isset($lang_rewrite_urls.$indice_lang)}
			    <a href="{$lang_rewrite_urls.$indice_lang|escape:htmlall}" title="{$language.name}">
		    {else}
			    </a><a href="{$link->getLanguageLink($language.id_lang)|escape:htmlall}" title="{$language.name}">
		    {/if}
	    {/if}
			    <img src="{$img_lang_dir}{$language.id_lang}.jpg" alt="{$language.iso_code}" height="11" width="16">
	    {if $language.iso_code != $lang_iso}
		    </a>
	    {/if}
	    </li>
    {/foreach}
    </ul>
   </div>
</div>

{/if}
<!-- /Block languages module -->

 

I have a same problem with default theme

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...