summaryrefslogtreecommitdiff
path: root/lib/VNDB
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-10-07 18:49:31 +0200
committerYorhel <git@yorhel.nl>2009-10-07 18:49:31 +0200
commitbbc03376d61e2e557d473368611dbba5eead6338 (patch)
treeb22400cf38f1d18c130647f0236ccdf4dd84257e /lib/VNDB
parent46a046e88c0059770fcffcf64d43ddbdbeb4fcc6 (diff)
Changed language selector into a Javascript dropdown
Diffstat (limited to 'lib/VNDB')
-rw-r--r--lib/VNDB/Util/LayoutHTML.pm8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/VNDB/Util/LayoutHTML.pm b/lib/VNDB/Util/LayoutHTML.pm
index 524b6258..d9dad434 100644
--- a/lib/VNDB/Util/LayoutHTML.pm
+++ b/lib/VNDB/Util/LayoutHTML.pm
@@ -49,12 +49,8 @@ sub _menu {
div class => 'menubox';
h2;
- span;
- for (grep $self->{l10n}->language_tag() ne $_, $self->{l10n}->languages()) {
- a href => "?l10n=$_";
- cssicon "lang $_", mt "_lang_$_"; # NOTE: should actually be in the destination language...
- end;
- }
+ a href => "#", id => 'lang_select';
+ cssicon "lang ".$self->{l10n}->language_tag(), mt "_lang_".$self->{l10n}->language_tag();
end;
txt mt '_menu';
end;