aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/language_switch/flags.tpl
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-03-28 13:51:43 +0000
committerplegall <plg@piwigo.org>2011-03-28 13:51:43 +0000
commite405136d474fa90c3e9b6467cd8d541aa1c9d1ac (patch)
tree8d5a0c2b751b6550ba5af4853a805c88088c2a55 /plugins/language_switch/flags.tpl
parent18878f8bb0bb23403772504ab4d94a34c85ecaf4 (diff)
Language Switch:
* display language name next to flag (and enlarge the flag box to ~400px) * force the links color inside the language box because the background color is forced : on a theme like "grum dark II", the result is really awful, impossible to read. * the current language is not removed from the list, this ways the list is not reorganized depending on the current language git-svn-id: http://piwigo.org/svn/trunk@9906 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--plugins/language_switch/flags.tpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/language_switch/flags.tpl b/plugins/language_switch/flags.tpl
index eb855fc69..9bf88dba6 100644
--- a/plugins/language_switch/flags.tpl
+++ b/plugins/language_switch/flags.tpl
@@ -4,7 +4,7 @@
<div>
<ul>
<li>
- <a rel="nofollow" href="#">
+ <a rel="nofollow" href="#" class="activeFlag">
<img class="flags" src="{$lang_switch.Active.img}" alt="{$lang_switch.Active.alt}" title="{$lang_switch.Active.alt}"/>
</a>
<!--[if lte IE 6]>
@@ -15,11 +15,12 @@
<td>
<![endif]-->
<ul class="flag-pan">
+ <li class="languageSwitchBoxTitle">{'Language'|@translate}</li>
{foreach from=$lang_switch.flags key=code item=flag name=f}
<li>
<a rel="nofollow" href="{$SCRIPT_NAME}{$flag.url}">
- <img class="flags" src="{$flag.img}" alt="{$flag.alt}" title="{$flag.alt}"/>
+ <img class="flags" src="{$flag.img}" alt="{$flag.alt}" title="{$flag.alt}"/> {$flag.title}
</a>
</li>
{/foreach}