luci_voice.lua 604 B

123456789101112131415161718192021
  1. -- Copyright 2009 Daniel Dickinson
  2. -- Licensed to the public under the Apache License 2.0.
  3. module("luci.controller.luci_voice", package.seeall)
  4. function index()
  5. local e
  6. e = entry({"admin", "voice"}, template("luci_voice/index") , _("Voice"), 90)
  7. e.index = true
  8. e = entry({"mini", "voice"}, template("luci_voice/index"), _("Voice"), 90)
  9. e.index = true
  10. e = entry({"mini", "voice", "phones"}, template("luci_voice/phone_index"), _("Phones"), 90)
  11. e.index = true
  12. e = entry({"admin", "voice", "phones"}, template("luci_voice/phone_index"), _("Phones"), 90)
  13. e.index = true
  14. end