Files
Piwigo/plugins/language_switch/flags.tpl
plegall e405136d47 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
2011-03-28 13:51:43 +00:00

50 lines
1.4 KiB
Smarty

</ul>
<ul class="categoryActions">
<li class="menuf">
<div>
<ul>
<li>
<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]>
<a rel="nofollow" href="#">
<img class="flags" src="{$lang_switch.Active.img}" alt="{$lang_switch.Active.alt}" title="{$lang_switch.Active.alt}"/>
<table>
<tr>
<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}"/> {$flag.title}
</a>
</li>
{/foreach}
</ul>
<!--[if lte IE 6]>
</td>
</tr>
</table>
</a>
<![endif]-->
</li>
</ul>
</div>
</li>
{combine_css path="plugins/language_switch/language_switch-default.css"}
{if $themeconf.name eq 'Sylvia'}
{combine_css path="plugins/language_switch/language_switch-Sylvia.css"}
{/if}
{html_head}
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="{$ROOT_URL}plugins/language_switch/language_switch-ie6.css">
<![endif]-->
{/html_head}