Add new elements "type", "country" and "hosturl" requested by Per.
authorMike Taylor <mike@indexdata.com>
Wed, 15 Nov 2006 13:20:32 +0000 (13:20 +0000)
committerMike Taylor <mike@indexdata.com>
Wed, 15 Nov 2006 13:20:32 +0000 (13:20 +0000)
web/htdocs/details/form.mc
web/htdocs/details/full.mc

index 2fd8bf8..12ffe1b 100644 (file)
@@ -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",
index 2ce16c3..cbacb42 100644 (file)
@@ -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
 </%args>
@@ -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" ],