Commit ddca1ca8 authored by Franco Fichtner's avatar Franco Fichtner

configuration: add more backup/restore sections; closes #747

(cherry picked from commit 7c5db320)
parent ba555a53
...@@ -130,27 +130,48 @@ function restore_rrddata() { ...@@ -130,27 +130,48 @@ function restore_rrddata() {
} }
} }
$areas = array("aliases" => gettext("Aliases"), $areas = array(
"dnsmasq" => gettext("DNS Forwarder"), 'OPNsense' => gettext('OPNsense Additions'), /* XXX need specifics */
"dhcpd" => gettext("DHCP Server"), 'aliases' => gettext('Aliases'),
"dhcpdv6" => gettext("DHCPv6 Server"), 'bridges' => gettext('Bridge Devices'),
"filter" => gettext("Firewall Rules"), 'ca' => gettext('SSL Certificate Authorities'),
"interfaces" => gettext("Interfaces"), 'cert' => gettext('SSL Certificates'),
"ipsec" => gettext("IPSEC"), 'cron' => gettext('Scheduled Tasks'),
"nat" => gettext("NAT"), 'dhcpd' => gettext('DHCP Server'),
"openvpn" => gettext("OpenVPN"), 'dhcpdv6' => gettext('DHCPv6 Server'),
"pptpd" => gettext("PPTP Server"), 'dhcrelay' => gettext('DHCP Relay'),
"rrddata" => gettext("RRD Data"), 'dhcrelay6' => gettext('DHCPv6 Relay'),
"cron" => gettext("Scheduled Tasks"), 'dnsmasq' => gettext('DNS Forwarder'),
"syslog" => gettext("Syslog"), 'dyndnses' => gettext('Dynamic DNS'),
"system" => gettext("System"), 'filter' => gettext('Firewall Rules'),
"staticroutes" => gettext("Static routes"), 'gateways' => gettext('Gateways'),
"sysctl" => gettext("System tunables"), 'gifs' => gettext('GIF Devices'),
"snmpd" => gettext("SNMP Server"), 'igmpproxy' => gettext('IGMP Proxy'),
"vlans" => gettext("VLANS"), 'installedpackages' => gettext('Universal Plug and Play'), /* XXX only one, reduce depth! */
"wol" => gettext("Wake on LAN") 'interfaces' => gettext('Interfaces'),
); 'ipsec' => gettext('IPSEC'),
'laggs' => gettext('LAGG Devices'),
'load_balancer' => gettext('Load Balancer'),
'nat' => gettext('Network Address Translation'),
'notifications' => gettext('System Notifications'),
'ntpd' => gettext('Network Time'),
'opendns' => gettext('DNS Filter'),
'openvpn' => gettext('OpenVPN'),
'ppps' => gettext('Point-to-Point Devices'),
'pptpd' => gettext('PPTP Server'),
'proxyarp' => gettext('Proxy ARP'),
'rrddata' => gettext('RRD Data'),
'snmpd' => gettext('SNMP Server'),
'staticroutes' => gettext('Static routes'),
'sysctl' => gettext('System tunables'),
'syslog' => gettext('Syslog'),
'system' => gettext('System'),
'unbound' => gettext('DNS Resolver'),
'vlans' => gettext('VLAN Devices'),
'widgets' => gettext('Dashboard Widgets'),
'wireless' => gettext('Wireless Devices'),
'wol' => gettext('Wake on LAN'),
);
if ($_SERVER['REQUEST_METHOD'] === 'GET') { if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$pconfig = array(); $pconfig = array();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment