mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
Bug 964 fixed and more + ?&lang=en_UK" => ?lang=en_UK" + =&lang=en_UK" => &lang=en_UK" + Works for any combinations of $conf['question_mark_in_urls'] $conf['php_extension_in_urls'] => BUT force a return to home in some cases. + Full technical code review git-svn-id: http://piwigo.org/svn/trunk@3479 68402e56-0260-453c-a942-63ccdbb3a9ee
48 lines
1.6 KiB
Smarty
48 lines
1.6 KiB
Smarty
</ul>
|
|
<ul class="categoryActions">
|
|
<li class="menuf">
|
|
<div>
|
|
<ul>
|
|
<li>
|
|
<a rel="nofollow" href="#">
|
|
<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">
|
|
{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}"/>
|
|
</a>
|
|
</li>
|
|
{/foreach}
|
|
</ul>
|
|
<!--[if lte IE 6]>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</a>
|
|
<![endif]-->
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
{html_head}
|
|
{if $themeconf.template=='yoga' and $themeconf.theme=='Sylvia'}
|
|
<link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch.css'}">
|
|
{else}
|
|
<link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch-default.css'}">
|
|
{/if}
|
|
{if Componant_exists($LANGUAGE_SWITCH_PATH, 'language_switch-local.css')}
|
|
<link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch-local.css'}">
|
|
{/if}
|
|
<!--[if lte IE 6]>
|
|
<link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch-ie6.css'}">
|
|
<![endif]-->
|
|
{/html_head} |