summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/ULists.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-01-27 12:32:37 +0100
committerYorhel <git@yorhel.nl>2011-01-27 12:32:37 +0100
commit2e12ebc8ca793160cb0cd54c1fd0bfd42676c1ae (patch)
tree3e1bb12bf4104f0aaa2e0b8b4be583a4197fc3d2 /lib/VNDB/Handler/ULists.pm
parent1216d74abfa0a40ab6abcef338f2fb891cd0fba6 (diff)
TUWF: Added tag name to several end() calls
Haven't found any bugs this way, yet. I doubt there'll be any problems, but it's a nice new feature that could help quite a bit. :-D
Diffstat (limited to 'lib/VNDB/Handler/ULists.pm')
-rw-r--r--lib/VNDB/Handler/ULists.pm16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/VNDB/Handler/ULists.pm b/lib/VNDB/Handler/ULists.pm
index 2657481e..94007a73 100644
--- a/lib/VNDB/Handler/ULists.pm
+++ b/lib/VNDB/Handler/ULists.pm
@@ -210,7 +210,7 @@ sub votelist {
option value => -1, 'revoke';
end;
end;
- end;
+ end 'tr';
}) : (),
);
end if $own;
@@ -269,7 +269,7 @@ sub wishlist {
$_ == -1 ? mt '_wishlist_prio_all' : mt "_wish_$_"
for (-1, @{$self->{wishlist_status}});
end;
- end;
+ end 'div';
if($own) {
my $code = $self->authGetCode("/u$uid/wish");
@@ -315,7 +315,7 @@ sub wishlist {
end;
}) : (),
);
- end if $own;
+ end 'form' if $own;
$self->htmlFooter;
}
@@ -404,7 +404,7 @@ sub vnlist {
a href => $url->(t => -1), -1 == $f->{t} ? (class => 'optselected') : (), mt '_rlist_all';
a href => $url->(t => $_), $_ == $f->{t} ? (class => 'optselected') : (), mt '_vnlist_status_'.$_ for @{$self->{vnlist_status}};
end;
- end;
+ end 'div';
_vnlist_browse($self, $own, $list, $np, $f, $url, $uid);
$self->htmlFooter;
@@ -458,7 +458,7 @@ sub _vnlist_browse {
lit $txt;
end;
td class => 'tc8', $i->{vote} || '-';
- end;
+ end 'tr';
for (@{$i->{rels}}) {
Tr class => "collapse relhid collapse_vid$i->{vid}".($n%2 ? '':' odd');
@@ -476,7 +476,7 @@ sub _vnlist_browse {
end;
td class => 'tc6', $_->{status} ? mt '_rlist_status_'.$_->{status} : '';
td class => 'tc7_8', colspan => 2, '';
- end;
+ end 'tr';
}
},
@@ -505,11 +505,11 @@ sub _vnlist_browse {
input type => 'submit', value => mt '_rlist_update';
end;
td class => 'tc7_8', colspan => 2, mt '_rlist_releasenote';
- end;
+ end 'tr';
}) : (),
);
- end if $own;
+ end 'form' if $own;
}
1;