diff options
author | Yorhel <git@yorhel.nl> | 2008-12-07 15:07:27 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2008-12-07 15:07:27 +0100 |
commit | aaa0cf49ce27ff453dfd648e193597198c86372f (patch) | |
tree | 6fb0b1bee0559b21b765099e32c6316705be01ef /lib/VNDB/Util/CommonHTML.pm | |
parent | 201ffccacef9f54778f79aba9f164295c18d6017 (diff) |
Batch editing of wishlist
...all wishlist related pages are now pretty much done as well ^^
Diffstat (limited to 'lib/VNDB/Util/CommonHTML.pm')
-rw-r--r-- | lib/VNDB/Util/CommonHTML.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/VNDB/Util/CommonHTML.pm b/lib/VNDB/Util/CommonHTML.pm index 0c7ba0a5..68e12411 100644 --- a/lib/VNDB/Util/CommonHTML.pm +++ b/lib/VNDB/Util/CommonHTML.pm @@ -140,6 +140,7 @@ sub htmlHiddenMessage { # be sorted # row => subroutine ref, which is called for each item in $list, arguments will be # $self, $item_number (starting from 0), $item_value +# footer => subroutine ref, called after all rows have been processed sub htmlBrowse { my($self, %opt) = @_; @@ -179,6 +180,13 @@ sub htmlBrowse { $opt{row}->($self, $_+1, $opt{items}[$_]) for 0..$#{$opt{items}}; + # footer + if($opt{footer}) { + tfoot; + $opt{footer}->($self); + end; + } + end; end; |