X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=web%2Fhtdocs%2Fdetails%2Ffound.mc;h=9e858f862475897d1dd6bf2d817ec84480b0aa87;hp=0f441969a6ed69f9571f2e181802ecd65ad54da1;hb=e0ae362748a39155af12add31d419f3f8fe67362;hpb=15207647aa476550214576f17062da61e250cf44 diff --git a/web/htdocs/details/found.mc b/web/htdocs/details/found.mc index 0f44196..9e858f8 100644 --- a/web/htdocs/details/found.mc +++ b/web/htdocs/details/found.mc @@ -1,4 +1,3 @@ -%# $Id: found.mc,v 1.33 2009-04-15 18:16:46 wosch Exp $ <%once> sub print_navlink { my($params, $cond, $caption, $skip) = @_; @@ -54,7 +53,8 @@ if ($sort) { my $tried_to_open = 0; if (!defined $conn) { OPEN: - $conn = new ZOOM::Connection("localhost:8018/IR-Explain---1"); + my $db = ZOOM::IRSpy::connect_to_registry(); + $conn = new ZOOM::Connection($db); $conn->option(elementSetName => "zeerex"); $conn->option(count => 20); } @@ -97,7 +97,7 @@ print_navlink(\%params, $last < $n, "Next", $skip+$count); % }

% if ($n > 0 && $first <= $n) { - +
@@ -124,19 +124,19 @@ push @ids, $id; - @@ -148,11 +148,11 @@ print_navlink(\%params, $last < $n, "Next", $skip+$count);

[Test all targets on this list]

- [Statistics for targets on this list]

% }
# Title
<% $i %><% xml_encode($title) %> <% xml_encode($reliability, "", { nbsp => 1 }) %> <% xml_encode($host, "") %> <% xml_encode($port, "") %> <% xml_encode($db, "") %> - Test " title="Edit this target's record">Edit XML