From 2ad7b37aa85c098f4c29e0ae35b0ccfe838b977c Mon Sep 17 00:00:00 2001 From: flop25 Date: Fri, 22 Feb 2013 14:12:36 +0000 Subject: bug:2837 render the same display in rtl and ltr git-svn-id: http://piwigo.org/svn/trunk@20943 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/language_switch/flags.tpl | 2 +- plugins/language_switch/language_switch.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 @@
{'Language'|@translate}
{foreach from=$lang_switch.flags item=flag name=f} - {$flag.alt}{$flag.title} + {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} diff --git a/plugins/language_switch/language_switch.css b/plugins/language_switch/language_switch.css index de25a34af..06c867d09 100644 --- a/plugins/language_switch/language_switch.css +++ b/plugins/language_switch/language_switch.css @@ -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**/ -- cgit v1.2.3