X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fweb%2Fquery_age;h=77d750c8c95ec2c0386b79f785111df215851e0b;hb=98610392fde2add293bee6199f2de1d6f88559d8;hp=922e29f0c90031b97e1c485bb6fcb456946f8018;hpb=c5b3ac45babf8012719dfb7eafd0cfa9d9eddff0;p=ypp-sc-tools.web-live.git diff --git a/yarrg/web/query_age b/yarrg/web/query_age index 922e29f..77d750c 100644 --- a/yarrg/web/query_age +++ b/yarrg/web/query_age @@ -33,6 +33,12 @@ + +<%args> +$quri +$dbh + + <%once> my $meta_prettyprint_age= sub { my ($age,$floor,$plus) = @_; @@ -56,7 +62,6 @@ eval ' <%perl> - my $now= time; my $row; @@ -96,10 +101,8 @@ Time since this page loaded: (not known; times above not updating)
-% foreach my $a (keys %ARGS) { - -% } +<& "lookup:formhidden", ours => sub { 0; } &>
<&| script &> @@ -128,8 +131,4 @@ Time since this page loaded: <%init> use POSIX; use CommodsWeb; -my $dbh= dbw_connect('Midnight'); -<%cleanup> -$dbh->rollback(); -