Last change
on this file since 11909 was
9906,
checked in by plg, 14 years ago
|
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
|
-
Property svn:eol-style set to
LF
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.4 KB
|
Line | |
---|
1 | </ul> |
---|
2 | <ul class="categoryActions"> |
---|
3 | <li class="menuf"> |
---|
4 | <div> |
---|
5 | <ul> |
---|
6 | <li> |
---|
7 | <a rel="nofollow" href="#" class="activeFlag"> |
---|
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 | <li class="languageSwitchBoxTitle">{'Language'|@translate}</li> |
---|
19 | |
---|
20 | {foreach from=$lang_switch.flags key=code item=flag name=f} |
---|
21 | <li> |
---|
22 | <a rel="nofollow" href="{$SCRIPT_NAME}{$flag.url}"> |
---|
23 | <img class="flags" src="{$flag.img}" alt="{$flag.alt}" title="{$flag.alt}"/> {$flag.title} |
---|
24 | </a> |
---|
25 | </li> |
---|
26 | {/foreach} |
---|
27 | |
---|
28 | </ul> |
---|
29 | <!--[if lte IE 6]> |
---|
30 | </td> |
---|
31 | </tr> |
---|
32 | </table> |
---|
33 | </a> |
---|
34 | <![endif]--> |
---|
35 | </li> |
---|
36 | </ul> |
---|
37 | </div> |
---|
38 | </li> |
---|
39 | |
---|
40 | {combine_css path="plugins/language_switch/language_switch-default.css"} |
---|
41 | |
---|
42 | {if $themeconf.name eq 'Sylvia'} |
---|
43 | {combine_css path="plugins/language_switch/language_switch-Sylvia.css"} |
---|
44 | {/if} |
---|
45 | |
---|
46 | {html_head} |
---|
47 | <!--[if lte IE 6]> |
---|
48 | <link rel="stylesheet" type="text/css" href="{$ROOT_URL}plugins/language_switch/language_switch-ie6.css"> |
---|
49 | <![endif]--> |
---|
50 | {/html_head} |
---|
Note: See
TracBrowser
for help on using the repository browser.