]> git.koha-community.org Git - koha.git/commit
bug 3161: don't display blank language chooser
authorGalen Charlton <galen.charlton@liblime.com>
Sun, 26 Apr 2009 16:45:24 +0000 (11:45 -0500)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 26 May 2009 19:15:19 +0000 (21:15 +0200)
commitccf12bc9ab55cd091385baeb9dda317670f6786a
tree15ffccb7b7b8c2a7431d56151a99aaa4d2cc5b0e
parent83617ae7cd049a040bc862c77ef104a5e73fafe2
bug 3161: don't display blank language chooser

If more than one translation is installed but only one is active, a blank div
is displayed at the bottom of all pages in the intranet (and in the OPAC if the
opacchangelanguages system preference is ON), taking a bit of vertical real
estate needlessly.

Changed so that <div> for the language chooser is output
only if there is more than one enabled language.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
C4/Languages.pm
C4/Output.pm
koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc
koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc