Lines 6-48
Link Here
|
6 |
</div> |
6 |
</div> |
7 |
|
7 |
|
8 |
[% IF ( opaclanguagesdisplay || OpacKohaUrl ) %] |
8 |
[% IF ( opaclanguagesdisplay || OpacKohaUrl ) %] |
9 |
<div id="changelanguage" class="ft"> |
9 |
[% IF ( languages_loop && opaclanguagesdisplay ) %] |
10 |
[% IF ( languages_loop && opaclanguagesdisplay ) %] |
10 |
[% UNLESS ( one_language_enabled ) %] |
11 |
[% UNLESS ( one_language_enabled ) %] |
11 |
<div id="changelanguage" class="ft"> |
12 |
<div class="lang"><strong>Languages: </strong></div> |
12 |
<div class="lang" style="float:left;padding: 0.1em 0;"><strong>Languages: </strong></div> |
13 |
[% FOREACH languages_loo IN languages_loop %] |
13 |
<ul id="i18nMenu" class="footermenu"> |
14 |
<div class="lang"> |
14 |
[% FOREACH languages_loo IN languages_loop %] |
15 |
[% IF ( languages_loo.group_enabled ) %] |
15 |
|
16 |
[% IF ( languages_loo.plural ) %] |
16 |
[% IF ( languages_loo.group_enabled ) %] |
17 |
<a id="show[% languages_loo.rfc4646_subtag %]" class="sublangs more" href="#">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</a>[% UNLESS ( loop.last ) %] | [% END %] |
17 |
[% IF ( languages_loo.plural ) %] |
18 |
<div id="sub[% languages_loo.rfc4646_subtag %]"> |
18 |
<li class="more" style="float:left;"><a class="sublangs" id="show[% languages_loo.rfc4646_subtag %]" href="#">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</a><div id="sub[% languages_loo.rfc4646_subtag %]"> |
19 |
<div class="bd"><ul> |
19 |
<div class="bd"><ul> |
20 |
[% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %] |
20 |
[% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %] |
21 |
[% IF ( sublanguages_loo.enabled ) %] |
21 |
[% IF ( sublanguages_loo.enabled ) %] |
22 |
[% IF ( sublanguages_loo.sublanguage_current ) %] |
22 |
[% IF ( sublanguages_loo.sublanguage_current ) %] |
23 |
<li> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</li> |
23 |
<li> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</li> |
24 |
[% ELSE %] |
24 |
[% ELSE %] |
25 |
<li><a href="/cgi-bin/koha/opac-changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag %]"> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</a></li> |
25 |
<li><a href="/cgi-bin/koha/changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag %]"> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</a></li> |
26 |
[% END %] |
|
|
27 |
[% END %] |
28 |
[% END %] |
26 |
[% END %] |
29 |
</ul> |
27 |
[% END %] |
30 |
</div> |
28 |
|
31 |
</div> |
29 |
[% END %] |
32 |
[% ELSE %] |
30 |
</ul></div></div></li> |
33 |
[% IF ( languages_loo.group_enabled ) %] |
31 |
|
34 |
[% IF ( languages_loo.current ) %] |
|
|
35 |
[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %] |
36 |
[% ELSE %] |
32 |
[% ELSE %] |
37 |
<a href="/cgi-bin/koha/opac-changelanguage.pl?language=[% languages_loo.rfc4646_subtag %]">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</a> |
33 |
[% IF ( languages_loo.group_enabled ) %] |
|
|
34 |
[% IF ( languages_loo.current ) %] |
35 |
<li style="float:left;">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</li> |
36 |
[% ELSE %] |
37 |
<li style="float:left;"><a href="/cgi-bin/koha/changelanguage.pl?language=[% languages_loo.rfc4646_subtag %]">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</a></li> |
38 |
[% END %] |
39 |
[% END %] |
40 |
[% END %] |
38 |
[% END %] |
41 |
[% END %] |
39 |
[% END %] |
42 |
|
40 |
[% END %] |
43 |
[% END %] |
41 |
[% END %][% UNLESS ( loop.last || languages_loo.plural ) %] | [% END %] |
44 |
</ul> |
42 |
</div> |
45 |
</div> |
43 |
[% END %] |
46 |
[% END %] |
44 |
[% END %] |
47 |
[% END %] |
45 |
[% END %] |
48 |
|
46 |
|
49 |
|
47 |
[% IF ( OpacKohaUrl ) %] |
50 |
[% IF ( OpacKohaUrl ) %] |
48 |
<span class="koha_url"> |
51 |
<span class="koha_url"> |
Lines 50-56
Link Here
|
50 |
</span> |
53 |
</span> |
51 |
[% END %] |
54 |
[% END %] |
52 |
|
55 |
|
53 |
</div> |
|
|
54 |
[% END %] |
56 |
[% END %] |
55 |
|
57 |
|
56 |
[% IF ( Babeltheque ) %] |
58 |
[% IF ( Babeltheque ) %] |
57 |
- |
|
|