X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=web%2Fhtdocs%2Fdetails%2Ffound.mc;h=040318e820633787812e26d7a0e79e0bde6d6a19;hp=a6399917800208f3e4dbd30c9091c735d6ac74d5;hb=5ffcdb88057319217d93ee6a3a5d8dfa4187c6f3;hpb=37dfb4e3f1752a6031ba0f82b9556bbc4c05781f
diff --git a/web/htdocs/details/found.mc b/web/htdocs/details/found.mc
index a639991..040318e 100644
--- a/web/htdocs/details/found.mc
+++ b/web/htdocs/details/found.mc
@@ -1,4 +1,4 @@
-%# $Id: found.mc,v 1.23 2006-12-14 16:41:06 mike Exp $
+%# $Id: found.mc,v 1.28 2007-04-26 13:57:17 mike Exp $
<%once>
sub print_navlink {
my($params, $cond, $caption, $skip) = @_;
@@ -69,7 +69,7 @@ if ($sort) {
my $tried_to_open = 0;
if (!defined $conn) {
OPEN:
- $conn = new ZOOM::Connection("localhost:3313/IR-Explain---1");
+ $conn = new ZOOM::Connection("localhost:8018/IR-Explain---1");
$conn->option(elementSetName => "zeerex");
}
@@ -115,7 +115,8 @@ print_navlink(\%params, $last < $n, "Next", $skip+$count);
# |
Title |
- Reliability |
+ Reliability <& /help/link.mc, help => "info/reliability" &>
+ |
Host |
Port |
DB |
@@ -126,7 +127,7 @@ print_navlink(\%params, $last < $n, "Next", $skip+$count);
% foreach my $i ($first .. $last) {
<%perl>
my $xc = irspy_xpath_context($rs->record($i-1));
-my $title = $xc->find("e:databaseInfo/e:title");
+my $title = $xc->find("e:databaseInfo/e:title") || "[UNTITLED]";
my $reliability = calc_reliability($xc);
my $host = $xc->find("e:serverInfo/e:host");
my $port = $xc->find("e:serverInfo/e:port");
@@ -139,15 +140,15 @@ push @ids, $id;
<% $i %> |
"><% xml_encode($title, "[untitled]") %> |
+ %>"><% xml_encode($title) %>
<% xml_encode($reliability, "", { nbsp => 1 }) %> |
<% xml_encode($host, "") %> |
<% xml_encode($port, "") %> |
<% xml_encode($db, "") %> |
- " title="Test this target">Test " title="Edit this target's record">Edit 0, "Prev", $count < $skip ? $skip-$count : 0);
print_navlink(\%params, $last < $n, "Next", $skip+$count);
%perl>
- ">[Test all targets on this list]
+
+ ">[Statistics for targets on this list]
+
% }
|