luci-0.11: merge outstanding trunk changes
[project/luci.git] / applications / luci-voice-core / luasrc / controller / luci_voice.lua
1 --[[
2
3 Luci Voice Core
4 (c) 2009 Daniel Dickinson
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 ]]--
13
14 module("luci.controller.luci_voice", package.seeall)
15
16 function index()
17 local e
18
19 e = entry({"admin", "voice"}, template("luci_voice/index") , _("Voice"), 90)
20 e.index = true
21
22 e = entry({"mini", "voice"}, template("luci_voice/index"), _("Voice"), 90)
23 e.index = true
24
25 e = entry({"mini", "voice", "phones"}, template("luci_voice/phone_index"), _("Phones"), 90)
26 e.index = true
27
28 e = entry({"admin", "voice", "phones"}, template("luci_voice/phone_index"), _("Phones"), 90)
29 e.index = true
30
31 end