X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=web%2Fhtdocs%2Fdetails%2Ffound.mc;h=677bb6852fe44ad075b11962ddf26387fb8e5f38;hp=1a41f91f1eea4ca0fa2259f133e5aeb4e7fa645a;hb=93936991183ffb9ee82314407b7a731e204af780;hpb=2671b39974dc869c869c08e87069c12f24266737 diff --git a/web/htdocs/details/found.mc b/web/htdocs/details/found.mc index 1a41f91..677bb68 100644 --- a/web/htdocs/details/found.mc +++ b/web/htdocs/details/found.mc @@ -1,4 +1,4 @@ -%# $Id: found.mc,v 1.2 2006-09-18 12:22:07 mike Exp $ +%# $Id: found.mc,v 1.3 2006-09-18 19:26:37 mike Exp $ <%once> use XML::LibXML; use XML::LibXML::XPathContext; @@ -67,6 +67,7 @@ if ($last < $n) { Host Port DB + % foreach my $i ($first .. $last) { <%perl> @@ -79,12 +80,16 @@ $xc->registerNs(e => 'http://explain.z3950.org/dtd/2.0/'); my $host = $xc->find("e:serverInfo/e:host"); my $port = $xc->find("e:serverInfo/e:port"); 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)"); <% $i %> <% $host %> <% $port %> <% $db %> + ">[Check] %}