c12399431e9029f3e9667c971bb9a2de89e6b7ae
[project/luci.git] / applications / luci-diag-core / luasrc / controller / luci_diag.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 require("luci.i18n")
15
16 module("luci.controller.luci_diag", package.seeall)
17
18 function index()
19         local e
20
21         e = entry({"admin", "network", "diag_config"}, template("diag/network_config_index") , _("Configure Diagnostics"), 120)
22         e.index = true
23         e.i18n = "diag_core"
24         e.dependent = true
25
26         e = entry({"mini", "diag"}, template("diag/index"), _("Diagnostics"), 120)
27         e.index = true
28         e.i18n = "diag_core"
29         e.dependent = true
30 end