Owen Leonard
1024eceec7
Patch for HEAD. This issue was apparently solved quite a while ago in the OPAC. This patch copies that solution over to the staff client. Signed-off-by: Galen Charlton <gmcharlt@gmail.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
40 lines
2.3 KiB
HTML
40 lines
2.3 KiB
HTML
</div>
|
|
|
|
<!-- TMPL_IF NAME="languages_loop" -->
|
|
<!-- TMPL_UNLESS NAME="one_language_enabled" -->
|
|
<div id="changelanguage" class="ft">
|
|
<ul id="i18nMenu" class="footermenu">
|
|
<!-- TMPL_LOOP NAME="languages_loop" -->
|
|
<!-- TMPL_IF NAME="group_enabled" -->
|
|
<!-- TMPL_IF NAME="plural" -->
|
|
<li class="more"><a class="sublangs" id="show<!-- TMPL_VAR NAME="rfc4646_subtag" -->" href="#"><!-- TMPL_VAR NAME="native_description" --> (<!-- TMPL_VAR NAME="rfc4646_subtag" -->)</a><div id="sub<!-- TMPL_VAR NAME="rfc4646_subtag" -->">
|
|
<div class="bd"><ul>
|
|
<!-- TMPL_LOOP NAME="sublanguages_loop" -->
|
|
<!-- TMPL_IF NAME="enabled" -->
|
|
<!-- TMPL_IF NAME="sublanguage_current" -->
|
|
<li> <a href="#"><!-- TMPL_VAR NAME="native_description" --> <!-- TMPL_VAR NAME="script_description" --> <!-- TMPL_VAR NAME="region_description" --> <!-- TMPL_VAR NAME="variant_description" --> (<!-- TMPL_VAR NAME="rfc4646_subtag" -->)</a></li>
|
|
<!-- TMPL_ELSE -->
|
|
<li><a href="/cgi-bin/koha/changelanguage.pl?language=<!-- TMPL_VAR NAME="rfc4646_subtag" -->"> <!-- TMPL_VAR NAME="native_description" --> <!-- TMPL_VAR NAME="script_description" --> <!-- TMPL_VAR NAME="region_description" --> <!-- TMPL_VAR NAME="variant_description" --> (<!-- TMPL_VAR NAME="rfc4646_subtag" -->)</a></li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- /TMPL_LOOP -->
|
|
</ul></div></div></li>
|
|
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_IF NAME="group_enabled" -->
|
|
<!-- TMPL_IF NAME="current" -->
|
|
<li><!-- TMPL_IF NAME="native_description" --><!-- TMPL_VAR NAME="native_description" --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="rfc4646_subtag" --><!-- /TMPL_IF --></li>
|
|
<!-- TMPL_ELSE -->
|
|
<li><a href="/cgi-bin/koha/changelanguage.pl?language=<!-- TMPL_VAR NAME="rfc4646_subtag" -->"><!-- TMPL_IF NAME="native_description" --><!-- TMPL_VAR NAME="native_description" --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="rfc4646_subtag" --><!-- /TMPL_IF --></a></li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_LOOP -->
|
|
</ul>
|
|
</div>
|
|
<!-- /TMPL_UNLESS -->
|
|
<!-- /TMPL_IF -->
|
|
</body>
|
|
</html>
|