Add new elements "type", "country" and "hosturl" requested by Per.
[irspy-moved-to-github.git] / web / htdocs / details / form.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
 <%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) ],
      [ 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",
      [ 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) ],
        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",
      [ contact      => 0, "Contact", "e:databaseInfo/e:contact",
        qw(e:title e:description) ],
      [ extent       => 3, "Extent", "e:databaseInfo/e:extent",