Lines 9-36
Link Here
|
9 |
|
9 |
|
10 |
[% IF ( languages_loo.group_enabled ) %] |
10 |
[% IF ( languages_loo.group_enabled ) %] |
11 |
[% IF ( languages_loo.plural ) %] |
11 |
[% IF ( languages_loo.plural ) %] |
12 |
<li class="dropdown"><a class="dropdown-toggle dropup" data-toggle="dropdown" id="show[% languages_loo.rfc4646_subtag %]" href="#">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %] <span class="caret"></span></a> |
12 |
<li class="dropdown"><a class="dropdown-toggle dropup" data-toggle="dropdown" id="show[% languages_loo.rfc4646_subtag %]" href="#"> |
|
|
13 |
[% IF ( languages_loo.native_description ) %] |
14 |
[% languages_loo.native_description %] |
15 |
[% ELSE %] |
16 |
[% languages_loo.rfc4646_subtag %] |
17 |
[% END %] |
18 |
[% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %] |
19 |
[% IF ( sublanguages_loo.enabled ) %] |
20 |
[% IF ( sublanguages_loo.sublanguage_current ) %] |
21 |
<span class="sublanguage-selected">([% sublanguages_loo.rfc4646_subtag %])</span> |
22 |
[% END %] |
23 |
[% END %] |
24 |
[% END %] |
25 |
<span class="caret"></span></a> |
13 |
<ul id="sub[% languages_loo.rfc4646_subtag %]" class="dropdown-menu"> |
26 |
<ul id="sub[% languages_loo.rfc4646_subtag %]" class="dropdown-menu"> |
14 |
[% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %] |
27 |
[% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %] |
15 |
[% IF ( sublanguages_loo.enabled ) %] |
28 |
[% IF ( sublanguages_loo.enabled ) %] |
16 |
[% IF ( sublanguages_loo.sublanguage_current ) %] |
29 |
[% IF ( sublanguages_loo.sublanguage_current ) %] |
17 |
<li> <a href="#">[% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</a></li> |
30 |
<li class="navbar-text"> <a href="#" class="currentlanguage disabled">[% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</a></li> |
18 |
[% ELSE %] |
31 |
[% ELSE %] |
19 |
<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> |
32 |
<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> |
20 |
[% END %] |
33 |
[% END %] |
21 |
[% END %] |
34 |
[% END %] |
22 |
|
35 |
|
23 |
[% END %] |
36 |
[% END %] |
24 |
</ul></li> |
37 |
</ul></li> |
25 |
|
38 |
|
26 |
[% ELSE %] |
39 |
[% ELSE %] |
27 |
[% IF ( languages_loo.group_enabled ) %] |
40 |
[% IF ( languages_loo.group_enabled ) %] |
28 |
[% IF ( languages_loo.current ) %] |
41 |
[% IF ( languages_loo.current ) %] |
29 |
<li class="navbar-text"> |
42 |
<li class="navbar-text"> |
30 |
[% IF ( languages_loo.native_description ) %] |
43 |
[% IF ( languages_loo.native_description ) %] |
31 |
[% languages_loo.native_description %] |
44 |
<span class="currentlanguage">[% languages_loo.native_description %]</span> |
32 |
[% ELSE %] |
45 |
[% ELSE %] |
33 |
[% languages_loo.rfc4646_subtag %] |
46 |
<span class="currentlanguage">[% languages_loo.rfc4646_subtag %]</span> |
34 |
[% END %] |
47 |
[% END %] |
35 |
</li> |
48 |
</li> |
36 |
[% ELSE %] |
49 |
[% ELSE %] |
Lines 42-48
Link Here
|
42 |
[% END %] |
55 |
[% END %] |
43 |
</a></li> |
56 |
</a></li> |
44 |
[% END %] |
57 |
[% END %] |
45 |
[% END %] |
58 |
[% END %] |
46 |
[% END %] |
59 |
[% END %] |
47 |
[% END %] |
60 |
[% END %] |
48 |
|
61 |
|
49 |
- |
|
|