From: Manuel Munz Date: Mon, 28 Nov 2011 16:08:16 +0000 (+0000) Subject: applications/luci-statistics: Sort menu items alphabetically X-Git-Tag: 0.11.0~1308 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=79c3de4ea660ca66d6b9b940ebd9680bb6462d67;p=project%2Fluci.git applications/luci-statistics: Sort menu items alphabetically --- diff --git a/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua b/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua index 2508f9308c..87b22fcd27 100644 --- a/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua +++ b/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua @@ -37,35 +37,35 @@ function index() s_system = _("System plugins"), s_network = _("Network plugins"), - rrdtool = _("RRDTool"), - network = _("Network"), - unixsock = _("UnixSock"), - conntrack = _("Conntrack"), - csv = _("CSV Output"), - exec = _("Exec"), - email = _("Email"), + conntrack = _("Conntrack"), cpu = _("Processor"), + csv = _("CSV Output"), df = _("Disk Space Usage"), disk = _("Disk Usage"), + dns = _("DNS"), + email = _("Email"), + exec = _("Exec"), + interface = _("Interfaces"), + iptables = _("Firewall"), irq = _("Interrupts"), - processes = _("Processes"), load = _("System Load"), - interface = _("Interfaces"), memory = _("Memory"), netlink = _("Netlink"), - iptables = _("Firewall"), - tcpconns = _("TCP Connections"), + network = _("Network"), + olsrd = _("OLSRd"), ping = _("Ping"), - dns = _("DNS"), - wireless = _("Wireless"), - olsrd = _("OLSRd") + processes = _("Processes"), + rrdtool = _("RRDTool"), + tcpconns = _("TCP Connections"), + unixsock = _("UnixSock"), + wireless = _("Wireless") } -- our collectd menu local collectd_menu = { - output = { "rrdtool", "network", "unixsock", "csv" }, - system = { "exec", "email", "cpu", "df", "disk", "irq", "memory", "processes", "load" }, - network = { "interface", "netlink", "iptables", "conntrack", "tcpconns", "ping", "dns", "wireless", "olsrd" } + output = { "csv", "network", "rrdtool", "unixsock" }, + system = { "cpu", "df", "disk", "email", "exec", "irq", "load", "memory", "processes" }, + network = { "conntrack", "dns", "interface", "iptables", "netlink", "olsrd", "ping", "tcpconns", "wireless" } } -- create toplevel menu nodes