summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Producers.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-11-14 13:55:32 +0100
committerYorhel <git@yorhel.nl>2008-11-14 13:55:32 +0100
commit9476900ba8562fec588bc15435ca63b713c278ae (patch)
treefe16144dc118460c3bf98b637cc4b6f98d640476 /lib/VNDB/Handler/Producers.pm
parente7b44deef27cc0770e6d610be3ce3145321f01fa (diff)
Added language icons to producer list
Simply copied the multi-icons-in-one-image hack from VNDB 1.x. Tested browser support up to this commit: IE6: don't even try... IE7: Transparency doesn't always work correctly, producer list box doesn't fill the content FF2: Language icons and text in the producer list is a bit misaligned FF3/Safari/Chrome/Opera (latest versions): No problems anywhere
Diffstat (limited to 'lib/VNDB/Handler/Producers.pm')
-rw-r--r--lib/VNDB/Handler/Producers.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNDB/Handler/Producers.pm b/lib/VNDB/Handler/Producers.pm
index 4ca14000..90c49953 100644
--- a/lib/VNDB/Handler/Producers.pm
+++ b/lib/VNDB/Handler/Producers.pm
@@ -211,6 +211,7 @@ sub list {
ul;
for ($perlist*$c..($perlist*($c+1))-1) {
li;
+ acronym class => 'icons lang '.$list->[$_]{lang}, title => $self->{languages}{$list->[$_]{lang}}, ' ';
a href => "/p$list->[$_]{id}", $list->[$_]{name};
end;
}