From: Mike Taylor Date: Wed, 20 Sep 2006 16:37:15 +0000 (+0000) Subject: Add link to test all targets in searchlist. X-Git-Tag: CPAN-v1.02~54^2~1020 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=34006aed3916d7c41c4de2811a7451888fcdff22 Add link to test all targets in searchlist. --- diff --git a/web/htdocs/details/found.mc b/web/htdocs/details/found.mc index f7f8799..dfca595 100644 --- a/web/htdocs/details/found.mc +++ b/web/htdocs/details/found.mc @@ -1,4 +1,4 @@ -%# $Id: found.mc,v 1.7 2006-09-20 13:19:53 mike Exp $ +%# $Id: found.mc,v 1.8 2006-09-20 16:37:15 mike Exp $ <%once> use XML::LibXML; use XML::LibXML::XPathContext; @@ -83,6 +83,7 @@ if ($last < $n) { +% my @ids; % foreach my $i ($first .. $last) { <%perl> my $rec = $rs->record($i-1); @@ -99,6 +100,7 @@ my $db = $xc->find("e:serverInfo/e:database"); my $id = $xc->find("concat(e:serverInfo/e:host, ':', e:serverInfo/e:port, '/', e:serverInfo/e:database)"); +push @ids, $id; <% $i %> @@ -107,9 +109,13 @@ my $id = $xc->find("concat(e:serverInfo/e:host, ':', <% $host %> <% $port %> <% $db %> - ">[Check] + ">[Test] ">[Raw] -%} +% } +

+ ">[Test all targets on this list] +

% }