git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
3671720
)
applications/luci-ntpc: Refreshed CBI model to work with latest UCI scheme
author
Steven Barth
<redacted>
Thu, 14 Aug 2008 16:48:17 +0000
(16:48 +0000)
committer
Steven Barth
<redacted>
Thu, 14 Aug 2008 16:48:17 +0000
(16:48 +0000)
applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua
patch
|
blob
|
history
diff --git
a/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua
b/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua
index cc46983847ab6eba2839c145f99cbe82574a89fe..d8b35c6e1b32bf5620f7ab97b4e1b0b0df9df68a 100644
(file)
--- a/
applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua
+++ b/
applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua
@@
-12,15
+12,11
@@
You may obtain a copy of the License at
$Id$
]]--
-require("luci.tools.webadmin")
m = Map("ntpclient", translate("ntpc"), translate("ntpc_desc"))
s = m:section(TypedSection, "ntpclient", translate("general"))
s.anonymous = true
-iface = s:option(ListValue, "iface", translate("ntpc_iface"), translate("ntpc_iface_desc"))
-luci.tools.webadmin.cbi_add_networks(iface)
-
s:option(Value, "interval", translate("ntpc_interval"))
s:option(Value, "count", translate("ntpc_count"), translate("ntpc_count_desc"))
git clone https://git.99rst.org/PROJECT