projects
/
irspy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add IRSPY_COUNTER_FILE setting to live config.
[irspy-moved-to-github.git]
/
web
/
htdocs
/
details
/
edit.mc
diff --git
a/web/htdocs/details/edit.mc
b/web/htdocs/details/edit.mc
index
881b5ce
..
e0cb6e7
100644
(file)
--- 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[<p class="error">
} elsif (!defined $newid) {
# Tried to create new record but data is insufficient
print qq[<p class="error">
- Please specify title, protocol, host, port and database name.</p>\n];
+ Please specify name, protocol, host, port and database name.</p>\n];
undef $update;
undef $update;
- } elsif ($host !~ /^\w+\.[\w.]*\w$/i) {
+ } elsif ($host !~ /^[\w-]+\.[\w.-]*\w$/i) {
print qq[<p class="error">
This host name is not valid.</p>\n];
undef $update;
print qq[<p class="error">
This host name is not valid.</p>\n];
undef $update;
@@
-337,6
+337,8
@@
my @fields =
qw(e:title e:description) ],
[ subjects => 2, "Subjects", "e:databaseInfo/e:subjects",
qw(e:title e:description) ],
qw(e:title e:description) ],
[ subjects => 2, "Subjects", "e:databaseInfo/e:subjects",
qw(e:title e:description) ],
+ [ disabled => [ qw(0 1) ],
+ "Target Test Disabled", "i:status/i:disabled" ],
);
# Update record with submitted data
);
# Update record with submitted data