From 34006aed3916d7c41c4de2811a7451888fcdff22 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 20 Sep 2006 16:37:15 +0000 Subject: [PATCH] Add link to test all targets in searchlist. --- web/htdocs/details/found.mc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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] +

% } -- 1.7.10.4