-%# $Id: full.mc,v 1.16 2006-11-16 11:48:49 mike Exp $
+%# $Id: full.mc,v 1.18 2006-12-05 17:37:26 mike Exp $
<%args>
$id
</%args>
$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 = (
+ [ Name => "e:databaseInfo/e:title",
+ lang => "en", primary => "true" ],
+ [ Country => "i:status/i:country" ],
[ "Last Checked" => "i:status/i:probe[last()]" ],
[ Protocol => "e:serverInfo/\@protocol" ],
[ Host => "e:serverInfo/e:host" ],
[ Port => "e:serverInfo/e:port" ],
[ "Database Name" => "e:serverInfo/e:database" ],
[ "Type of Library" => "i:status/i:libraryType" ],
- [ Country => "i:status/i:country" ],
[ "Username (if needed)" =>
"e:serverInfo/e:authentication/e:user" ],
[ "Password (if needed)" =>
"e:serverInfo/e:authentication/e:password" ],
- [ Title => "e:databaseInfo/e:title",
- lang => "en", primary => "true" ],
[ Description => "e:databaseInfo/e:description",
lang => "en", primary => "true" ],
[ Author => "e:databaseInfo/e:author" ],