Globally reduce copyright headers
[project/luci.git] / applications / luci-app-ltqtapi / luasrc / model / cbi / luci_ltqtapi / account.lua
1 -- Copyright 2010 John Crispin <blogic@openwrt.org>
2 -- Licensed to the public under the Apache License 2.0.
3
4 m = Map("telephony", translate("VoIP"))
5 m.on_after_commit = function() luci.sys.call("/etc/init.d/telephony restart") end
6
7 s = m:section(TypedSection, "account", translate("Account"), translate("Here You can specify the SIP account that you want to use."))
8 s.anonymous = true
9 s.addremove = true
10
11 s:option(Value, "realm", translate("Realm"))
12 s:option(Value, "username", translate("Username"))
13 s:option(Value, "password", translate("Password"))
14 s:option(Flag, "disabled", translate("Disabled"))
15
16 return m