Revision b32dd0a6
Added by Jim Pingle almost 13 years ago
usr/local/www/carp_status.php | ||
---|---|---|
90 | 90 |
$status = get_carp_status(); |
91 | 91 |
|
92 | 92 |
$pgtitle = array(gettext("Status"),gettext("CARP")); |
93 |
$shortcut_section = "carp"; |
|
93 | 94 |
include("head.inc"); |
94 | 95 |
|
95 | 96 |
?> |
usr/local/www/diag_ipsec.php | ||
---|---|---|
46 | 46 |
global $g; |
47 | 47 |
|
48 | 48 |
$pgtitle = array(gettext("Status"),gettext("IPsec")); |
49 |
$shortcut_section = "ipsec"; |
|
49 | 50 |
|
50 | 51 |
require("guiconfig.inc"); |
51 | 52 |
include("head.inc"); |
usr/local/www/diag_ipsec_sad.php | ||
---|---|---|
47 | 47 |
require("ipsec.inc"); |
48 | 48 |
|
49 | 49 |
$pgtitle = array(gettext("Status"),gettext("IPsec"),gettext("SAD")); |
50 |
$shortcut_section = "ipsec"; |
|
50 | 51 |
include("head.inc"); |
51 | 52 |
|
52 | 53 |
$sad = ipsec_dump_sad(); |
usr/local/www/diag_ipsec_spd.php | ||
---|---|---|
47 | 47 |
require("ipsec.inc"); |
48 | 48 |
|
49 | 49 |
$pgtitle = array(gettext("Status"),gettext("IPsec"),gettext("SPD")); |
50 |
$shortcut_section = "ipsec"; |
|
50 | 51 |
include("head.inc"); |
51 | 52 |
|
52 | 53 |
/* delete any SP? */ |
usr/local/www/diag_logs_auth.php | ||
---|---|---|
52 | 52 |
clear_log_file($portal_logfile); |
53 | 53 |
|
54 | 54 |
$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("Portal Auth")); |
55 |
$shortcut_section = "captiveportal"; |
|
55 | 56 |
include("head.inc"); |
56 | 57 |
|
57 | 58 |
?> |
usr/local/www/diag_logs_dhcp.php | ||
---|---|---|
57 | 57 |
} |
58 | 58 |
|
59 | 59 |
$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("DHCP")); |
60 |
$shortcut_section = "dhcp"; |
|
60 | 61 |
include("head.inc"); |
61 | 62 |
|
62 | 63 |
?> |
usr/local/www/diag_logs_filter.php | ||
---|---|---|
88 | 88 |
clear_log_file($filter_logfile); |
89 | 89 |
|
90 | 90 |
$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("Firewall")); |
91 |
$shortcut_section = "firewall"; |
|
91 | 92 |
include("head.inc"); |
92 | 93 |
|
93 | 94 |
?> |
usr/local/www/diag_logs_filter_dynamic.php | ||
---|---|---|
59 | 59 |
$filterlog = conv_log_filter($filter_logfile, $nentries, $nentries + 100); |
60 | 60 |
|
61 | 61 |
$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("Firewall (Dynamic View)")); |
62 |
$shortcut_section = "firewall"; |
|
62 | 63 |
include("head.inc"); |
63 | 64 |
|
64 | 65 |
?> |
usr/local/www/diag_logs_filter_summary.php | ||
---|---|---|
32 | 32 |
*/ |
33 | 33 |
|
34 | 34 |
$pgtitle = gettext("Status").": ".gettext("System logs").": ".gettext("Firewall Log Summary"); |
35 |
$shortcut_section = "firewall"; |
|
35 | 36 |
require_once("guiconfig.inc"); |
36 | 37 |
include_once("filter_log.inc"); |
37 | 38 |
|
usr/local/www/diag_logs_gateways.php | ||
---|---|---|
64 | 64 |
$filtertextmeta="?filtertext=$filtertext"; |
65 | 65 |
|
66 | 66 |
$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("Gateways")); |
67 |
$shortcut_section = "gateways"; |
|
67 | 68 |
include("head.inc"); |
68 | 69 |
|
69 | 70 |
?> |
usr/local/www/diag_logs_ipsec.php | ||
---|---|---|
89 | 89 |
$ipsec_logarr = return_clog($ipsec_logfile, $nentries); |
90 | 90 |
|
91 | 91 |
$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("IPsec VPN")); |
92 |
$shortcut_section = "ipsec"; |
|
92 | 93 |
include("head.inc"); |
93 | 94 |
|
94 | 95 |
?> |
usr/local/www/diag_logs_ntpd.php | ||
---|---|---|
52 | 52 |
clear_log_file($ntpd_logfile); |
53 | 53 |
|
54 | 54 |
$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("NTP")); |
55 |
$shortcut_section = "ntp"; |
|
55 | 56 |
include("head.inc"); |
56 | 57 |
|
57 | 58 |
?> |
usr/local/www/diag_logs_openvpn.php | ||
---|---|---|
43 | 43 |
##|-PRIV |
44 | 44 |
|
45 | 45 |
$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("OpenVPN")); |
46 |
$shortcut_section = "openvpn"; |
|
46 | 47 |
|
47 | 48 |
require("guiconfig.inc"); |
48 | 49 |
require_once("vpn.inc"); |
usr/local/www/diag_logs_relayd.php | ||
---|---|---|
53 | 53 |
clear_log_file($relayd_logfile); |
54 | 54 |
|
55 | 55 |
$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("Load Balancer")); |
56 |
$shortcut_section = "relayd"; |
|
56 | 57 |
include("head.inc"); |
57 | 58 |
|
58 | 59 |
?> |
usr/local/www/diag_logs_resolver.php | ||
---|---|---|
45 | 45 |
|
46 | 46 |
require("guiconfig.inc"); |
47 | 47 |
|
48 |
$shortcut_section = "resolver"; |
|
49 |
|
|
50 | 48 |
$system_logfile = "{$g['varlog_path']}/resolver.log"; |
51 | 49 |
|
52 | 50 |
$nentries = $config['syslog']['nentries']; |
... | ... | |
66 | 64 |
$filtertextmeta="?filtertext=$filtertext"; |
67 | 65 |
|
68 | 66 |
$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("Resolver")); |
67 |
$shortcut_section = "resolver"; |
|
69 | 68 |
include("head.inc"); |
70 | 69 |
|
71 | 70 |
?> |
usr/local/www/diag_logs_routing.php | ||
---|---|---|
52 | 52 |
clear_log_file($routing_logfile); |
53 | 53 |
|
54 | 54 |
$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("Routing")); |
55 |
$shortcut_section = "routing"; |
|
55 | 56 |
include("head.inc"); |
56 | 57 |
|
57 | 58 |
?> |
usr/local/www/diag_logs_wireless.php | ||
---|---|---|
54 | 54 |
clear_log_file($wireless_logfile); |
55 | 55 |
|
56 | 56 |
$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("Wireless")); |
57 |
$shortcut_section = "wireless"; |
|
57 | 58 |
include("head.inc"); |
58 | 59 |
|
59 | 60 |
?> |
usr/local/www/diag_routes.php | ||
---|---|---|
43 | 43 |
include('guiconfig.inc'); |
44 | 44 |
|
45 | 45 |
$pgtitle = array(gettext("Diagnostics"),gettext("Routing tables")); |
46 |
$shortcut_section = "routing"; |
|
46 | 47 |
|
47 | 48 |
include('head.inc'); |
48 | 49 |
|
usr/local/www/firewall_rules.php | ||
---|---|---|
41 | 41 |
##|*MATCH=firewall_rules.php* |
42 | 42 |
##|-PRIV |
43 | 43 |
|
44 |
$statusurl = "status_filter_reload.php"; |
|
45 |
$logurl = "diag_logs_filter.php"; |
|
46 |
|
|
47 | 44 |
require("guiconfig.inc"); |
48 | 45 |
require_once("functions.inc"); |
49 | 46 |
require_once("filter.inc"); |
50 | 47 |
require_once("shaper.inc"); |
51 | 48 |
|
52 | 49 |
$pgtitle = array(gettext("Firewall"),gettext("Rules")); |
50 |
$shortcut_section = "firewall"; |
|
53 | 51 |
|
54 | 52 |
function delete_nat_association($id) { |
55 | 53 |
global $config; |
usr/local/www/firewall_rules_edit.php | ||
---|---|---|
658 | 658 |
} |
659 | 659 |
|
660 | 660 |
$pgtitle = array(gettext("Firewall"),gettext("Rules"),gettext("Edit")); |
661 |
$statusurl = "status_filter_reload.php"; |
|
662 |
$logurl = "diag_logs_filter.php"; |
|
661 |
$shortcut_section = "firewall"; |
|
663 | 662 |
|
664 | 663 |
$closehead = false; |
665 | 664 |
|
usr/local/www/firewall_shaper.php | ||
---|---|---|
52 | 52 |
} |
53 | 53 |
|
54 | 54 |
$pgtitle = array(gettext("Firewall"),gettext("Traffic Shaper")); |
55 |
$statusurl = "status_queues.php";
|
|
55 |
$shortcut_section = "trafficshaper";
|
|
56 | 56 |
|
57 | 57 |
$shaperIFlist = get_configured_interface_with_descr(); |
58 | 58 |
read_altq_config(); |
usr/local/www/firewall_shaper_layer7.php | ||
---|---|---|
57 | 57 |
|
58 | 58 |
//More variables |
59 | 59 |
$pgtitle = array(gettext("Firewall"),gettext("Traffic Shaper"), gettext("Layer7")); |
60 |
$statusurl = "status_queues.php";
|
|
60 |
$shortcut_section = "trafficshaper";
|
|
61 | 61 |
|
62 | 62 |
$output_form = ""; |
63 | 63 |
|
usr/local/www/firewall_shaper_queues.php | ||
---|---|---|
170 | 170 |
} |
171 | 171 |
|
172 | 172 |
$pgtitle = gettext("Firewall: Shaper: By Queues View"); |
173 |
$statusurl = "status_queues.php";
|
|
173 |
$shortcut_section = "trafficshaper";
|
|
174 | 174 |
|
175 | 175 |
include("head.inc"); |
176 | 176 |
?> |
usr/local/www/firewall_shaper_vinterface.php | ||
---|---|---|
52 | 52 |
} |
53 | 53 |
|
54 | 54 |
$pgtitle = array(gettext("Firewall"),gettext("Traffic Shaper"), gettext("Limiter")); |
55 |
$statusurl = "status_queues.php";
|
|
55 |
$shortcut_section = "trafficshaper";
|
|
56 | 56 |
|
57 | 57 |
read_dummynet_config(); |
58 | 58 |
/* |
usr/local/www/firewall_shaper_wizards.php | ||
---|---|---|
71 | 71 |
} |
72 | 72 |
|
73 | 73 |
$pgtitle = array(gettext("Firewall"),gettext("Traffic Shaper"),gettext("Wizards")); |
74 |
$statusurl = "status_queues.php";
|
|
74 |
$shortcut_section = "trafficshaper";
|
|
75 | 75 |
|
76 | 76 |
$wizards = array(gettext("Single Lan multi Wan") => "traffic_shaper_wizard.xml", |
77 | 77 |
gettext("Single Wan multi Lan") => "traffic_shaper_wizard_multi_lan.xml", |
usr/local/www/interfaces.php | ||
---|---|---|
1099 | 1099 |
} |
1100 | 1100 |
|
1101 | 1101 |
$pgtitle = array(gettext("Interfaces"), $pconfig['descr']); |
1102 |
$statusurl = "status_interfaces.php";
|
|
1102 |
$shortcut_section = "interfaces";
|
|
1103 | 1103 |
|
1104 | 1104 |
$closehead = false; |
1105 | 1105 |
include("head.inc"); |
usr/local/www/interfaces_assign.php | ||
---|---|---|
41 | 41 |
##|-PRIV |
42 | 42 |
|
43 | 43 |
$pgtitle = array(gettext("Interfaces"),gettext("Assign network ports")); |
44 |
$statusurl = "status_interfaces.php";
|
|
44 |
$shortcut_section = "interfaces";
|
|
45 | 45 |
|
46 | 46 |
require("guiconfig.inc"); |
47 | 47 |
require("functions.inc"); |
usr/local/www/interfaces_bridge.php | ||
---|---|---|
75 | 75 |
|
76 | 76 |
|
77 | 77 |
$pgtitle = array(gettext("Interfaces"),gettext("Bridge")); |
78 |
$shortcut_section = "interfaces"; |
|
78 | 79 |
include("head.inc"); |
79 | 80 |
|
80 | 81 |
?> |
usr/local/www/interfaces_bridge_edit.php | ||
---|---|---|
233 | 233 |
} |
234 | 234 |
|
235 | 235 |
$pgtitle = array(gettext("Interfaces"),gettext("Bridge"),gettext("Edit")); |
236 |
$shortcut_section = "interfaces"; |
|
236 | 237 |
include("head.inc"); |
237 | 238 |
|
238 | 239 |
?> |
usr/local/www/interfaces_gif.php | ||
---|---|---|
74 | 74 |
} |
75 | 75 |
|
76 | 76 |
$pgtitle = array(gettext("Interfaces"),gettext("GIF")); |
77 |
$shortcut_section = "interfaces"; |
|
77 | 78 |
include("head.inc"); |
78 | 79 |
|
79 | 80 |
?> |
usr/local/www/interfaces_gif_edit.php | ||
---|---|---|
123 | 123 |
} |
124 | 124 |
|
125 | 125 |
$pgtitle = array(gettext("Interfaces"),gettext("GIF"),gettext("Edit")); |
126 |
$shortcut_section = "interfaces"; |
|
126 | 127 |
include("head.inc"); |
127 | 128 |
|
128 | 129 |
?> |
usr/local/www/interfaces_gre.php | ||
---|---|---|
75 | 75 |
} |
76 | 76 |
|
77 | 77 |
$pgtitle = array(gettext("Interfaces"),gettext("GRE")); |
78 |
$shortcut_section = "interfaces"; |
|
78 | 79 |
include("head.inc"); |
79 | 80 |
|
80 | 81 |
?> |
usr/local/www/interfaces_gre_edit.php | ||
---|---|---|
125 | 125 |
} |
126 | 126 |
|
127 | 127 |
$pgtitle = array(gettext("Interfaces"),gettext("GRE"),gettext("Edit")); |
128 |
$shortcut_section = "interfaces"; |
|
128 | 129 |
include("head.inc"); |
129 | 130 |
|
130 | 131 |
?> |
usr/local/www/interfaces_groups.php | ||
---|---|---|
61 | 61 |
} |
62 | 62 |
|
63 | 63 |
$pgtitle = array(gettext("Interfaces"),gettext("Groups")); |
64 |
$shortcut_section = "interfaces"; |
|
64 | 65 |
include("head.inc"); |
65 | 66 |
|
66 | 67 |
?> |
usr/local/www/interfaces_groups_edit.php | ||
---|---|---|
42 | 42 |
require_once("functions.inc"); |
43 | 43 |
|
44 | 44 |
$pgtitle = array(gettext("Interfaces"),gettext("Groups"),gettext("Edit")); |
45 |
$shortcut_section = "interfaces"; |
|
45 | 46 |
|
46 | 47 |
if (!is_array($config['ifgroups']['ifgroupentry'])) |
47 | 48 |
$config['ifgroups']['ifgroupentry'] = array(); |
usr/local/www/interfaces_lagg.php | ||
---|---|---|
80 | 80 |
} |
81 | 81 |
|
82 | 82 |
$pgtitle = array(gettext("Interfaces"),gettext("LAGG")); |
83 |
$shortcut_section = "interfaces"; |
|
83 | 84 |
include("head.inc"); |
84 | 85 |
|
85 | 86 |
?> |
usr/local/www/interfaces_lagg_edit.php | ||
---|---|---|
118 | 118 |
} |
119 | 119 |
|
120 | 120 |
$pgtitle = array(gettext("Interfaces"),gettext("LAGG"),gettext("Edit")); |
121 |
$shortcut_section = "interfaces"; |
|
121 | 122 |
include("head.inc"); |
122 | 123 |
|
123 | 124 |
?> |
usr/local/www/interfaces_ppps.php | ||
---|---|---|
76 | 76 |
$a_ppps = $config['ppps']['ppp']; |
77 | 77 |
|
78 | 78 |
$pgtitle = gettext("Interfaces: PPPs"); |
79 |
$shortcut_section = "interfaces"; |
|
79 | 80 |
include("head.inc"); |
80 | 81 |
|
81 | 82 |
?> |
usr/local/www/interfaces_ppps_edit.php | ||
---|---|---|
376 | 376 |
|
377 | 377 |
$closehead = false; |
378 | 378 |
$pgtitle = array(gettext("Interfaces"),gettext("PPPs"),gettext("Edit")); |
379 |
$shortcut_section = "interfaces"; |
|
379 | 380 |
include("head.inc"); |
380 | 381 |
|
381 | 382 |
$types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE", "pptp" => "PPTP", "l2tp" => "L2TP"/*, "tcp" => "TCP", "udp" => "UDP"*/ ); |
usr/local/www/interfaces_qinq.php | ||
---|---|---|
84 | 84 |
} |
85 | 85 |
|
86 | 86 |
$pgtitle = array(gettext("Interfaces"),gettext("QinQ")); |
87 |
$shortcut_section = "interfaces"; |
|
87 | 88 |
include("head.inc"); |
88 | 89 |
|
89 | 90 |
?> |
usr/local/www/interfaces_qinq_edit.php | ||
---|---|---|
37 | 37 |
##|-PRIV |
38 | 38 |
|
39 | 39 |
$pgtitle = array(gettext("Interfaces"),gettext("QinQ"), gettext("Edit")); |
40 |
$shortcut_section = "interfaces"; |
|
40 | 41 |
|
41 | 42 |
require("guiconfig.inc"); |
42 | 43 |
|
usr/local/www/interfaces_vlan.php | ||
---|---|---|
76 | 76 |
|
77 | 77 |
|
78 | 78 |
$pgtitle = array(gettext("Interfaces"),gettext("VLAN")); |
79 |
$shortcut_section = "interfaces"; |
|
79 | 80 |
include("head.inc"); |
80 | 81 |
|
81 | 82 |
?> |
usr/local/www/interfaces_vlan_edit.php | ||
---|---|---|
137 | 137 |
} |
138 | 138 |
|
139 | 139 |
$pgtitle = array(gettext("Interfaces"),gettext("VLAN"),gettext("Edit")); |
140 |
$shortcut_section = "interfaces"; |
|
140 | 141 |
include("head.inc"); |
141 | 142 |
|
142 | 143 |
?> |
usr/local/www/interfaces_wireless.php | ||
---|---|---|
74 | 74 |
|
75 | 75 |
|
76 | 76 |
$pgtitle = array(gettext("Interfaces"),gettext("Wireless")); |
77 |
$shortcut_section = "wireless"; |
|
77 | 78 |
include("head.inc"); |
78 | 79 |
|
79 | 80 |
?> |
usr/local/www/load_balancer_monitor.php | ||
---|---|---|
86 | 86 |
} |
87 | 87 |
|
88 | 88 |
$pgtitle = array(gettext("Services"),gettext("Load Balancer"),gettext("Monitor")); |
89 |
#$statusurl = "status_lb_vs.php"; |
|
90 |
$statusurl = "status_lb_pool.php"; |
|
91 |
$logurl = "diag_logs_relayd.php"; |
|
89 |
$shortcut_section = "relayd"; |
|
92 | 90 |
|
93 | 91 |
include("head.inc"); |
94 | 92 |
|
usr/local/www/load_balancer_monitor_edit.php | ||
---|---|---|
191 | 191 |
} |
192 | 192 |
|
193 | 193 |
$pgtitle = array(gettext("Services"),gettext("Load Balancer"),gettext("Monitor"),gettext("Edit")); |
194 |
#$statusurl = "status_lb_vs.php"; |
|
195 |
$statusurl = "status_lb_pool.php"; |
|
196 |
$logurl = "diag_logs_relayd.php"; |
|
194 |
$shortcut_section = "relayd"; |
|
197 | 195 |
|
198 | 196 |
include("head.inc"); |
199 | 197 |
$types = array("icmp" => gettext("ICMP"), "tcp" => gettext("TCP"), "http" => gettext("HTTP"), "https" => gettext("HTTPS"), "send" => gettext("Send/Expect")); |
usr/local/www/load_balancer_pool.php | ||
---|---|---|
95 | 95 |
} |
96 | 96 |
|
97 | 97 |
$pgtitle = array(gettext("Services"), gettext("Load Balancer"),gettext("Pool")); |
98 |
#$statusurl = "status_lb_vs.php"; |
|
99 |
$statusurl = "status_lb_pool.php"; |
|
100 |
$logurl = "diag_logs_relayd.php"; |
|
98 |
$shortcut_section = "relayd"; |
|
101 | 99 |
|
102 | 100 |
include("head.inc"); |
103 | 101 |
|
usr/local/www/load_balancer_pool_edit.php | ||
---|---|---|
157 | 157 |
} |
158 | 158 |
|
159 | 159 |
$pgtitle = array(gettext("Services"), gettext("Load Balancer"),gettext("Pool"),gettext("Edit")); |
160 |
#$statusurl = "status_lb_vs.php"; |
|
161 |
$statusurl = "status_lb_pool.php"; |
|
162 |
$logurl = "diag_logs_relayd.php"; |
|
160 |
$shortcut_section = "relayd"; |
|
163 | 161 |
|
164 | 162 |
include("head.inc"); |
165 | 163 |
|
usr/local/www/load_balancer_relay_action.php | ||
---|---|---|
102 | 102 |
*/ |
103 | 103 |
|
104 | 104 |
$pgtitle = array(gettext("Services"), gettext("Load Balancer"),gettext("Relay Action")); |
105 |
#$statusurl = "status_lb_vs.php"; |
|
106 |
$statusurl = "status_lb_pool.php"; |
|
107 |
$logurl = "diag_logs_relayd.php"; |
|
105 |
$shortcut_section = "relayd"; |
|
108 | 106 |
|
109 | 107 |
include("head.inc"); |
110 | 108 |
|
usr/local/www/load_balancer_relay_action_edit.php | ||
---|---|---|
178 | 178 |
} |
179 | 179 |
|
180 | 180 |
$pgtitle = array(gettext("Services"), gettext("Load Balancer"),gettext("Relay Action"),gettext("Edit")); |
181 |
#$statusurl = "status_lb_vs.php"; |
|
182 |
$statusurl = "status_lb_pool.php"; |
|
183 |
$logurl = "diag_logs_relayd.php"; |
|
181 |
$shortcut_section = "relayd"; |
|
184 | 182 |
|
185 | 183 |
include("head.inc"); |
186 | 184 |
$types = array("http" => gettext("HTTP"), "tcp" => gettext("TCP"), "dns" => gettext("DNS")); |
usr/local/www/load_balancer_relay_protocol.php | ||
---|---|---|
98 | 98 |
*/ |
99 | 99 |
|
100 | 100 |
$pgtitle = array(gettext("Services"), gettext("Load Balancer"),gettext("Relay Protocol")); |
101 |
#$statusurl = "status_lb_vs.php"; |
|
102 |
$statusurl = "status_lb_pool.php"; |
|
103 |
$logurl = "diag_logs_relayd.php"; |
|
101 |
$shortcut_section = "relayd"; |
|
104 | 102 |
|
105 | 103 |
include("head.inc"); |
106 | 104 |
|
usr/local/www/load_balancer_relay_protocol_edit.php | ||
---|---|---|
135 | 135 |
} |
136 | 136 |
|
137 | 137 |
$pgtitle = array(gettext("Services"), gettext("Load Balancer"),gettext("Relay Protocol"),gettext("Edit")); |
138 |
#$statusurl = "status_lb_vs.php"; |
|
139 |
$statusurl = "status_lb_pool.php"; |
|
140 |
$logurl = "diag_logs_relayd.php"; |
|
138 |
$shortcut_section = "relayd"; |
|
141 | 139 |
|
142 | 140 |
include("head.inc"); |
143 | 141 |
|
usr/local/www/load_balancer_setting.php | ||
---|---|---|
96 | 96 |
} |
97 | 97 |
|
98 | 98 |
$pgtitle = array(gettext("Services"),gettext("Load Balancer"),gettext("Settings")); |
99 |
$statusurl = "status_lb_pool.php"; |
|
100 |
$logurl = "diag_logs_relayd.php"; |
|
99 |
$shortcut_section = "relayd"; |
|
101 | 100 |
|
102 | 101 |
include("head.inc"); |
103 | 102 |
|
usr/local/www/load_balancer_virtual_server.php | ||
---|---|---|
92 | 92 |
} |
93 | 93 |
|
94 | 94 |
$pgtitle = array(gettext("Services"),gettext("Load Balancer"),gettext("Virtual Servers")); |
95 |
$statusurl = "status_lb_vs.php"; |
|
96 |
#$statusurl = "status_lb_pool.php"; |
|
97 |
$logurl = "diag_logs_relayd.php"; |
|
95 |
$shortcut_section = "relayd-virtualservers"; |
|
98 | 96 |
|
99 | 97 |
include("head.inc"); |
100 | 98 |
|
usr/local/www/load_balancer_virtual_server_edit.php | ||
---|---|---|
134 | 134 |
} |
135 | 135 |
|
136 | 136 |
$pgtitle = array(gettext("Services"),gettext("Load Balancer"),gettext("Virtual Server"),gettext("Edit")); |
137 |
$statusurl = "status_lb_vs.php"; |
|
138 |
#$statusurl = "status_lb_pool.php"; |
|
139 |
$logurl = "diag_logs_relayd.php"; |
|
137 |
$shortcut_section = "relayd-virtualservers"; |
|
140 | 138 |
|
141 | 139 |
include("head.inc"); |
142 | 140 |
|
usr/local/www/services_captiveportal.php | ||
---|---|---|
38 | 38 |
##|*MATCH=services_captiveportal.php* |
39 | 39 |
##|-PRIV |
40 | 40 |
|
41 |
$statusurl = "status_captiveportal.php"; |
|
42 |
$logurl = "diag_logs_auth.php"; |
|
43 |
|
|
44 | 41 |
require_once("guiconfig.inc"); |
45 | 42 |
require_once("functions.inc"); |
46 | 43 |
require_once("filter.inc"); |
... | ... | |
61 | 58 |
$a_cp =& $config['captiveportal']; |
62 | 59 |
|
63 | 60 |
$pgtitle = array(gettext("Services"),gettext("Captive portal"), $a_cp[$cpzone]['zone']); |
61 |
$shortcut_section = "captiveportal"; |
|
64 | 62 |
|
65 | 63 |
if ($_GET['act'] == "viewhtml") { |
66 | 64 |
if ($a_cp[$cpzone] && $a_cp[$cpzone]['page']['htmltext']) |
usr/local/www/services_captiveportal_filemanager.php | ||
---|---|---|
49 | 49 |
usort($config['captiveportal'][$cpzone]['element'],"cpelementscmp"); |
50 | 50 |
} |
51 | 51 |
|
52 |
$statusurl = "status_captiveportal.php"; |
|
53 |
$logurl = "diag_logs_auth.php"; |
|
54 |
|
|
55 |
|
|
56 | 52 |
require("guiconfig.inc"); |
57 | 53 |
require("functions.inc"); |
58 | 54 |
require("filter.inc"); |
... | ... | |
73 | 69 |
$a_cp =& $config['captiveportal']; |
74 | 70 |
|
75 | 71 |
$pgtitle = array(gettext("Services"),gettext("Captive portal"), $a_cp[$cpzone]['zone']); |
72 |
$shortcut_section = "captiveportal"; |
|
76 | 73 |
|
77 | 74 |
if (!is_array($a_cp[$cpzone]['element'])) |
78 | 75 |
$a_cp[$cpzone]['element'] = array(); |
usr/local/www/services_captiveportal_hostname.php | ||
---|---|---|
41 | 41 |
##|*MATCH=services_captiveportal_ip.php* |
42 | 42 |
##|-PRIV |
43 | 43 |
|
44 |
$statusurl = "status_captiveportal.php"; |
|
45 |
$logurl = "diag_logs_auth.php"; |
|
46 |
|
|
47 | 44 |
require("guiconfig.inc"); |
48 | 45 |
require("functions.inc"); |
49 | 46 |
require("filter.inc"); |
... | ... | |
64 | 61 |
$a_cp =& $config['captiveportal']; |
65 | 62 |
|
66 | 63 |
$pgtitle = array(gettext("Services"),gettext("Captive portal"), $a_cp[$cpzone]['zone']); |
64 |
$shortcut_section = "captiveportal"; |
|
67 | 65 |
|
68 | 66 |
if ($_GET['act'] == "del" && !empty($cpzone)) { |
69 | 67 |
$a_allowedhostnames =& $a_cp[$cpzone]['allowedhostname']; |
usr/local/www/services_captiveportal_hostname_edit.php | ||
---|---|---|
50 | 50 |
usort($config['captiveportal'][$cpzone]['allowedhostname'],"allowedhostname"); |
51 | 51 |
} |
52 | 52 |
|
53 |
$statusurl = "status_captiveportal.php"; |
|
54 |
$logurl = "diag_logs_auth.php"; |
|
55 |
|
|
56 | 53 |
require("guiconfig.inc"); |
57 | 54 |
require("functions.inc"); |
58 | 55 |
require("filter.inc"); |
... | ... | |
60 | 57 |
require("captiveportal.inc"); |
61 | 58 |
|
62 | 59 |
$pgtitle = array(gettext("Services"),gettext("Captive portal"),gettext("Edit allowed Hostname")); |
60 |
$shortcut_section = "captiveportal"; |
|
63 | 61 |
|
64 | 62 |
$cpzone = $_GET['zone']; |
65 | 63 |
if (isset($_POST['zone'])) |
usr/local/www/services_captiveportal_ip.php | ||
---|---|---|
39 | 39 |
##|*MATCH=services_captiveportal_ip.php* |
40 | 40 |
##|-PRIV |
41 | 41 |
|
42 |
$statusurl = "status_captiveportal.php"; |
|
43 |
$logurl = "diag_logs_auth.php"; |
|
44 |
|
|
45 | 42 |
require("guiconfig.inc"); |
46 | 43 |
require("functions.inc"); |
47 | 44 |
require("filter.inc"); |
... | ... | |
62 | 59 |
$a_cp =& $config['captiveportal']; |
63 | 60 |
|
64 | 61 |
$pgtitle = array(gettext("Services"),gettext("Captive portal"), $a_cp[$cpzone]['zone']); |
62 |
$shortcut_section = "captiveportal"; |
|
65 | 63 |
|
66 | 64 |
if ($_GET['act'] == "del") { |
67 | 65 |
$a_allowedips =& $config['captiveportal'][$cpzone]['allowedip']; |
usr/local/www/services_captiveportal_ip_edit.php | ||
---|---|---|
51 | 51 |
usort($config['captiveportal'][$cpzone]['allowedip'],"allowedipscmp"); |
52 | 52 |
} |
53 | 53 |
|
54 |
$statusurl = "status_captiveportal.php"; |
|
55 |
$logurl = "diag_logs_auth.php"; |
|
56 |
|
|
57 | 54 |
require("guiconfig.inc"); |
58 | 55 |
require("functions.inc"); |
59 | 56 |
require("filter.inc"); |
... | ... | |
61 | 58 |
require("captiveportal.inc"); |
62 | 59 |
|
63 | 60 |
$pgtitle = array(gettext("Services"),gettext("Captive portal"),gettext("Edit allowed IP address")); |
61 |
$shortcut_section = "captiveportal"; |
|
64 | 62 |
|
65 | 63 |
$cpzone = $_GET['zone']; |
66 | 64 |
if (isset($_POST['zone'])) |
usr/local/www/services_captiveportal_mac.php | ||
---|---|---|
38 | 38 |
##|*MATCH=services_captiveportal_mac.php* |
39 | 39 |
##|-PRIV |
40 | 40 |
|
41 |
$statusurl = "status_captiveportal.php"; |
|
42 |
$logurl = "diag_logs_auth.php"; |
|
43 |
|
|
44 | 41 |
require("guiconfig.inc"); |
45 | 42 |
require("functions.inc"); |
46 | 43 |
require("filter.inc"); |
... | ... | |
61 | 58 |
$a_cp =& $config['captiveportal']; |
62 | 59 |
|
63 | 60 |
$pgtitle = array(gettext("Services"),gettext("Captive portal"), $a_cp[$cpzone]['zone']); |
61 |
$shortcut_section = "captiveportal"; |
|
64 | 62 |
|
65 | 63 |
if ($_POST) { |
66 | 64 |
|
usr/local/www/services_captiveportal_mac_edit.php | ||
---|---|---|
48 | 48 |
usort($config['captiveportal'][$cpzone]['passthrumac'],"passthrumacscmp"); |
49 | 49 |
} |
50 | 50 |
|
51 |
$statusurl = "status_captiveportal.php"; |
|
52 |
$logurl = "diag_logs_auth.php"; |
|
53 |
|
|
54 | 51 |
require("guiconfig.inc"); |
55 | 52 |
require("functions.inc"); |
56 | 53 |
require("filter.inc"); |
... | ... | |
58 | 55 |
require("captiveportal.inc"); |
59 | 56 |
|
60 | 57 |
$pgtitle = array(gettext("Services"),gettext("Captive portal"),gettext("Edit pass-through MAC address")); |
58 |
$shortcut_section = "captiveportal"; |
|
61 | 59 |
|
62 | 60 |
$cpzone = $_GET['zone']; |
63 | 61 |
if (isset($_POST['zone'])) |
usr/local/www/services_captiveportal_vouchers.php | ||
---|---|---|
36 | 36 |
##|*MATCH=services_captiveportal_vouchers.php* |
37 | 37 |
##|-PRIV |
38 | 38 |
|
39 |
$statusurl = "status_captiveportal_vouchers.php"; |
|
40 |
$logurl = "diag_logs_auth.php"; |
|
41 |
|
|
42 | 39 |
$cpzone = $_GET['zone']; |
43 | 40 |
if (isset($_POST['zone'])) |
44 | 41 |
$cpzone = $_POST['zone']; |
... | ... | |
83 | 80 |
$config['voucher'] = array(); |
84 | 81 |
|
85 | 82 |
$pgtitle = array(gettext("Services"), gettext("Captive portal"), gettext("Vouchers"), $a_cp[$cpzone]['zone']); |
83 |
$shortcut_section = "captiveportal-vouchers"; |
|
86 | 84 |
|
87 | 85 |
if (!is_array($config['voucher'][$cpzone]['roll'])) |
88 | 86 |
$config['voucher'][$cpzone]['roll'] = array(); |
usr/local/www/services_captiveportal_vouchers_edit.php | ||
---|---|---|
35 | 35 |
##|*MATCH=services_captiveportal_vouchers_edit.php* |
36 | 36 |
##|-PRIV |
37 | 37 |
|
38 |
$statusurl = "status_captiveportal_vouchers.php"; |
|
39 |
$logurl = "diag_logs_auth.php"; |
|
40 |
|
|
41 | 38 |
require("guiconfig.inc"); |
42 | 39 |
require("functions.inc"); |
43 | 40 |
require("filter.inc"); |
... | ... | |
46 | 43 |
require_once("voucher.inc"); |
47 | 44 |
|
48 | 45 |
$pgtitle = array(gettext("Services"), gettext("Captive portal"), gettext("Edit Voucher Rolls")); |
46 |
$shortcut_section = "captiveportal-vouchers"; |
|
49 | 47 |
|
50 | 48 |
$cpzone = $_GET['zone']; |
51 | 49 |
if (isset($_POST['zone'])) |
usr/local/www/services_captiveportal_zones.php | ||
---|---|---|
35 | 35 |
} |
36 | 36 |
|
37 | 37 |
$pgtitle = array(gettext("Captiveportal"),gettext("Zones")); |
38 |
$shortcut_section = "captiveportal"; |
|
38 | 39 |
include("head.inc"); |
39 | 40 |
|
40 | 41 |
?> |
usr/local/www/services_captiveportal_zones_edit.php | ||
---|---|---|
36 | 36 |
##|*MATCH=services_captiveportal_zones_edit.php* |
37 | 37 |
##|-PRIV |
38 | 38 |
|
39 |
$statusurl = "status_captiveportal_zones_edit.php"; |
|
40 |
$logurl = "diag_logs_auth.php"; |
|
41 |
|
|
42 | 39 |
require("guiconfig.inc"); |
43 | 40 |
require("functions.inc"); |
44 | 41 |
require("filter.inc"); |
... | ... | |
46 | 43 |
require("captiveportal.inc"); |
47 | 44 |
|
48 | 45 |
$pgtitle = array(gettext("Services"),gettext("Captive portal"),gettext("Edit Zones")); |
46 |
$shortcut_section = "captiveportal"; |
|
49 | 47 |
|
50 | 48 |
if (!is_array($config['captiveportal'])) |
51 | 49 |
$config['captiveportal'] = array(); |
usr/local/www/services_dhcp.php | ||
---|---|---|
431 | 431 |
} |
432 | 432 |
|
433 | 433 |
$pgtitle = array(gettext("Services"),gettext("DHCP server")); |
434 |
$statusurl = "status_dhcp_leases.php"; |
|
435 |
$logurl = "diag_logs_dhcp.php"; |
|
434 |
$shortcut_section = "dhcp"; |
|
436 | 435 |
|
437 | 436 |
include("head.inc"); |
438 | 437 |
|
usr/local/www/services_dhcp_edit.php | ||
---|---|---|
191 | 191 |
} |
192 | 192 |
|
193 | 193 |
$pgtitle = array(gettext("Services"),gettext("DHCP"),gettext("Edit static mapping")); |
194 |
$statusurl = "status_dhcp_leases.php"; |
|
195 |
$logurl = "diag_logs_dhcp.php"; |
|
194 |
$shortcut_section = "dhcp"; |
|
196 | 195 |
|
197 | 196 |
include("head.inc"); |
198 | 197 |
|
usr/local/www/services_dhcp_relay.php | ||
---|---|---|
98 | 98 |
} |
99 | 99 |
|
100 | 100 |
$pgtitle = array(gettext("Services"),gettext("DHCP Relay")); |
101 |
$shortcut_section = "dhcp"; |
|
101 | 102 |
include("head.inc"); |
102 | 103 |
|
103 | 104 |
?> |
usr/local/www/services_dhcpv6.php | ||
---|---|---|
365 | 365 |
} |
366 | 366 |
|
367 | 367 |
$pgtitle = array(gettext("Services"),gettext("DHCPv6 server")); |
368 |
$statusurl = "status_dhcpv6_leases.php"; |
|
369 |
$logurl = "diag_logs_dhcp.php"; |
|
368 |
$shortcut_section = "dhcp6"; |
|
370 | 369 |
|
371 | 370 |
include("head.inc"); |
372 | 371 |
|
usr/local/www/services_dhcpv6_edit.php | ||
---|---|---|
173 | 173 |
} |
174 | 174 |
|
175 | 175 |
$pgtitle = array(gettext("Services"),gettext("DHCPv6"),gettext("Edit static mapping")); |
176 |
$statusurl = "status_dhcpv6_leases.php"; |
|
177 |
$logurl = "diag_logs_dhcp.php"; |
|
176 |
$shortcut_section = "dhcp6"; |
|
178 | 177 |
|
179 | 178 |
include("head.inc"); |
180 | 179 |
|
usr/local/www/services_dhcpv6_relay.php | ||
---|---|---|
99 | 99 |
} |
100 | 100 |
|
101 | 101 |
$pgtitle = array(gettext("Services"),gettext("DHCPv6 Relay")); |
102 |
$shortcut_section = "dhcp6"; |
|
102 | 103 |
include("head.inc"); |
103 | 104 |
|
104 | 105 |
?> |
usr/local/www/services_dnsmasq.php | ||
---|---|---|
44 | 44 |
require_once("filter.inc"); |
45 | 45 |
require_once("shaper.inc"); |
46 | 46 |
|
47 |
$shortcut_section = "resolver"; |
|
48 |
|
|
49 | 47 |
$pconfig['enable'] = isset($config['dnsmasq']['enable']); |
50 | 48 |
$pconfig['regdhcp'] = isset($config['dnsmasq']['regdhcp']); |
51 | 49 |
$pconfig['regdhcpstatic'] = isset($config['dnsmasq']['regdhcpstatic']); |
... | ... | |
119 | 117 |
} |
120 | 118 |
|
121 | 119 |
$pgtitle = array(gettext("Services"),gettext("DNS forwarder")); |
120 |
$shortcut_section = "resolver"; |
|
122 | 121 |
include("head.inc"); |
123 | 122 |
|
124 | 123 |
?> |
usr/local/www/services_dnsmasq_domainoverride_edit.php | ||
---|---|---|
40 | 40 |
|
41 | 41 |
require("guiconfig.inc"); |
42 | 42 |
|
43 |
$shortcut_section = "resolver"; |
|
44 |
|
|
45 | 43 |
if (!is_array($config['dnsmasq']['domainoverrides'])) { |
46 | 44 |
$config['dnsmasq']['domainoverrides'] = array(); |
47 | 45 |
} |
... | ... | |
118 | 116 |
} |
119 | 117 |
|
120 | 118 |
$pgtitle = array(gettext("Services"),gettext("DNS forwarder"),gettext("Edit Domain Override")); |
119 |
$shortcut_section = "resolver"; |
|
121 | 120 |
include("head.inc"); |
122 | 121 |
|
123 | 122 |
?> |
usr/local/www/services_dnsmasq_edit.php | ||
---|---|---|
39 | 39 |
##|*MATCH=services_dnsmasq_edit.php* |
40 | 40 |
##|-PRIV |
41 | 41 |
|
42 |
$shortcut_section = "resolver"; |
|
43 |
|
|
44 | 42 |
function hostcmp($a, $b) { |
45 | 43 |
return strcasecmp($a['host'], $b['host']); |
46 | 44 |
} |
... | ... | |
166 | 164 |
} |
167 | 165 |
|
168 | 166 |
$pgtitle = array(gettext("Services"),gettext("DNS forwarder"),gettext("Edit host")); |
167 |
$shortcut_section = "resolver"; |
|
169 | 168 |
include("head.inc"); |
170 | 169 |
|
171 | 170 |
?> |
usr/local/www/services_ntpd.php | ||
---|---|---|
69 | 69 |
} |
70 | 70 |
|
71 | 71 |
$pgtitle = array(gettext("Services"),gettext("NTP")); |
72 |
$shortcut_section = "ntp"; |
|
72 | 73 |
include("head.inc"); |
73 | 74 |
|
74 | 75 |
?> |
usr/local/www/status_captiveportal.php | ||
---|---|---|
56 | 56 |
} |
57 | 57 |
|
58 | 58 |
$pgtitle = array(gettext("Status: Captive portal")); |
59 |
$shortcut_section = "captiveportal"; |
|
59 | 60 |
|
60 | 61 |
if (!is_array($config['captiveportal'])) |
61 | 62 |
$config['captiveportal'] = array(); |
usr/local/www/status_captiveportal_test.php | ||
---|---|---|
56 | 56 |
$a_cp =& $config['captiveportal']; |
57 | 57 |
|
58 | 58 |
$pgtitle = array(gettext("Status"), gettext("Captive portal"), gettext("Test Vouchers"), $a_cp[$cpzone]['zone']); |
59 |
$shortcut_section = "captiveportal-vouchers"; |
|
59 | 60 |
|
60 | 61 |
include("head.inc"); |
61 | 62 |
include("fbegin.inc"); |
usr/local/www/status_captiveportal_voucher_rolls.php | ||
---|---|---|
55 | 55 |
$config['captiveportal'] = array(); |
56 | 56 |
$a_cp =& $config['captiveportal']; |
57 | 57 |
$pgtitle = array(gettext("Status"), gettext("Captive portal"), gettext("Voucher Rolls"), $a_cp[$cpzone]['zone']); |
58 |
$shortcut_section = "captiveportal-vouchers"; |
|
58 | 59 |
|
59 | 60 |
if (!is_array($config['voucher'][$cpzone]['roll'])) { |
60 | 61 |
$config['voucher'][$cpzone]['roll'] = array(); |
usr/local/www/status_captiveportal_vouchers.php | ||
---|---|---|
55 | 55 |
$config['captiveportal'] = array(); |
56 | 56 |
$a_cp =& $config['captiveportal']; |
57 | 57 |
$pgtitle = array(gettext("Status"), gettext("Captive portal"), gettext("Vouchers"), $a_cp[$cpzone]['zone']); |
58 |
$shortcut_section = "captiveportal-vouchers"; |
|
58 | 59 |
|
59 | 60 |
function clientcmp($a, $b) { |
60 | 61 |
global $order; |
usr/local/www/status_dhcp_leases.php | ||
---|---|---|
47 | 47 |
require_once("config.inc"); |
48 | 48 |
|
49 | 49 |
$pgtitle = array(gettext("Status"),gettext("DHCP leases")); |
50 |
$shortcut_section = "dhcp"; |
|
50 | 51 |
|
51 | 52 |
$leasesfile = "{$g['dhcpd_chroot_path']}/var/db/dhcpd.leases"; |
52 | 53 |
|
usr/local/www/status_dhcpv6_leases.php | ||
---|---|---|
48 | 48 |
require_once("config.inc"); |
49 | 49 |
|
50 | 50 |
$pgtitle = array(gettext("Status"),gettext("DHCPv6 leases")); |
51 |
$shortcut_section = "dhcp6"; |
|
51 | 52 |
|
52 | 53 |
$leasesfile = "{$g['dhcpd_chroot_path']}/var/db/dhcpd6.leases"; |
53 | 54 |
|
usr/local/www/status_filter_reload.php | ||
---|---|---|
42 | 42 |
require_once("functions.inc"); |
43 | 43 |
|
44 | 44 |
$pgtitle = array(gettext("Status"),gettext("Filter Reload Status")); |
45 |
$shortcut_section = "firewall"; |
|
45 | 46 |
|
46 | 47 |
if(file_exists("{$g['varrun_path']}/filter_reload_status")) |
47 | 48 |
$status = file_get_contents("{$g['varrun_path']}/filter_reload_status"); |
usr/local/www/status_gateway_groups.php | ||
---|---|---|
50 | 50 |
$gateways_status = return_gateways_status(); |
51 | 51 |
|
52 | 52 |
$pgtitle = array(gettext("Status"),gettext("Gateway Groups")); |
53 |
$shortcut_section = "gateway-groups"; |
|
53 | 54 |
include("head.inc"); |
54 | 55 |
|
55 | 56 |
?> |
usr/local/www/status_gateways.php | ||
---|---|---|
49 | 49 |
$year = date("Y"); |
50 | 50 |
|
51 | 51 |
$pgtitle = array(gettext("Status"),gettext("Gateways")); |
52 |
$shortcut_section = "gateways"; |
|
52 | 53 |
include("head.inc"); |
53 | 54 |
|
54 | 55 |
?> |
usr/local/www/status_interfaces.php | ||
---|---|---|
57 | 57 |
} |
58 | 58 |
|
59 | 59 |
$pgtitle = array(gettext("Status"),gettext("Interfaces")); |
60 |
$shortcut_section = "interfaces"; |
|
60 | 61 |
include("head.inc"); |
61 | 62 |
|
62 | 63 |
?> |
usr/local/www/status_ntpd.php | ||
---|---|---|
92 | 92 |
} |
93 | 93 |
|
94 | 94 |
$pgtitle = array(gettext("Status"),gettext("NTP")); |
95 |
$shortcut_section = "ntp"; |
|
95 | 96 |
include("head.inc"); |
96 | 97 |
?> |
97 | 98 |
<body link="#0000CC" vlink="#0000CC" alink="#0000CC"> |
usr/local/www/status_wireless.php | ||
---|---|---|
39 | 39 |
require_once("guiconfig.inc"); |
40 | 40 |
|
41 | 41 |
$pgtitle = array(gettext("Status"),gettext("Wireless")); |
42 |
$shortcut_section = "wireless"; |
|
42 | 43 |
include("head.inc"); |
43 | 44 |
|
44 | 45 |
$if = $_POST['if']; |
usr/local/www/system_gateway_groups.php | ||
---|---|---|
87 | 87 |
} |
88 | 88 |
|
89 | 89 |
$pgtitle = array(gettext("System"),gettext("Gateway Groups")); |
90 |
$statusurl = "status_gateway_groups.php";
|
|
90 |
$shortcut_section = "gateway-groups";
|
|
91 | 91 |
|
92 | 92 |
include("head.inc"); |
93 | 93 |
|
usr/local/www/system_gateway_groups_edit.php | ||
---|---|---|
144 | 144 |
} |
145 | 145 |
|
146 | 146 |
$pgtitle = array(gettext("System"),gettext("Gateways"),gettext("Edit gateway")); |
147 |
$statusurl = "status_gateway_groups.php";
|
|
147 |
$shortcut_section = "gateway-groups";
|
|
148 | 148 |
|
149 | 149 |
function build_gateway_protocol_map (&$a_gateways) { |
150 | 150 |
$result = array(); |
usr/local/www/system_gateways.php | ||
---|---|---|
118 | 118 |
|
119 | 119 |
|
120 | 120 |
$pgtitle = array(gettext("System"),gettext("Gateways")); |
121 |
$statusurl = "status_gateways.php";
|
|
121 |
$shortcut_section = "gateways";
|
|
122 | 122 |
|
123 | 123 |
include("head.inc"); |
124 | 124 |
|
usr/local/www/system_gateways_edit.php | ||
---|---|---|
423 | 423 |
|
424 | 424 |
|
425 | 425 |
$pgtitle = array(gettext("System"),gettext("Gateways"),gettext("Edit gateway")); |
426 |
$statusurl = "status_gateways.php";
|
|
426 |
$shortcut_section = "gateways";
|
|
427 | 427 |
|
428 | 428 |
include("head.inc"); |
429 | 429 |
|
usr/local/www/system_routes.php | ||
---|---|---|
92 | 92 |
} |
93 | 93 |
|
94 | 94 |
$pgtitle = array(gettext("System"),gettext("Static Routes")); |
95 |
$statusurl = "diag_routes.php";
|
|
95 |
$shortcut_section = "routing";
|
|
96 | 96 |
|
97 | 97 |
include("head.inc"); |
98 | 98 |
|
usr/local/www/system_routes_edit.php | ||
---|---|---|
196 | 196 |
} |
197 | 197 |
|
198 | 198 |
$pgtitle = array(gettext("System"),gettext("Static Routes"),gettext("Edit route")); |
199 |
$shortcut_section = "routing"; |
|
199 | 200 |
include("head.inc"); |
200 | 201 |
?> |
201 | 202 |
|
usr/local/www/vpn_ipsec.php | ||
---|---|---|
117 | 117 |
} |
118 | 118 |
|
119 | 119 |
$pgtitle = array(gettext("VPN"),gettext("IPsec")); |
120 |
$statusurl = "diag_ipsec.php"; |
|
121 |
$logurl = "diag_logs_ipsec.php"; |
|
120 |
$shortcut_section = "ipsec"; |
|
122 | 121 |
|
123 | 122 |
include("head.inc"); |
124 | 123 |
|
usr/local/www/vpn_ipsec_keys.php | ||
---|---|---|
69 | 69 |
} |
70 | 70 |
|
71 | 71 |
$pgtitle = gettext("VPN: IPsec: Keys"); |
72 |
$statusurl = "diag_ipsec.php"; |
|
73 |
$logurl = "diag_logs_ipsec.php"; |
|
72 |
$shortcut_section = "ipsec"; |
|
74 | 73 |
|
75 | 74 |
include("head.inc"); |
76 | 75 |
|
usr/local/www/vpn_ipsec_keys_edit.php | ||
---|---|---|
112 | 112 |
} |
113 | 113 |
|
114 | 114 |
$pgtitle = gettext("VPN: IPsec: Edit pre-shared key"); |
115 |
$statusurl = "diag_ipsec.php"; |
|
116 |
$logurl = "diag_logs_ipsec.php"; |
|
115 |
$shortcut_section = "ipsec"; |
|
117 | 116 |
|
118 | 117 |
include("head.inc"); |
119 | 118 |
|
usr/local/www/vpn_ipsec_mobile.php | ||
---|---|---|
218 | 218 |
} |
219 | 219 |
|
220 | 220 |
$pgtitle = array(gettext("VPN"),gettext("IPsec"),gettext("Mobile")); |
221 |
$statusurl = "diag_ipsec.php"; |
|
222 |
$logurl = "diag_logs_ipsec.php"; |
|
221 |
$shortcut_section = "ipsec"; |
|
223 | 222 |
|
224 | 223 |
include("head.inc"); |
225 | 224 |
?> |
usr/local/www/vpn_ipsec_phase1.php | ||
---|---|---|
358 | 358 |
$pgtitle = array(gettext("VPN"),gettext("IPsec"),gettext("Edit Phase 1"), gettext("Mobile Client")); |
359 | 359 |
else |
360 | 360 |
$pgtitle = array(gettext("VPN"),gettext("IPsec"),gettext("Edit Phase 1")); |
361 |
$statusurl = "diag_ipsec.php"; |
|
362 |
$logurl = "diag_logs_ipsec.php"; |
|
361 |
$shortcut_section = "ipsec"; |
|
363 | 362 |
|
364 | 363 |
|
365 | 364 |
include("head.inc"); |
usr/local/www/vpn_ipsec_phase2.php | ||
---|---|---|
268 | 268 |
$pgtitle = array(gettext("VPN"),gettext("IPsec"),gettext("Edit Phase 2"), gettext("Mobile Client")); |
269 | 269 |
else |
270 | 270 |
$pgtitle = array(gettext("VPN"),gettext("IPsec"),gettext("Edit Phase 2")); |
271 |
$statusurl = "diag_ipsec.php"; |
|
272 |
$logurl = "diag_logs_ipsec.php"; |
|
271 |
$shortcut_section = "ipsec"; |
|
273 | 272 |
|
274 | 273 |
|
275 | 274 |
include("head.inc"); |
usr/local/www/vpn_l2tp.php | ||
---|---|---|
36 | 36 |
##|-PRIV |
37 | 37 |
|
38 | 38 |
$pgtitle = array(gettext("VPN"), gettext("L2TP"), gettext("L2TP")); |
39 |
$shortcut_section = "l2tps"; |
|
39 | 40 |
|
40 | 41 |
require("guiconfig.inc"); |
41 | 42 |
require_once("vpn.inc"); |
usr/local/www/vpn_l2tp_users.php | ||
---|---|---|
36 | 36 |
##|-PRIV |
37 | 37 |
|
38 | 38 |
$pgtitle = array(gettext("VPN"),gettext("L2TP"),gettext("Users")); |
39 |
$shortcut_section = "l2tps"; |
|
39 | 40 |
|
40 | 41 |
require("guiconfig.inc"); |
41 | 42 |
require_once("vpn.inc"); |
usr/local/www/vpn_l2tp_users_edit.php | ||
---|---|---|
36 | 36 |
##|-PRIV |
37 | 37 |
|
38 | 38 |
$pgtitle = array(gettext("VPN"),gettext("L2TP"),gettext("User"),gettext("Edit")); |
39 |
$shortcut_section = "l2tps"; |
|
39 | 40 |
|
40 | 41 |
function l2tpusercmp($a, $b) { |
41 | 42 |
return strcasecmp($a['name'], $b['name']); |
usr/local/www/vpn_openvpn_client.php | ||
---|---|---|
38 | 38 |
require_once("openvpn.inc"); |
39 | 39 |
|
40 | 40 |
$pgtitle = array(gettext("OpenVPN"), gettext("Client")); |
41 |
$statusurl = "status_openvpn.php"; |
|
42 |
$logurl = "diag_logs_openvpn.php"; |
|
41 |
$shortcut_section = "openvpn"; |
|
43 | 42 |
|
44 | 43 |
if (!is_array($config['openvpn']['openvpn-client'])) |
45 | 44 |
$config['openvpn']['openvpn-client'] = array(); |
usr/local/www/vpn_openvpn_csc.php | ||
---|---|---|
38 | 38 |
require_once("openvpn.inc"); |
39 | 39 |
|
40 | 40 |
$pgtitle = array(gettext("OpenVPN"), gettext("Client Specific Override")); |
41 |
$statusurl = "status_openvpn.php"; |
|
42 |
$logurl = "diag_logs_openvpn.php"; |
|
41 |
$shortcut_section = "openvpn"; |
Also available in: Unified diff
Activate new shortcuts/status in the rest of the areas that are currently setup.