Commit 98a0662d authored by Franco Fichtner's avatar Franco Fichtner

interfaces: zap legacy shortcuts

parent 25987211
......@@ -46,7 +46,7 @@ if ($_POST['clear']) {
}
$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("Wireless"));
$shortcut_section = "wireless";
include("head.inc");
?>
......
......@@ -1618,7 +1618,6 @@ foreach ($mediaopts as $mediaopt){
}
$pgtitle = array(gettext("Interfaces"), $pconfig['descr']);
$shortcut_section = "interfaces";
$closehead = false;
include("head.inc");
......
......@@ -29,7 +29,6 @@
*/
$pgtitle = array(gettext("Interfaces"),gettext("Assign network ports"));
$shortcut_section = "interfaces";
require_once("guiconfig.inc");
require_once("filter.inc");
......
......@@ -76,9 +76,8 @@ if ($_GET['act'] == "del") {
}
}
$pgtitle = array(gettext("Interfaces"),gettext("Bridge"));
$shortcut_section = "interfaces";
include("head.inc");
$main_buttons = array(
......
......@@ -238,7 +238,7 @@ if ($_POST) {
}
$pgtitle = array(gettext("Interfaces"),gettext("Bridge"),gettext("Edit"));
$shortcut_section = "interfaces";
include("head.inc");
?>
......
......@@ -68,7 +68,7 @@ if ($_GET['act'] == "del") {
}
$pgtitle = array(gettext("Interfaces"),gettext("GIF"));
$shortcut_section = "interfaces";
include("head.inc");
$main_buttons = array(
......
<?php
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2008 Ermal Luçi
......@@ -128,7 +129,7 @@ if ($_POST) {
}
$pgtitle = array(gettext("Interfaces"),gettext("GIF"),gettext("Edit"));
$shortcut_section = "interfaces";
include("head.inc");
?>
......
<?php
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2008 Ermal Luçi
......@@ -66,7 +67,7 @@ if ($_GET['act'] == "del") {
}
$pgtitle = array(gettext("Interfaces"),gettext("GRE"));
$shortcut_section = "interfaces";
include("head.inc");
$main_buttons = array(
......
<?php
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2008 Ermal Luçi
......@@ -120,7 +121,7 @@ if ($_POST) {
}
$pgtitle = array(gettext("Interfaces"),gettext("GRE"),gettext("Edit"));
$shortcut_section = "interfaces";
include("head.inc");
?>
......
<?php
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2009 Ermal Luçi
......@@ -52,7 +53,7 @@ if ($_GET['act'] == "del") {
}
$pgtitle = array(gettext("Interfaces"),gettext("Groups"));
$shortcut_section = "interfaces";
include("head.inc");
$main_buttons = array(
......
<?php
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2009 Ermal Luçi
......@@ -31,7 +32,6 @@ require_once("guiconfig.inc");
require_once("interfaces.inc");
$pgtitle = array(gettext("Interfaces"),gettext("Groups"),gettext("Edit"));
$shortcut_section = "interfaces";
if (!isset($config['ifgroups']['ifgroupentry']) || !is_array($config['ifgroups']['ifgroupentry'])) {
$config['ifgroups']['ifgroupentry'] = array();
......
<?php
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2008 Ermal Luçi
......@@ -72,7 +73,7 @@ if ($_GET['act'] == "del") {
}
$pgtitle = array(gettext("Interfaces"),gettext("LAGG"));
$shortcut_section = "interfaces";
include("head.inc");
$main_buttons = array(
......
<?php
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2008 Ermal Luçi
......@@ -129,7 +130,7 @@ if ($_POST) {
}
$pgtitle = array(gettext("Interfaces"),gettext("LAGG"),gettext("Edit"));
$shortcut_section = "interfaces";
include("head.inc");
?>
......
<?php
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
......@@ -68,8 +69,9 @@ if (!is_array($config['ppps']['ppp'])) {
$a_ppps = $config['ppps']['ppp'];
$pgtitle = gettext("Interfaces: PPPs");
$shortcut_section = "interfaces";
include("head.inc");
$main_buttons = array(
array('href'=>'interfaces_ppps_edit.php', 'label'=>'Add'),
);
......
......@@ -384,7 +384,7 @@ if ($_POST) {
$closehead = false;
$pgtitle = array(gettext("Interfaces"),gettext("PPPs"),gettext("Edit"));
$shortcut_section = "interfaces";
include("head.inc");
$types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE", "pptp" => "PPTP", "l2tp" => "L2TP"/*, "tcp" => "TCP", "udp" => "UDP"*/ );
......
<?php
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2009 Ermal Luçi
......@@ -75,7 +76,7 @@ if ($_GET['act'] == "del") {
}
$pgtitle = array(gettext("Interfaces"),gettext("QinQ"));
$shortcut_section = "interfaces";
include("head.inc");
$main_buttons = array(
......
......@@ -28,7 +28,6 @@
*/
$pgtitle = array(gettext("Interfaces"),gettext("QinQ"), gettext("Edit"));
$shortcut_section = "interfaces";
require_once("guiconfig.inc");
require_once("interfaces.inc");
......
......@@ -73,9 +73,8 @@ if ($_GET['act'] == "del") {
}
}
$pgtitle = array(gettext("Interfaces"),gettext("VLAN"));
$shortcut_section = "interfaces";
include("head.inc");
$main_buttons = array(
......
......@@ -150,7 +150,7 @@ if ($_POST) {
}
$pgtitle = array(gettext("Interfaces"),gettext("VLAN"),gettext("Edit"));
$shortcut_section = "interfaces";
include("head.inc");
?>
......
<?php
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2010 Erik Fonnesbeck
......@@ -62,9 +63,8 @@ if ($_GET['act'] == "del") {
}
}
$pgtitle = array(gettext("Interfaces"),gettext("Wireless"));
$shortcut_section = "wireless";
include("head.inc");
$main_buttons = array(
......
......@@ -204,10 +204,6 @@ $shortcuts['gateway-groups']['main'] = "system_gateway_groups.php";
$shortcuts['gateway-groups']['log'] = "diag_logs_gateways.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']['main'] = "services_dnsmasq.php";
$shortcuts['forwarder']['log'] = "diag_logs_resolver.php";
......@@ -218,11 +214,6 @@ $shortcuts['resolver']['main'] = "services_unbound.php";
$shortcuts['resolver']['log'] = "diag_logs_resolver.php";
$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']['service'] = "ntpd"; /* really, hook it all up through some weird hint? */
......
......@@ -30,7 +30,7 @@ require_once("guiconfig.inc");
require_once("interfaces.inc");
$pgtitle = array(gettext("Status"),gettext("Wireless"));
$shortcut_section = "wireless";
include("head.inc");
$if = $_POST['if'];
......
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