From 85aa773b65fc458e754768b401f034f23e43ebdf Mon Sep 17 00:00:00 2001 From: BenoƮt Knecht Date: Mon, 12 Apr 2010 13:38:13 +0000 Subject: ddns: move 'update_url' just below 'service_name' --- applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'applications/luci-ddns/luasrc') 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" -- cgit v1.2.3