aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/language_switch/flags.tpl
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2013-02-22 14:12:36 +0000
committerflop25 <flop25@piwigo.org>2013-02-22 14:12:36 +0000
commit2ad7b37aa85c098f4c29e0ae35b0ccfe838b977c (patch)
treeda0a7e21762fd9d7d7380de82a7172d2b8b895a1 /plugins/language_switch/flags.tpl
parent4d64770d76c40c1a7c997988ea06a8b20cb8b153 (diff)
bug:2837
render the same display in rtl and ltr git-svn-id: http://piwigo.org/svn/trunk@20943 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--plugins/language_switch/flags.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/language_switch/flags.tpl b/plugins/language_switch/flags.tpl
index 421815a8e..54063fd03 100644
--- a/plugins/language_switch/flags.tpl
+++ b/plugins/language_switch/flags.tpl
@@ -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}