- $sublogs->{'10.summary'} = {'caption' => $tr{'log summary'},
- 'uri' => '/cgi-bin/logs.cgi/summary.dat',
- 'title' => "$tr{'log summary'}",
- 'enabled' => 1
- };
- $sublogs->{'20.settings'} = {'caption' => $tr{'log settings'},
- 'uri' => '/cgi-bin/logs.cgi/config.dat',
- 'title' => "$tr{'log settings'}",
- 'enabled' => 1
- };
- $sublogs->{'30.proxy'} = {'caption' => $tr{'proxy logs'},
- 'uri' => '/cgi-bin/logs.cgi/proxylog.dat',
- 'title' => "$tr{'proxy logs'}",
- 'enabled' => 1
- };
- $sublogs->{'40.firewall'} = {'caption' => $tr{'firewall logs'},
- 'uri' => '/cgi-bin/logs.cgi/firewalllog.dat',
- 'title' => "$tr{'firewall logs'}",
- 'enabled' => 1
- };
- $sublogs->{'50.ids'} = {'caption' => $tr{'ids logs'},
- 'uri' => '/cgi-bin/logs.cgi/ids.dat',
- 'title' => "$tr{'ids logs'}",
- 'enabled' => 1
- };
- $sublogs->{'60.urlfilter'} = {
- 'caption' => $tr{'urlfilter logs'},
- 'uri' => '/cgi-bin/logs.cgi/urlfilter.dat',
- 'title' => "$tr{'urlfilter log'}",
- 'enabled' => 1,
- };
- $sublogs->{'70.openvpn'} = {'caption' => $tr{'openvpn log'},
- 'uri' => '/cgi-bin/logs.cgi/openvpn.dat',
- 'title' => "$tr{'openvpn log'}",
- 'enabled' => 1
- };
- $sublogs->{'80.system'} = {'caption' => $tr{'system logs'},
- 'uri' => '/cgi-bin/logs.cgi/log.dat',
- 'title' => "$tr{'system logs'}",
- 'enabled' => 1
- };
- $sublogs->{'90.userlog'} = {'caption' => $tr{'user proxy logs'},
- 'uri' => '/cgi-bin/logs.cgi/userlog.dat',
- 'title' => "$tr{'user log'}",
- 'enabled' => 1
- };
-
- my %subipfirehash = ();
- my $subipfire = \%subipfirehash;
- $subipfire->{'10.pakfire'} = {'caption' => 'Pakfire',
- 'uri' => '/cgi-bin/pakfire.cgi',
- 'title' => "Pakfire",
- 'enabled' => 1,
- };
- $subipfire->{'20.asterisk'} = {'caption' => 'Asterisk',
- 'uri' => '/cgi-bin/asterisk.cgi',
- 'title' => "Asterisk",
- 'enabled' => 1,
- };
- $subipfire->{'30.samba'} = {'caption' => 'Samba',
- 'uri' => '/cgi-bin/samba.cgi',
- 'title' => "Samba",
- 'enabled' => 1,
- };
- $subipfire->{'99.help'} = {'caption' => $tr{'help'},
- 'uri' => '/cgi-bin/help.cgi',
- 'title' => "$tr{'help'}",
- 'enabled' => 1,
- };
-
-
-
- $menu->{'01.system'} = {'caption' => $tr{'alt system'},
- 'enabled' => 1,
- 'subMenu' => $subsystem
- };
- $menu->{'02.status'} = {'caption' => $tr{'status'},
- 'enabled' => 1,
- 'subMenu' => $substatus
- };
- $menu->{'03.network'} = {'caption' => $tr{'network'},
- 'enabled' => 1,
- 'subMenu' => $subnetwork
- };
- $menu->{'04.services'} = {'caption' => $tr{'alt services'},
- 'enabled' => 1,
- 'subMenu' => $subservices
- };
- $menu->{'05.firewall'} = {'caption' => $tr{'firewall'},
- 'enabled' => 1,
- 'subMenu' => $subfirewall
- };
- $menu->{'06.proxy'} = {'caption' => $tr{'alt proxy'},
- 'enabled' => 1,
- 'subMenu' => $subproxy
- };
- $menu->{'07.ipfire'} = {'caption' => 'IPFire',
- 'enabled' => 1,
- 'subMenu' => $subipfire
- };
- $menu->{'08.logs'} = {'caption' => $tr{'alt logs'},
- 'enabled' => 1,
- 'subMenu' => $sublogs
- };