summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-p2pblock/luasrc/controller
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-06-07 20:06:23 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-06-07 20:06:23 +0000
commit74fd320885823ababc05c3962dadb96f615c02ed (patch)
treec09b37aacaab65d1bb7163318cc162f279f4c3ba /applications/luci-p2pblock/luasrc/controller
parent22a9d2ba01f0794f894f7eb0849dfab8915aec1f (diff)
applications: add luci-p2pblock, frontend for freifunk-p2pblock
Diffstat (limited to 'applications/luci-p2pblock/luasrc/controller')
-rw-r--r--applications/luci-p2pblock/luasrc/controller/ff_p2pblock.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/applications/luci-p2pblock/luasrc/controller/ff_p2pblock.lua b/applications/luci-p2pblock/luasrc/controller/ff_p2pblock.lua
new file mode 100644
index 0000000000..9184d99914
--- /dev/null
+++ b/applications/luci-p2pblock/luasrc/controller/ff_p2pblock.lua
@@ -0,0 +1,21 @@
+--[[
+LuCI - Lua Configuration Interface
+
+Copyright 2009 Jo-Philipp Wich <xm@subsignal.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.ff_p2pblock", package.seeall)
+
+function index()
+ require("luci.i18n").loadc("freifunk")
+ entry({"admin", "network", "firewall", "p2pblock"}, cbi("luci_fw/p2pblock"),
+ luci.i18n.translate("ff_p2pblock", "P2P-Block"), 40)
+end