summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-chillispot/luasrc/controller/chillispot.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-09-23 23:17:45 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-09-23 23:17:45 +0000
commite3260d06bd3ace4becf0a4ac9d4ca3fd1b727a0d (patch)
tree120c7de99a18e1100d37546d07e4d5c1f0b8dda6 /applications/luci-chillispot/luasrc/controller/chillispot.lua
parent0227e3cea1bbe3b9574d13b729129695aed017d3 (diff)
* luci/applications: add initial chillispot package (incomplete)
Diffstat (limited to 'applications/luci-chillispot/luasrc/controller/chillispot.lua')
-rw-r--r--applications/luci-chillispot/luasrc/controller/chillispot.lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/applications/luci-chillispot/luasrc/controller/chillispot.lua b/applications/luci-chillispot/luasrc/controller/chillispot.lua
new file mode 100644
index 0000000000..f3e52fa9d9
--- /dev/null
+++ b/applications/luci-chillispot/luasrc/controller/chillispot.lua
@@ -0,0 +1,26 @@
+--[[
+LuCI - Lua Configuration Interface
+
+Copyright 2008 Steven Barth <steven@midlink.org>
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+$Id$
+]]--
+module("luci.controller.chillispot", package.seeall)
+
+function index()
+
+ require("luci.i18n")
+ local i18n = luci.i18n.translate
+
+ entry( { "admin", "services", "chillispot" }, cbi("chillispot"), i18n("chillispot", "ChilliSpot"), 90)
+ entry( { "admin", "services", "chillispot", "network" }, cbi("chillispot_network"), i18n("chillispot_network", "Network Configuration"), 10)
+ entry( { "admin", "services", "chillispot", "radius" }, cbi("chillispot_radius"), i18n("chillispot_radius", "UAM and Radius Configuration"), 20)
+ entry( { "admin", "services", "chillispot", "macauth" }, cbi("chillispot_macauth"), i18n("chillispot_macauth", "MAC Authentication"), 30)
+
+end