X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=web%2Fhtdocs%2Fdetails%2Ffound.mc;h=f1540eafdf376dde5e625fc9ac79dae2a068cf15;hp=dc7caeebff04aec40e3edea7cc5d6b18d90e58d8;hb=da898e71d627fffba8a176f65e5f5323e13efa8b;hpb=c1c34528dbc95608f3dd6f6e32ab7dc97e53699e diff --git a/web/htdocs/details/found.mc b/web/htdocs/details/found.mc index dc7caee..f1540ea 100644 --- a/web/htdocs/details/found.mc +++ b/web/htdocs/details/found.mc @@ -1,4 +1,4 @@ -%# $Id: found.mc,v 1.30 2007-05-03 14:15:56 mike Exp $ +%# $Id: found.mc,v 1.32 2007-07-16 14:55:21 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"); @@ -115,7 +116,7 @@ print_navlink(\%params, $last < $n, "Next", $skip+$count); # Title - Reliability <& /help/link.mc, help => "info/reliability" &> + Host Connection Reliability <& /help/link.mc, help => "info/reliability" &> Host Port @@ -128,7 +129,7 @@ print_navlink(\%params, $last < $n, "Next", $skip+$count); <%perl> my $xc = irspy_xpath_context($rs->record($i-1)); my $title = $xc->find("e:databaseInfo/e:title") || "[UNTITLED]"; -my $reliability = calc_reliability($xc); +my $reliability = calc_reliability2($xc); my $host = $xc->find("e:serverInfo/e:host"); my $port = $xc->find("e:serverInfo/e:port"); my $db = $xc->find("e:serverInfo/e:database");