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)
committerGalen Charlton <galen.charlton@liblime.com>
Mon, 27 Apr 2009 11:54:42 +0000 (06:54 -0500)
commit786a1aa36a5bdaaa0ae8bbe327e8f1ad7231947f
tree61af41029331bf18ef9d4fc758a98ecf257df3f7
parentb66c900a3d02e3a3bf8f2ff2971e30ac399b18cc
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