X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=web%2Fhtdocs%2Fdetails%2Ffound.mc;h=156a7f216679d192b8c7b30c598987fe7cdde8cd;hp=dab6199e458926ab89c9191776ba088811b82b71;hb=ba428e5d185c75364fab4a12603be9f27e3bd097;hpb=d5a78c57cbd06e19c3186999a05172a8aa9eb6d7 diff --git a/web/htdocs/details/found.mc b/web/htdocs/details/found.mc index dab6199..156a7f2 100644 --- a/web/htdocs/details/found.mc +++ b/web/htdocs/details/found.mc @@ -1,4 +1,4 @@ -%# $Id: found.mc,v 1.26 2007-02-20 19:20:23 mike Exp $ +%# $Id: found.mc,v 1.31 2007-07-04 20:54:11 mike Exp $ <%once> sub print_navlink { my($params, $cond, $caption, $skip) = @_; @@ -21,8 +21,9 @@ sub navlink { # Identical to the same-named function in full.mc # So maybe this should go into IRSpy::Utils.pm? +# Name changed (append 2) to prevent inadvertent clashes in Mason namespace # -sub calc_reliability { +sub calc_reliability2 { my($xc) = @_; my @allpings = $xc->findnodes("i:status/i:probe"); @@ -38,7 +39,7 @@ sub calc_reliability { our $conn = undef; %once> <%perl> -my %params = map { ( $_, $r->param($_)) } grep { $r->param($_) } $r->param(); +my %params = map { ( $_, utf8param($r, $_)) } grep { $r->param($_) } $r->param(); my $query; if ($params{_query}) { $query = $params{_query}; @@ -115,7 +116,8 @@ print_navlink(\%params, $last < $n, "Next", $skip+$count);