* Core translation
[project/luci.git] / modules / admin-core / luasrc / controller / admin / network.lua
1 --[[
2 LuCI - Lua Configuration Interface
3
4 Copyright 2008 Steven Barth <steven@midlink.org>
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12 $Id$
13 ]]--
14 module("luci.controller.admin.network", package.seeall)
15
16 function index()
17         local page  = node("admin", "network")
18         page.target = template("admin_network/index")
19         page.title  = "Netzwerk"  
20         page.order  = 50
21         
22         local page  = node("admin", "network", "vlan")
23         page.target = cbi("admin_network/vlan")
24         page.title  = "Switch"
25         page.order  = 10
26         
27         local page  = node("admin", "network", "ifaces")
28         page.target = cbi("admin_network/ifaces")
29         page.title  = "Schnittstellen"
30         page.order  = 20
31         
32         local page  = node("admin", "network", "dhcp")
33         page.target = cbi("admin_network/dhcp")
34         page.title  = "DHCP-Server"
35         page.order  = 30
36         
37         local page  = node("admin", "network", "ptp")
38         page.target = cbi("admin_network/ptp")
39         page.title  = "PPPoE / PPTP"
40         page.order  = 40
41         
42         local page  = node("admin", "network", "routes")
43         page.target = cbi("admin_network/routes")
44         page.title  = "Statische Routen"
45         page.order  = 50
46 end