• {strip}  {'Language'|@translate}
    {'Language'|@translate}
    {foreach from=$lang_switch.flags item=flag name=f} {if $lang_info.direction=="ltr"}{$flag.alt}{$flag.title}{else}{$flag.title}{$flag.alt}{/if} {if ($smarty.foreach.f.index+1)%3 == 0}
    {/if} {/foreach}
    {/strip}
  • {footer_script require='jquery'}{literal} jQuery("#languageSwitchLink").click(function() { var elt = jQuery("#languageSwitchBox"); elt.css("left", Math.min(jQuery(this).offset().left, jQuery(window).width() - elt.outerWidth(true) - 5)) .css("top", jQuery(this).offset().top + jQuery(this).outerHeight(true)) .toggle(); }); jQuery("#languageSwitchBox").on("mouseleave", function() { jQuery(this).hide(); }); {/literal}{/footer_script} {* * {if $LANGUAGE_SWITCH_LOAD_STYLE} {combine_css path=$LANGUAGE_SWITCH_PATH|@cat:"style.css"} {/if} {* *} {combine_css path=$LANGUAGE_SWITCH_PATH|@cat:"language_switch.css"}