Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
98a0662d
Commit
98a0662d
authored
Oct 15, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
interfaces: zap legacy shortcuts
parent
25987211
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
28 additions
and
33 deletions
+28
-33
diag_logs_wireless.php
src/www/diag_logs_wireless.php
+1
-1
interfaces.php
src/www/interfaces.php
+0
-1
interfaces_assign.php
src/www/interfaces_assign.php
+0
-1
interfaces_bridge.php
src/www/interfaces_bridge.php
+1
-2
interfaces_bridge_edit.php
src/www/interfaces_bridge_edit.php
+1
-1
interfaces_gif.php
src/www/interfaces_gif.php
+1
-1
interfaces_gif_edit.php
src/www/interfaces_gif_edit.php
+2
-1
interfaces_gre.php
src/www/interfaces_gre.php
+2
-1
interfaces_gre_edit.php
src/www/interfaces_gre_edit.php
+2
-1
interfaces_groups.php
src/www/interfaces_groups.php
+2
-1
interfaces_groups_edit.php
src/www/interfaces_groups_edit.php
+1
-1
interfaces_lagg.php
src/www/interfaces_lagg.php
+2
-1
interfaces_lagg_edit.php
src/www/interfaces_lagg_edit.php
+2
-1
interfaces_ppps.php
src/www/interfaces_ppps.php
+3
-1
interfaces_ppps_edit.php
src/www/interfaces_ppps_edit.php
+1
-1
interfaces_qinq.php
src/www/interfaces_qinq.php
+2
-1
interfaces_qinq_edit.php
src/www/interfaces_qinq_edit.php
+0
-1
interfaces_vlan.php
src/www/interfaces_vlan.php
+1
-2
interfaces_vlan_edit.php
src/www/interfaces_vlan_edit.php
+1
-1
interfaces_wireless.php
src/www/interfaces_wireless.php
+2
-2
shortcuts.inc
src/www/shortcuts.inc
+0
-9
status_wireless.php
src/www/status_wireless.php
+1
-1
No files found.
src/www/diag_logs_wireless.php
View file @
98a0662d
...
@@ -46,7 +46,7 @@ if ($_POST['clear']) {
...
@@ -46,7 +46,7 @@ if ($_POST['clear']) {
}
}
$pgtitle
=
array
(
gettext
(
"Status"
),
gettext
(
"System logs"
),
gettext
(
"Wireless"
));
$pgtitle
=
array
(
gettext
(
"Status"
),
gettext
(
"System logs"
),
gettext
(
"Wireless"
));
$shortcut_section
=
"wireless"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
...
...
src/www/interfaces.php
View file @
98a0662d
...
@@ -1618,7 +1618,6 @@ foreach ($mediaopts as $mediaopt){
...
@@ -1618,7 +1618,6 @@ foreach ($mediaopts as $mediaopt){
}
}
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
$pconfig
[
'descr'
]);
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
$pconfig
[
'descr'
]);
$shortcut_section
=
"interfaces"
;
$closehead
=
false
;
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
...
...
src/www/interfaces_assign.php
View file @
98a0662d
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
*/
*/
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"Assign network ports"
));
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"Assign network ports"
));
$shortcut_section
=
"interfaces"
;
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
...
...
src/www/interfaces_bridge.php
View file @
98a0662d
...
@@ -76,9 +76,8 @@ if ($_GET['act'] == "del") {
...
@@ -76,9 +76,8 @@ if ($_GET['act'] == "del") {
}
}
}
}
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"Bridge"
));
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"Bridge"
));
$shortcut_section
=
"interfaces"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
$main_buttons
=
array
(
$main_buttons
=
array
(
...
...
src/www/interfaces_bridge_edit.php
View file @
98a0662d
...
@@ -238,7 +238,7 @@ if ($_POST) {
...
@@ -238,7 +238,7 @@ if ($_POST) {
}
}
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"Bridge"
),
gettext
(
"Edit"
));
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"Bridge"
),
gettext
(
"Edit"
));
$shortcut_section
=
"interfaces"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
...
...
src/www/interfaces_gif.php
View file @
98a0662d
...
@@ -68,7 +68,7 @@ if ($_GET['act'] == "del") {
...
@@ -68,7 +68,7 @@ if ($_GET['act'] == "del") {
}
}
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"GIF"
));
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"GIF"
));
$shortcut_section
=
"interfaces"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
$main_buttons
=
array
(
$main_buttons
=
array
(
...
...
src/www/interfaces_gif_edit.php
View file @
98a0662d
<?php
<?php
/*
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2008 Ermal Luçi
Copyright (C) 2008 Ermal Luçi
...
@@ -128,7 +129,7 @@ if ($_POST) {
...
@@ -128,7 +129,7 @@ if ($_POST) {
}
}
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"GIF"
),
gettext
(
"Edit"
));
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"GIF"
),
gettext
(
"Edit"
));
$shortcut_section
=
"interfaces"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
...
...
src/www/interfaces_gre.php
View file @
98a0662d
<?php
<?php
/*
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2008 Ermal Luçi
Copyright (C) 2008 Ermal Luçi
...
@@ -66,7 +67,7 @@ if ($_GET['act'] == "del") {
...
@@ -66,7 +67,7 @@ if ($_GET['act'] == "del") {
}
}
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"GRE"
));
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"GRE"
));
$shortcut_section
=
"interfaces"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
$main_buttons
=
array
(
$main_buttons
=
array
(
...
...
src/www/interfaces_gre_edit.php
View file @
98a0662d
<?php
<?php
/*
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2008 Ermal Luçi
Copyright (C) 2008 Ermal Luçi
...
@@ -120,7 +121,7 @@ if ($_POST) {
...
@@ -120,7 +121,7 @@ if ($_POST) {
}
}
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"GRE"
),
gettext
(
"Edit"
));
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"GRE"
),
gettext
(
"Edit"
));
$shortcut_section
=
"interfaces"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
...
...
src/www/interfaces_groups.php
View file @
98a0662d
<?php
<?php
/*
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2009 Ermal Luçi
Copyright (C) 2009 Ermal Luçi
...
@@ -52,7 +53,7 @@ if ($_GET['act'] == "del") {
...
@@ -52,7 +53,7 @@ if ($_GET['act'] == "del") {
}
}
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"Groups"
));
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"Groups"
));
$shortcut_section
=
"interfaces"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
$main_buttons
=
array
(
$main_buttons
=
array
(
...
...
src/www/interfaces_groups_edit.php
View file @
98a0662d
<?php
<?php
/*
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2009 Ermal Luçi
Copyright (C) 2009 Ermal Luçi
...
@@ -31,7 +32,6 @@ require_once("guiconfig.inc");
...
@@ -31,7 +32,6 @@ require_once("guiconfig.inc");
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"Groups"
),
gettext
(
"Edit"
));
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"Groups"
),
gettext
(
"Edit"
));
$shortcut_section
=
"interfaces"
;
if
(
!
isset
(
$config
[
'ifgroups'
][
'ifgroupentry'
])
||
!
is_array
(
$config
[
'ifgroups'
][
'ifgroupentry'
]))
{
if
(
!
isset
(
$config
[
'ifgroups'
][
'ifgroupentry'
])
||
!
is_array
(
$config
[
'ifgroups'
][
'ifgroupentry'
]))
{
$config
[
'ifgroups'
][
'ifgroupentry'
]
=
array
();
$config
[
'ifgroups'
][
'ifgroupentry'
]
=
array
();
...
...
src/www/interfaces_lagg.php
View file @
98a0662d
<?php
<?php
/*
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2008 Ermal Luçi
Copyright (C) 2008 Ermal Luçi
...
@@ -72,7 +73,7 @@ if ($_GET['act'] == "del") {
...
@@ -72,7 +73,7 @@ if ($_GET['act'] == "del") {
}
}
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"LAGG"
));
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"LAGG"
));
$shortcut_section
=
"interfaces"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
$main_buttons
=
array
(
$main_buttons
=
array
(
...
...
src/www/interfaces_lagg_edit.php
View file @
98a0662d
<?php
<?php
/*
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2008 Ermal Luçi
Copyright (C) 2008 Ermal Luçi
...
@@ -129,7 +130,7 @@ if ($_POST) {
...
@@ -129,7 +130,7 @@ if ($_POST) {
}
}
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"LAGG"
),
gettext
(
"Edit"
));
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"LAGG"
),
gettext
(
"Edit"
));
$shortcut_section
=
"interfaces"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
...
...
src/www/interfaces_ppps.php
View file @
98a0662d
<?php
<?php
/*
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
...
@@ -68,8 +69,9 @@ if (!is_array($config['ppps']['ppp'])) {
...
@@ -68,8 +69,9 @@ if (!is_array($config['ppps']['ppp'])) {
$a_ppps
=
$config
[
'ppps'
][
'ppp'
];
$a_ppps
=
$config
[
'ppps'
][
'ppp'
];
$pgtitle
=
gettext
(
"Interfaces: PPPs"
);
$pgtitle
=
gettext
(
"Interfaces: PPPs"
);
$shortcut_section
=
"interfaces"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
$main_buttons
=
array
(
$main_buttons
=
array
(
array
(
'href'
=>
'interfaces_ppps_edit.php'
,
'label'
=>
'Add'
),
array
(
'href'
=>
'interfaces_ppps_edit.php'
,
'label'
=>
'Add'
),
);
);
...
...
src/www/interfaces_ppps_edit.php
View file @
98a0662d
...
@@ -384,7 +384,7 @@ if ($_POST) {
...
@@ -384,7 +384,7 @@ if ($_POST) {
$closehead
=
false
;
$closehead
=
false
;
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"PPPs"
),
gettext
(
"Edit"
));
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"PPPs"
),
gettext
(
"Edit"
));
$shortcut_section
=
"interfaces"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
$types
=
array
(
"select"
=>
gettext
(
"Select"
),
"ppp"
=>
"PPP"
,
"pppoe"
=>
"PPPoE"
,
"pptp"
=>
"PPTP"
,
"l2tp"
=>
"L2TP"
/*, "tcp" => "TCP", "udp" => "UDP"*/
);
$types
=
array
(
"select"
=>
gettext
(
"Select"
),
"ppp"
=>
"PPP"
,
"pppoe"
=>
"PPPoE"
,
"pptp"
=>
"PPTP"
,
"l2tp"
=>
"L2TP"
/*, "tcp" => "TCP", "udp" => "UDP"*/
);
...
...
src/www/interfaces_qinq.php
View file @
98a0662d
<?php
<?php
/*
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2009 Ermal Luçi
Copyright (C) 2009 Ermal Luçi
...
@@ -75,7 +76,7 @@ if ($_GET['act'] == "del") {
...
@@ -75,7 +76,7 @@ if ($_GET['act'] == "del") {
}
}
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"QinQ"
));
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"QinQ"
));
$shortcut_section
=
"interfaces"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
$main_buttons
=
array
(
$main_buttons
=
array
(
...
...
src/www/interfaces_qinq_edit.php
View file @
98a0662d
...
@@ -28,7 +28,6 @@
...
@@ -28,7 +28,6 @@
*/
*/
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"QinQ"
),
gettext
(
"Edit"
));
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"QinQ"
),
gettext
(
"Edit"
));
$shortcut_section
=
"interfaces"
;
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
...
...
src/www/interfaces_vlan.php
View file @
98a0662d
...
@@ -73,9 +73,8 @@ if ($_GET['act'] == "del") {
...
@@ -73,9 +73,8 @@ if ($_GET['act'] == "del") {
}
}
}
}
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"VLAN"
));
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"VLAN"
));
$shortcut_section
=
"interfaces"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
$main_buttons
=
array
(
$main_buttons
=
array
(
...
...
src/www/interfaces_vlan_edit.php
View file @
98a0662d
...
@@ -150,7 +150,7 @@ if ($_POST) {
...
@@ -150,7 +150,7 @@ if ($_POST) {
}
}
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"VLAN"
),
gettext
(
"Edit"
));
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"VLAN"
),
gettext
(
"Edit"
));
$shortcut_section
=
"interfaces"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
...
...
src/www/interfaces_wireless.php
View file @
98a0662d
<?php
<?php
/*
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2010 Erik Fonnesbeck
Copyright (C) 2010 Erik Fonnesbeck
...
@@ -62,9 +63,8 @@ if ($_GET['act'] == "del") {
...
@@ -62,9 +63,8 @@ if ($_GET['act'] == "del") {
}
}
}
}
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"Wireless"
));
$pgtitle
=
array
(
gettext
(
"Interfaces"
),
gettext
(
"Wireless"
));
$shortcut_section
=
"wireless"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
$main_buttons
=
array
(
$main_buttons
=
array
(
...
...
src/www/shortcuts.inc
View file @
98a0662d
...
@@ -204,10 +204,6 @@ $shortcuts['gateway-groups']['main'] = "system_gateway_groups.php";
...
@@ -204,10 +204,6 @@ $shortcuts['gateway-groups']['main'] = "system_gateway_groups.php";
$shortcuts
[
'gateway-groups'
][
'log'
]
=
"diag_logs_gateways.php"
;
$shortcuts
[
'gateway-groups'
][
'log'
]
=
"diag_logs_gateways.php"
;
$shortcuts
[
'gateway-groups'
][
'status'
]
=
"status_gateway_groups.php"
;
$shortcuts
[
'gateway-groups'
][
'status'
]
=
"status_gateway_groups.php"
;
$shortcuts
[
'interfaces'
]
=
array
();
$shortcuts
[
'interfaces'
][
'main'
]
=
"interfaces_assign.php"
;
$shortcuts
[
'interfaces'
][
'status'
]
=
"status_interfaces.php"
;
$shortcuts
[
'forwarder'
]
=
array
();
$shortcuts
[
'forwarder'
]
=
array
();
$shortcuts
[
'forwarder'
][
'main'
]
=
"services_dnsmasq.php"
;
$shortcuts
[
'forwarder'
][
'main'
]
=
"services_dnsmasq.php"
;
$shortcuts
[
'forwarder'
][
'log'
]
=
"diag_logs_resolver.php"
;
$shortcuts
[
'forwarder'
][
'log'
]
=
"diag_logs_resolver.php"
;
...
@@ -218,11 +214,6 @@ $shortcuts['resolver']['main'] = "services_unbound.php";
...
@@ -218,11 +214,6 @@ $shortcuts['resolver']['main'] = "services_unbound.php";
$shortcuts
[
'resolver'
][
'log'
]
=
"diag_logs_resolver.php"
;
$shortcuts
[
'resolver'
][
'log'
]
=
"diag_logs_resolver.php"
;
$shortcuts
[
'resolver'
][
'service'
]
=
"unbound"
;
$shortcuts
[
'resolver'
][
'service'
]
=
"unbound"
;
$shortcuts
[
'wireless'
]
=
array
();
$shortcuts
[
'wireless'
][
'main'
]
=
"interfaces_wireless.php"
;
$shortcuts
[
'wireless'
][
'log'
]
=
"diag_logs_wireless.php"
;
$shortcuts
[
'wireless'
][
'status'
]
=
"status_wireless.php"
;
$shortcuts
[
'ntp'
]
=
array
();
$shortcuts
[
'ntp'
]
=
array
();
$shortcuts
[
'ntp'
][
'service'
]
=
"ntpd"
;
/* really, hook it all up through some weird hint? */
$shortcuts
[
'ntp'
][
'service'
]
=
"ntpd"
;
/* really, hook it all up through some weird hint? */
...
...
src/www/status_wireless.php
View file @
98a0662d
...
@@ -30,7 +30,7 @@ require_once("guiconfig.inc");
...
@@ -30,7 +30,7 @@ require_once("guiconfig.inc");
require_once
(
"interfaces.inc"
);
require_once
(
"interfaces.inc"
);
$pgtitle
=
array
(
gettext
(
"Status"
),
gettext
(
"Wireless"
));
$pgtitle
=
array
(
gettext
(
"Status"
),
gettext
(
"Wireless"
));
$shortcut_section
=
"wireless"
;
include
(
"head.inc"
);
include
(
"head.inc"
);
$if
=
$_POST
[
'if'
];
$if
=
$_POST
[
'if'
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment