diff options
author | Yorhel <git@yorhel.nl> | 2008-12-09 13:08:08 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2008-12-09 13:08:08 +0100 |
commit | 66bc1533761ae28c0c8cbcea91b80c0319d86b39 (patch) | |
tree | 9b321ebbdc34c5b57501dfd0278b9b0fcadc8efd /lib/VNDB/Util/CommonHTML.pm | |
parent | 62ab2e931cf21236e83d4483d8cb4eb773f26a89 (diff) |
Code cleanup: removed leading spaces and combined DB/{Votes,VNList,WishList}.pm into ULists.pm
Diffstat (limited to 'lib/VNDB/Util/CommonHTML.pm')
-rw-r--r-- | lib/VNDB/Util/CommonHTML.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VNDB/Util/CommonHTML.pm b/lib/VNDB/Util/CommonHTML.pm index 77897a78..5cf3d729 100644 --- a/lib/VNDB/Util/CommonHTML.pm +++ b/lib/VNDB/Util/CommonHTML.pm @@ -31,7 +31,7 @@ sub htmlMainTabs { a href => "/t/$id", "discussions ($cnt)"; end; } - + if($type eq 'u' && $obj->{show_list}) { li $sel eq 'wish' ? (class => 'tabselected') : (); a href => "/$id/wish", 'wishlist'; @@ -306,7 +306,7 @@ sub revdiff { my @ser1 = map encode_utf8($_), $o{split} ? $o{split}->($ser1) : map xml_escape($_), split //, $ser1; my @ser2 = map encode_utf8($_), $o{split} ? $o{split}->($ser2) : map xml_escape($_), split //, $ser2; return if $o{split} && $#ser1 == $#ser2 && !grep $ser1[$_] ne $ser2[$_], 0..$#ser1; - + $ser1 = $ser2 = ''; my @d = compact_diff(\@ser1, \@ser2); for my $i (0..($#d-2)/2) { @@ -372,7 +372,7 @@ sub htmlItemMessage { my($self, $type, $obj) = @_; if($obj->{locked}) { - p class => 'locked', 'Locked for editing' + p class => 'locked', 'Locked for editing' } elsif(!$self->authInfo->{id}) { p class => 'locked'; lit 'You need to be <a href="/u/login">logged in</a> to edit this page</a>'; |