source: trunk/plugins/language_switch/flags.tpl @ 3930

Last change on this file since 3930 was 3479, checked in by vdigital, 15 years ago

merge r3477 from branch 2.0 to trunk
Bug 964 fixed and more

+ ?&lang=en_UK" => ?lang=en_UK"
+ =&lang=en_UK" => &lang=en_UK"
+ Works for any combinations of
$confquestion_mark_in_urls
$confphp_extension_in_urls
=> BUT force a return to home in some cases.
+ Full technical code review

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1</ul>
2<ul class="categoryActions">
3<li class="menuf">
4        <div>
5                <ul>
6                        <li>
7                                <a rel="nofollow" href="#">
8                                        <img class="flags" src="{$lang_switch.Active.img}" alt="{$lang_switch.Active.alt}" title="{$lang_switch.Active.alt}"/>
9                                </a>
10                                <!--[if lte IE 6]>
11                                        <a rel="nofollow" href="#">
12                                                <img class="flags" src="{$lang_switch.Active.img}" alt="{$lang_switch.Active.alt}" title="{$lang_switch.Active.alt}"/>
13                                                <table>
14                                                        <tr>
15                                                                <td>
16                                <![endif]-->
17                                                                        <ul class="flag-pan">
18                                                                        {foreach from=$lang_switch.flags key=code item=flag name=f}
19                                                                                <li>
20                                                                                        <a rel="nofollow" href="{$SCRIPT_NAME}{$flag.url}">
21                                                                                                <img class="flags" src="{$flag.img}" alt="{$flag.alt}" title="{$flag.alt}"/>
22                                                                                        </a>
23                                                                                </li>
24                                                                        {/foreach}
25                                                                        </ul>
26                                <!--[if lte IE 6]>
27                                                                </td>
28                                                        </tr>
29                                                </table>
30                                        </a>
31                                <![endif]-->
32                        </li>
33                </ul>
34        </div>
35</li>
36{html_head}
37{if $themeconf.template=='yoga' and $themeconf.theme=='Sylvia'}
38<link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch.css'}"> 
39{else}
40<link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch-default.css'}"> 
41{/if}
42{if Componant_exists($LANGUAGE_SWITCH_PATH, 'language_switch-local.css')}
43<link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch-local.css'}"> 
44{/if}
45<!--[if lte IE 6]>
46<link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch-ie6.css'}"> 
47<![endif]-->
48{/html_head}
Note: See TracBrowser for help on using the repository browser.