From 0d3558f0e7c361fc9ea5f71d8734eb2923488e1d Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 15 Nov 2006 13:20:32 +0000 Subject: [PATCH] Add new elements "type", "country" and "hosturl" requested by Per. --- web/htdocs/details/form.mc | 7 ++++++- web/htdocs/details/full.mc | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/web/htdocs/details/form.mc b/web/htdocs/details/form.mc index 2fd8bf8..12ffe1b 100644 --- a/web/htdocs/details/form.mc +++ b/web/htdocs/details/form.mc @@ -1,4 +1,4 @@ -%# $Id: form.mc,v 1.5 2006-11-15 13:15:19 mike Exp $ +%# $Id: form.mc,v 1.6 2006-11-15 13:20:32 mike Exp $ <%args> $id => undef $conn @@ -14,6 +14,9 @@ my @fields = [ port => 0, "Port", "e:serverInfo/e:port" ], [ dbname => 0, "Database Name", "e:serverInfo/e:database", qw(e:host e:port) ], + [ type => [ qw(Academic Public Corporate Special National Education Other) ], + "Type of Library", "i:status/i:libraryType" ], + [ country => 0, "Country", "i:status/i:country" ], [ username => 0, "Username (if needed)", "e:serverInfo/e:authentication/e:user", qw() ], [ password => 0, "Password (if needed)", "e:serverInfo/e:authentication/e:password", @@ -24,6 +27,8 @@ my @fields = qw(e:title) ], [ author => 0, "Author", "e:databaseInfo/e:author", qw(e:title e:description) ], + [ hosturl => 0, "URL to Hosting Organisation", "i:status/i:hostURL", + qw(e:title e:description) ], [ contact => 0, "Contact", "e:databaseInfo/e:contact", qw(e:title e:description) ], [ extent => 3, "Extent", "e:databaseInfo/e:extent", diff --git a/web/htdocs/details/full.mc b/web/htdocs/details/full.mc index 2ce16c3..cbacb42 100644 --- a/web/htdocs/details/full.mc +++ b/web/htdocs/details/full.mc @@ -1,4 +1,4 @@ -%# $Id: full.mc,v 1.14 2006-11-14 16:24:39 mike Exp $ +%# $Id: full.mc,v 1.15 2006-11-15 13:23:05 mike Exp $ <%args> $id @@ -25,6 +25,8 @@ if ($n == 0) { [ 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)" => @@ -35,6 +37,7 @@ if ($n == 0) { lang => "en", primary => "true" ], [ Author => "e:databaseInfo/e:author" ], [ Contact => "e:databaseInfo/e:contact" ], + [ "URL to Hosting Organisation" => "i:status/i:hostURL" ], [ Extent => "e:databaseInfo/e:extent" ], [ History => "e:databaseInfo/e:history" ], [ "Language of Records" => "e:databaseInfo/e:langUsage" ], -- 1.7.10.4