summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorBenoît Knecht <benoit.knecht@gmail.com>2010-04-12 13:38:13 +0000
committerBenoît Knecht <benoit.knecht@gmail.com>2010-04-12 13:38:13 +0000
commit85aa773b65fc458e754768b401f034f23e43ebdf (patch)
tree157adc0325c520527cba39fe0528940a05e5728d /applications
parent85821b20f615a9c1e47b280a9f6f4f4f5e98ae83 (diff)
ddns: move 'update_url' just below 'service_name'
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua9
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"