diff --git a/htroot/ConfigNetwork_p.html b/htroot/ConfigNetwork_p.html index decb0e96e..7c2c3aae9 100644 --- a/htroot/ConfigNetwork_p.html +++ b/htroot/ConfigNetwork_p.html @@ -65,9 +65,16 @@ #{networks}# #{/networks}# - + Enter custom URL... +
Network Nick
#[network.unit.name]#
Long Description
diff --git a/htroot/ConfigNetwork_p.java b/htroot/ConfigNetwork_p.java index 9046a33fc..6b4633305 100644 --- a/htroot/ConfigNetwork_p.java +++ b/htroot/ConfigNetwork_p.java @@ -67,8 +67,13 @@ public class ConfigNetwork_p "network settings"); if ( post.containsKey("changeNetwork") ) { - final String networkDefinition = + String networkDefinition = post.get("networkDefinition", "defaults/yacy.network.freeworld.unit"); + final String networkDefinitionURL = + post.get("networkDefinitionURL", ""); + if ( !networkDefinitionURL.equals("")) { + networkDefinition = networkDefinitionURL; + } if ( networkDefinition.equals(sb.getConfig("network.unit.definition", "")) ) { // no change commit = 3;