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)
committerJohn Soros <john.soros@biblibre.com>
Tue, 28 Apr 2009 11:15:13 +0000 (13:15 +0200)
commita5d0669bf631a04e4fba5eff12c7b3f10361910c
tree61af41029331bf18ef9d4fc758a98ecf257df3f7
parent53ae666c1b58c1e749d5be4361861ac196363a75
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>
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