render the same display in rtl and ltr

git-svn-id: http://piwigo.org/svn/trunk@20943 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
flop25
2013-02-22 14:12:36 +00:00
parent 4d64770d76
commit 2ad7b37aa8
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
<div class="switchBoxTitle">{'Language'|@translate}</div>
{foreach from=$lang_switch.flags item=flag name=f}
<a rel="nofollow" href="{$flag.url}">
<span class="pwg-icon flags langflag-{$flag.code}">{$flag.alt}</span>{$flag.title}
{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}
</a>
{if ($smarty.foreach.f.index+1)%3 == 0}<br>{/if}
{/foreach}
@@ -15,6 +15,7 @@
margin-right: 3px;
width: 24px;
height: 16px;
direction: ltr;
}
/** Change the langflag-XX label to match a new language. All flags are represented there**/