summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ushare/luasrc/model
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-09-24 21:12:56 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-09-24 21:12:56 +0000
commit84faf2b8e916ccc9c908bad5f9623786702cec3e (patch)
tree6ca74d3c42d59bf2a24223c417c8c2a9dda29edd /applications/luci-ushare/luasrc/model
parent92eb36412ce62a7e493e625db4018bf99d5eaba2 (diff)
* luci/app/ushare: extend cbi model, add xml and german translations
Diffstat (limited to 'applications/luci-ushare/luasrc/model')
-rw-r--r--applications/luci-ushare/luasrc/model/cbi/ushare.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/applications/luci-ushare/luasrc/model/cbi/ushare.lua b/applications/luci-ushare/luasrc/model/cbi/ushare.lua
index 254ea2331..d90d2640f 100644
--- a/applications/luci-ushare/luasrc/model/cbi/ushare.lua
+++ b/applications/luci-ushare/luasrc/model/cbi/ushare.lua
@@ -14,7 +14,7 @@ $Id$
]]--
m = Map("ushare", translate("ushare"),
- translatef("ushare_desc"))
+ translate("ushare_desc"))
s = m:section(TypedSection, "ushare", translate("settings"))
s.addremove = false
@@ -33,6 +33,10 @@ end
s:option(Value, "content_directories", translate("content_directories"))
+s:option(Flag, "disable_webif", translate("disable_webif"))
+
+s:option(Flag, "disable_telnet", translate("disable_telnet"))
+
s:option(Value, "options", translate("options"))
return m