diff options
-rw-r--r-- | applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua b/applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua index 2870683e6..e01675193 100644 --- a/applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua +++ b/applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua @@ -44,8 +44,11 @@ for _, v in luci.util.vspairs(services) do svc:value(v) end -svc:value("", translate("-- custom --")) +svc:value("", "-- "..translate("custom").." --") +url = s:option(Value, "update_url", translate("Custom update-URL")) +url:depends("service_name", "") +url.rmempty = true s:option(Value, "domain", translate("Hostname")).rmempty = true s:option(Value, "username", translate("Username")).rmempty = true @@ -82,10 +85,6 @@ else web.rmempty = true end -url = s:option(Value, "update_url", translate("Custom Update-URL")) -url:depends("service_name", "") -url.rmempty = true - s:option(Value, "check_interval", translate("Check for changed IP every")).default = 10 unit = s:option(ListValue, "check_unit", translate("Check-Time unit")) unit.default = "minutes" |