X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=web%2Fhtdocs%2Fdetails%2Fedit.mc;h=363dbbc6fc1079c36a97eebec68792ec90c72675;hp=4d926f668a9a1e18de27fe28e14a752955e15bc1;hb=HEAD;hpb=e70905f79ecabe6752a95bb231263b0f1ac5ea9d diff --git a/web/htdocs/details/edit.mc b/web/htdocs/details/edit.mc index 4d926f6..363dbbc 100644 --- a/web/htdocs/details/edit.mc +++ b/web/htdocs/details/edit.mc @@ -68,9 +68,9 @@ if (!defined $id) { } elsif (!defined $newid) { # Tried to create new record but data is insufficient print qq[

- Please specify title, protocol, host, port and database name.

\n]; + Please specify name, protocol, host, port and database name.

\n]; undef $update; - } elsif ($host !~ /^\w+\.[\w.]*\w$/i) { + } elsif ($host !~ /^[\w-]+\.[\w.-]*\w$/i) { print qq[

This host name is not valid.

\n]; undef $update; @@ -121,12 +121,15 @@ my @fields = [ port => 0, "Port", "e:serverInfo/e:port" ], [ dbname => 0, "Database Name", "e:serverInfo/e:database", qw(e:host e:port) ], + [ udb => 0, "Access Name (Unique DB)", "e:databaseInfo/i:udb", qw(e:host e:port e:database) ], [ type => $m->comp("libtype-list.mc"), "Type of Library", "i:status/i:libraryType" ], [ username => 0, "Username (if needed)", "e:serverInfo/e:authentication/e:user", qw() ], [ password => 0, "Password (if needed)", "e:serverInfo/e:authentication/e:password", qw(e:user) ], + [ proxy => 0, "Proxy (if needed)", "e:serverInfo/e:authentication/e:proxy", + qw(e:password) ], [ description => 5, "Description", "e:databaseInfo/e:description", qw(e:title) ], [ author => 0, "Author", "e:databaseInfo/e:author",