Changeset 20943


Ignore:
Timestamp:
Feb 22, 2013, 3:12:36 PM (7 years ago)
Author:
flop25
Message:

bug:2837
render the same display in rtl and ltr

Location:
trunk/plugins/language_switch
Files:
2 edited

Legend:

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

    r20587 r20943  
    66  {foreach from=$lang_switch.flags item=flag name=f}
    77  <a rel="nofollow" href="{$flag.url}">
    8     <span class="pwg-icon flags langflag-{$flag.code}">{$flag.alt}</span>{$flag.title}
     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}
    99  </a>
    1010  {if ($smarty.foreach.f.index+1)%3 == 0}<br>{/if}
  • trunk/plugins/language_switch/language_switch.css

    r20861 r20943  
    1616    width: 24px;
    1717    height: 16px;
     18    direction: ltr;
    1819}
    1920
Note: See TracChangeset for help on using the changeset viewer.