mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
* 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
50 lines
1.4 KiB
Smarty
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} |