chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve installation instructions re git etc.
[ypp-sc-tools.main.git]
/
yarrg
/
web
/
dumptable
diff --git
a/yarrg/web/dumptable
b/yarrg/web/dumptable
index 20dc25f12ceb4ea7a77e51302e7ec9557b53e10a..e60415c8469bae1c94dd8ed5851bfe84e48588a4 100644
(file)
--- a/
yarrg/web/dumptable
+++ b/
yarrg/web/dumptable
@@
-96,6
+96,19
@@
$qa => undef
% }
</%method>
% }
</%method>
+<%method literal>
+<%args>
+$cols
+$rows
+$qa => undef
+</%args>
+<& SELF:start, cols => $cols &>
+% foreach my $row (@$rows) {
+<& SELF:row, cols => $cols, row => $row &>
+% }
+<& SELF:end &>
+</%method>
+
<& SELF:start, sth => $sth &>
% my $row;
% while ($row= $sth->fetchrow_hashref) {
<& SELF:start, sth => $sth &>
% my $row;
% while ($row= $sth->fetchrow_hashref) {