diff options
author | Yorhel <git@yorhel.nl> | 2011-01-27 12:32:37 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2011-01-27 12:32:37 +0100 |
commit | 2e12ebc8ca793160cb0cd54c1fd0bfd42676c1ae (patch) | |
tree | 3e1bb12bf4104f0aaa2e0b8b4be583a4197fc3d2 /lib/VNDB/Util/LayoutHTML.pm | |
parent | 1216d74abfa0a40ab6abcef338f2fb891cd0fba6 (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/Util/LayoutHTML.pm')
-rw-r--r-- | lib/VNDB/Util/LayoutHTML.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/VNDB/Util/LayoutHTML.pm b/lib/VNDB/Util/LayoutHTML.pm index fc6ba6b2..f8ce275a 100644 --- a/lib/VNDB/Util/LayoutHTML.pm +++ b/lib/VNDB/Util/LayoutHTML.pm @@ -79,7 +79,7 @@ sub _menu { input type => 'submit', class => 'submit', value => 'Search'; end; end; - end; + end 'div'; # /menubox div class => 'menubox'; if($self->authInfo->{id}) { @@ -121,7 +121,7 @@ sub _menu { end; end; } - end; + end 'div'; # /menubox div class => 'menubox'; h2 mt '_menu_dbstats'; @@ -135,7 +135,7 @@ sub _menu { clearfloat; end; end; - end; + end 'div'; # /menulist } @@ -160,7 +160,7 @@ sub htmlFooter { # %options => { prefs => [pref1,..] } txt ' | '; a href => $self->{source_url}, mt '_footer_source'; end; - end; # /div maincontent + end 'div'; # /maincontent # insert users' preference data when required by JS if($o{prefs}) { @@ -173,8 +173,8 @@ sub htmlFooter { # %options => { prefs => [pref1,..] } end; } script type => 'text/javascript', src => $self->{url_static}.'/f/js/'.$self->{l10n}->language_tag().'.js?'.$self->{version}, ''; - end; # /body - end; # /html + end 'body'; + end 'html'; # write the SQL queries as a HTML comment when debugging is enabled if($self->debug) { |