From 2b79ff2d11fdda1afc40ff7bd3186e1b61ad0af7 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Thu, 24 Oct 2019 19:21:58 +0200 Subject: [PATCH] autoconfig option --- hsarback/src/de/hsadmin/mods/dom/DomainOptionValues.java | 2 +- hsarback/src/de/hsadmin/remote/PropertyRemote.java | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainOptionValues.java b/hsarback/src/de/hsadmin/mods/dom/DomainOptionValues.java index 898b2d4..0857321 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainOptionValues.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainOptionValues.java @@ -25,7 +25,7 @@ public class DomainOptionValues extends DefaultSelectableValues { list.add(new BooleanListValue("indexes")); list.add(new BooleanListValue("multiviews")); list.add(new BooleanListValue("letsencrypt")); - // list.add(new BooleanListValue("php5")); + list.add(new BooleanListValue("autoconfig")); return list; } diff --git a/hsarback/src/de/hsadmin/remote/PropertyRemote.java b/hsarback/src/de/hsadmin/remote/PropertyRemote.java index 6553d8a..e72ad86 100644 --- a/hsarback/src/de/hsadmin/remote/PropertyRemote.java +++ b/hsarback/src/de/hsadmin/remote/PropertyRemote.java @@ -66,7 +66,11 @@ public class PropertyRemote implements IRemote { if ("name".equals(fieldName)) { propertyProperties.put("displaySequence", "1"); } - propertyProperties.put("displayVisible", "always"); + if ("locked".equals(fieldName)) { + propertyProperties.put("displayVisible", "never"); + } else { + propertyProperties.put("displayVisible", "always"); + } propertyProperties.put("minLength", "0"); propertyProperties.put("maxLength", "999"); String regExp = fieldIO.validation();