X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=web%2Fhtdocs%2Fdetails%2Ffound.mc;h=7df2dff5a1518242c5d946c62f38ba1b94f328b6;hp=20e808f0da59129c74ca6f636fe23553e17d6f0f;hb=07bd6ea6c324b2707538656eb0526a223826922d;hpb=01cd844b101715ca6fc9610fb55eff0592ce4bec diff --git a/web/htdocs/details/found.mc b/web/htdocs/details/found.mc index 20e808f..7df2dff 100644 --- a/web/htdocs/details/found.mc +++ b/web/htdocs/details/found.mc @@ -1,4 +1,4 @@ -%# $Id: found.mc,v 1.19 2006-11-16 12:17:02 mike Exp $ +%# $Id: found.mc,v 1.20 2006-11-16 17:10:30 mike Exp $ <%once> sub print_navlink { my($params, $cond, $caption, $skip) = @_; @@ -110,8 +110,7 @@ print_navlink(\%params, $last < $n, "Next", $skip+$count); % my @ids; % foreach my $i ($first .. $last) { <%perl> -my $rec = $rs->record($i-1); -my $xc = irspy_xpath_context($rec); +my $xc = irspy_xpath_context($rs->record($i-1)); my $title = $xc->find("e:databaseInfo/e:title"); my $author = $xc->find("e:databaseInfo/e:author"); my $host = $xc->find("e:serverInfo/e:host");