projects
/
irspy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
"No" link to full.mc is now absolute.
[irspy-moved-to-github.git]
/
web
/
htdocs
/
details
/
found.mc
diff --git
a/web/htdocs/details/found.mc
b/web/htdocs/details/found.mc
index
7e1eb0a
..
dab6199
100644
(file)
--- a/
web/htdocs/details/found.mc
+++ b/
web/htdocs/details/found.mc
@@
-1,4
+1,4
@@
-%# $Id: found.mc,v 1.22 2006-12-05 17:18:30 mike Exp $
+%# $Id: found.mc,v 1.26 2007-02-20 19:20:23 mike Exp $
<%once>
sub print_navlink {
my($params, $cond, $caption, $skip) = @_;
<%once>
sub print_navlink {
my($params, $cond, $caption, $skip) = @_;
@@
-52,7
+52,7
@@
if ($params{_query}) {
$query .= "$key = ($val)";
}
}
$query .= "$key = ($val)";
}
}
-$query = 'cql.allRecords=x' if $query eq "";
+$query = 'cql.allRecords=1' if $query eq "";
my $sort = $params{"_sort"};
if ($sort) {
my $sort = $params{"_sort"};
if ($sort) {
@@
-69,7
+69,7
@@
if ($sort) {
my $tried_to_open = 0;
if (!defined $conn) {
OPEN:
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");
}
$conn->option(elementSetName => "zeerex");
}
@@
-145,9
+145,9
@@
push @ids, $id;
<td><% xml_encode($port, "") %></td>
<td><% xml_encode($db, "") %></td>
<td>
<td><% xml_encode($port, "") %></td>
<td><% xml_encode($db, "") %></td>
<td>
- <a href="<% xml_encode("/check.html?id=" . uri_escape($id))
+ <a href="<% xml_encode("/admin/check.html?id=" . uri_escape($id))
%>" title="Test this target">Test</a
%>" title="Test this target">Test</a
- > <a href="<% xml_encode("/edit.html?op=edit&id=" .
+ > <a href="<% xml_encode("/admin/edit.html?op=edit&id=" .
uri_escape($id))
%>" title="Edit this target's record">Edit</a
> <a href="<% xml_encode("/raw.html?id=" . uri_escape($id))
uri_escape($id))
%>" title="Edit this target's record">Edit</a
> <a href="<% xml_encode("/raw.html?id=" . uri_escape($id))
@@
-161,8
+161,12
@@
print_navlink(\%params, $skip > 0, "Prev", $count < $skip ? $skip-$count : 0);
print_navlink(\%params, $last < $n, "Next", $skip+$count);
</%perl>
<p>
print_navlink(\%params, $last < $n, "Next", $skip+$count);
</%perl>
<p>
- <a href="<% "/check.html?" .
+ <a href="<% "/admin/check.html?" .
xml_encode(join("&", map { "id=" . uri_escape($_) } @ids))
%>">[Test all targets on this list]</a>
</p>
xml_encode(join("&", map { "id=" . uri_escape($_) } @ids))
%>">[Test all targets on this list]</a>
</p>
+ <p>
+ <a href="<% "/stats.html?query=" . xml_encode(uri_escape($query))
+ %>">[Statistics for targets on this list]</a>
+ </p>
% }
% }