mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 09:52:29 +02:00
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
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user