dc1482e358909cca632c2a368eef4a3da44e87ef
[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 e.i18n = "voice_core"
22
23 e = entry({"mini", "voice"}, template("luci_voice/index"), _("Voice"), 90)
24 e.index = true
25 e.i18n = "voice_core"
26
27 e = entry({"mini", "voice", "phones"}, template("luci_voice/phone_index"), _("Phones"), 90)
28 e.index = true
29 e.i18n = "voice_core"
30
31 e = entry({"admin", "voice", "phones"}, template("luci_voice/phone_index"), _("Phones"), 90)
32 e.index = true
33 e.i18n = "voice_core"
34
35 end