X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=web%2Fhtdocs%2Fdetails%2Ffull.mc;h=13865ed1c1d7f06728e85c49ffd3f01ab6654cea;hb=2e6d7245c33b91bd4e466fa70ab01d1fbeef5e13;hp=cbacb42cda1e535dc0068e35fd5aa99b4e8deece;hpb=cb8ea484c8708d119447f7a9de96b357da5e0792;p=irspy-moved-to-github.git diff --git a/web/htdocs/details/full.mc b/web/htdocs/details/full.mc index cbacb42..13865ed 100644 --- a/web/htdocs/details/full.mc +++ b/web/htdocs/details/full.mc @@ -1,10 +1,7 @@ -%# $Id: full.mc,v 1.15 2006-11-15 13:23:05 mike Exp $ +%# $Id: full.mc,v 1.17 2006-11-16 17:12:30 mike Exp $ <%args> $id -<%once> -use ZOOM; - <%perl> my $conn = new ZOOM::Connection("localhost:3313/IR-Explain---1"); $conn->option(elementSetName => "zeerex"); @@ -17,8 +14,7 @@ if ($n == 0) { $m->comp("/details/error.mc", title => "Error", message => "No such ID '$id'"); } else { - my $rec = $rs->record(0); - my $xc = irspy_xpath_context($rec); + my $xc = irspy_xpath_context($rs->record(0)); my @fields = ( [ "Last Checked" => "i:status/i:probe[last()]" ], [ Protocol => "e:serverInfo/\@protocol" ],