From 79c3de4ea660ca66d6b9b940ebd9680bb6462d67 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Mon, 28 Nov 2011 16:08:16 +0000 Subject: [PATCH] applications/luci-statistics: Sort menu items alphabetically --- .../luci_statistics/luci_statistics.lua | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) 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 -- 2.30.2