Ignore:
Timestamp:
Nov 18, 2013, 9:06:43 PM (10 years ago)
Author:
mistic100
Message:

make flags useable anywhere

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/language_switch/flags.tpl

    r21359 r25564  
    11<li id="languageSwitch">{strip}<a id="languageSwitchLink" title="{'Language'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
    2   <span class="pwg-icon flags langflag-{$lang_switch.Active.code}">&nbsp;</span><span class="pwg-button-text">{'Language'|@translate}</span>
     2  <span class="pwg-icon langflag-{$lang_switch.Active.code}">&nbsp;</span><span class="pwg-button-text">{'Language'|@translate}</span>
    33</a>
    44<div id="languageSwitchBox" class="switchBox">
     
    66  {foreach from=$lang_switch.flags item=flag name=f}
    77  <a rel="nofollow" href="{$flag.url}">
    8     {if $lang_info.direction=="ltr"}<span class="pwg-icon flags langflag-{$flag.code}">{$flag.alt}</span>{$flag.title}{else}{$flag.title}<span class="pwg-icon flags langflag-{$flag.code}">{$flag.alt}</span>{/if}
     8    {if $lang_info.direction=="ltr"}<span class="pwg-icon langflag-{$flag.code}">{$flag.alt}</span>{$flag.title}{else}{$flag.title}<span class="pwg-icon langflag-{$flag.code}">{$flag.alt}</span>{/if}
    99  </a>
    1010  {if ($smarty.foreach.f.index+1)%3 == 0}<br>{/if}
Note: See TracChangeset for help on using the changeset viewer.