From 2e12ebc8ca793160cb0cd54c1fd0bfd42676c1ae Mon Sep 17 00:00:00 2001 From: Yorhel Date: Thu, 27 Jan 2011 12:32:37 +0100 Subject: 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 --- lib/VNDB/Handler/Misc.pm | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'lib/VNDB/Handler/Misc.pm') diff --git a/lib/VNDB/Handler/Misc.pm b/lib/VNDB/Handler/Misc.pm index b0911f6b..e7797259 100644 --- a/lib/VNDB/Handler/Misc.pm +++ b/lib/VNDB/Handler/Misc.pm @@ -60,7 +60,7 @@ sub homepage { end; } end; - end; + end 'div'; table class => 'mainbox threelayout'; Tr; @@ -82,7 +82,7 @@ sub homepage { end; } end; - end; + end 'td'; # Announcements td; @@ -100,7 +100,7 @@ sub homepage { lit bb2html $post->{msg}, 150; end; } - end; + end 'td'; # Recent posts td; @@ -120,9 +120,9 @@ sub homepage { end; } end; - end; + end 'td'; - end; + end 'tr'; Tr; # Random visual novels @@ -138,7 +138,7 @@ sub homepage { end; } end; - end; + end 'td'; # Upcoming releases td; @@ -158,7 +158,7 @@ sub homepage { end; } end; - end; + end 'td'; # Just released td; @@ -178,10 +178,10 @@ sub homepage { end; } end; - end; + end 'td'; - end; # /tr - end; # /table + end 'tr'; + end 'table'; $self->htmlFooter; } @@ -273,7 +273,7 @@ sub history { a $f->{r} ? (class => 'optselected') : (), href => $u->(r => 1), mt '_hist_filter_increl'; end; } - end; + end 'div'; $self->htmlBrowseHist($list, $f, $np, $u->()); $self->htmlFooter; @@ -407,7 +407,7 @@ sub opensearch { tag 'Url', type => 'application/opensearchdescription+xml', rel => 'self', template => $self->{url}.'/opensearch.xml', undef; tag 'Query', role => 'example', searchTerms => 'Tsukihime', undef; tag 'moz:SearchForm', $self->{url}.'/v/all'; - end; + end 'OpenSearchDescription'; } -- cgit v1.2.3