Commit 0d2272ff authored by Franco Fichtner's avatar Franco Fichtner

www: interface and dns tools tabs gone for #461

Starting to get a life of its own...
parent 166c571b
......@@ -99,27 +99,37 @@
</System>
<Interfaces order="2" cssClass="fa fa-sitemap">
<Overview order="900" url="/status_interfaces.php" cssClass="glyphicon glyphicon-tasks"/>
<Assignments order="910" url="/interfaces_assign.php" cssClass="fa fa-pencil">
<Bridge url="/interfaces_bridge.php"/>
<BridgeEdit url="/interfaces_bridge_edit.php*"/>
<GIF url="/interfaces_gif.php"/>
<GIFEdit url="/interfaces_gif_edit.php*"/>
<GRE url="/interfaces_gre.php"/>
<GREEdit url="/interfaces_gre_edit.php*"/>
<Groups url="/interfaces_groups.php"/>
<GroupsEdit url="/interfaces_groups_edit.php*"/>
<LAGG url="/interfaces_lagg.php"/>
<LAGGEdit url="/interfaces_lagg_edit.php*"/>
<PPP url="/interfaces_ppps.php"/>
<PPPEdit url="/interfaces_ppps_edit.php*"/>
<QinQ url="/interfaces_qinq.php"/>
<QinQEdit url="/interfaces_qinq_edit.php*"/>
<VLAN url="/interfaces_vlan.php"/>
<VLANEdit url="/interfaces_vlan_edit.php*"/>
<Wireless url="/interfaces_wireless.php"/>
<WirelessEdit url="/interfaces_wireless_edit.php*"/>
</Assignments>
<Wireless order="920" cssClass="fa fa-wifi">
<Assignments order="910" url="/interfaces_assign.php" cssClass="fa fa-pencil"/>
<Types order="920" cssClass="fa fa-cog">
<Bridge url="/interfaces_bridge.php">
<Edit url="/interfaces_bridge_edit.php*"/>
</Bridge>
<GIF url="/interfaces_gif.php">
<Edit url="/interfaces_gif_edit.php*"/>
</GIF>
<GRE url="/interfaces_gre.php">
<Edit url="/interfaces_gre_edit.php*"/>
</GRE>
<Group url="/interfaces_groups.php">
<Edit url="/interfaces_groups_edit.php*"/>
</Group>
<LAGG url="/interfaces_lagg.php">
<Edit url="/interfaces_lagg_edit.php*"/>
</LAGG>
<PPP url="/interfaces_ppps.php">
<Edit url="/interfaces_ppps_edit.php*"/>
</PPP>
<QinQ url="/interfaces_qinq.php">
<Edit url="/interfaces_qinq_edit.php*"/>
</QinQ>
<VLAN url="/interfaces_vlan.php">
<Edit url="/interfaces_vlan_edit.php*"/>
</VLAN>
<Wireless url="/interfaces_wireless.php">
<Edit url="/interfaces_wireless_edit.php*"/>
</Wireless>
</Types>
<Wireless order="925" cssClass="fa fa-wifi">
<Log VisibleName="Log File" url="/diag_logs_wireless.php"/>
<Status url="/status_wireless.php"/>
</Wireless>
......@@ -219,7 +229,6 @@
<Details url="/status_dhcpv6_leases.php?*"/>
</Leases>
</DHCPv6>
<DNSFilter VisibleName="DNS Filter" url="/services_opendns.php" cssClass="fa fa-tags"/>
<DNSForwarder VisibleName="DNS Forwarder" url="/services_dnsmasq.php" cssClass="fa fa-tags">
<Hosts url="/services_dnsmasq_edit.php*"/>
<Domains url="/services_dnsmasq_domainoverride_edit.php*"/>
......@@ -234,11 +243,15 @@
<All url="/services_unbound_acls.php*"/>
</ACL>
</DNSResolver>
<DynamicDNS VisibleName="Dynamic DNS" url="/services_dyndns.php" cssClass="fa fa-tags">
<DynamicDNSRFC2136Clients url="/services_rfc2136.php"/>
<DynamicDNSRFC2136ClientsEdit url="/services_rfc2136_edit.php"/>
<DynamicDNSEdit url="/services_dyndns_edit.php"/>
</DynamicDNS>
<DNSTools VisibleName="DNS Tools" cssClass="fa fa-tags">
<DynDNS url="/services_dyndns.php">
<Edit url="/services_dyndns_edit.php*"/>
</DynDNS>
<Filter url="/services_opendns.php"/>
<RFC2136 VisibleName="RFC 2136" url="/services_rfc2136.php">
<Edit url="/services_rfc2136_edit.php*"/>
</RFC2136>
</DNSTools>
<IGMPProxy VisibleName="IGMP Proxy" url="/services_igmpproxy.php" cssClass="fa fa-map-signs">
<IGMPProxyEdit url="/services_igmpproxy_edit.php"/>
</IGMPProxy>
......
......@@ -448,23 +448,6 @@ include("head.inc");
<section class="col-xs-12">
<?php
$tab_array = array();
$tab_array[0] = array(gettext("Interface assignments"), true, "interfaces_assign.php");
$tab_array[1] = array(gettext("Interface Groups"), false, "interfaces_groups.php");
$tab_array[2] = array(gettext("Wireless"), false, "interfaces_wireless.php");
$tab_array[3] = array(gettext("VLANs"), false, "interfaces_vlan.php");
$tab_array[4] = array(gettext("QinQs"), false, "interfaces_qinq.php");
$tab_array[5] = array(gettext("PPPs"), false, "interfaces_ppps.php");
$tab_array[7] = array(gettext("GRE"), false, "interfaces_gre.php");
$tab_array[8] = array(gettext("GIF"), false, "interfaces_gif.php");
$tab_array[9] = array(gettext("Bridges"), false, "interfaces_bridge.php");
$tab_array[10] = array(gettext("LAGG"), false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<form action="interfaces_assign.php" method="post" name="iform" id="iform">
......@@ -474,8 +457,9 @@ include("head.inc");
<thead>
<tr>
<th colspan="2" class="listtopic"><?=gettext("Interface"); ?></th>
<th colspan="2" class="listtopic"><?=gettext("Network port"); ?></th>
<th class="listtopic"><?=gettext("Interface"); ?></th>
<th class="listtopic"><?=gettext("Network port"); ?></th>
<th colspan="2" class="listtopic"></th>
</tr>
</thead>
......@@ -529,24 +513,19 @@ include("head.inc");
</td>
<td class="list">
<select name="if_add" id="if_add">
<?php
foreach ($unused_portlist as $portname => $portinfo):
?>
<?php foreach ($unused_portlist as $portname => $portinfo): ?>
<option value="<?=$portname;?>" <?php if ($portname == $iface['if']) echo " selected=\"selected\"";?>>
<?=interface_assign_description($portinfo, $portname);?>
</option>
<?php
endforeach;
?>
<?php endforeach; ?>
</select>
</td>
<td class="list">
<button name="add_x" type="submit" value="<?=$portname;?>" class="btn btn-primary" title="<?=gettext("add selected interface");?>"><span class="glyphicon glyphicon-plus"></span></button>
</td>
</tr>
<?php
endif;
?>
<tr><td colspan="2"><?= gettext('Interfaces that are configured as members of a LAGG interface will not be shown.') ?></td></tr>
<?php endif; ?>
</tbody>
</table>
</div>
......@@ -555,9 +534,6 @@ include("head.inc");
<div id='savediv' style='display:none'>
<input name="Submit" type="submit" class="btn btn-primary" value="<?=gettext("Save"); ?>" /><br /><br />
</div>
<ul>
<li><span class="vexpl"><?=gettext("Interfaces that are configured as members of a lagg(4) interface will not be shown."); ?></span></li>
</ul>
</div>
</form>
......
......@@ -97,23 +97,6 @@ $main_buttons = array(
<section class="col-xs-12">
<?php
$tab_array = array();
$tab_array[0] = array(gettext("Interface assignments"), false, "interfaces_assign.php");
$tab_array[1] = array(gettext("Interface Groups"), false, "interfaces_groups.php");
$tab_array[2] = array(gettext("Wireless"), false, "interfaces_wireless.php");
$tab_array[3] = array(gettext("VLANs"), false, "interfaces_vlan.php");
$tab_array[4] = array(gettext("QinQs"), false, "interfaces_qinq.php");
$tab_array[5] = array(gettext("PPPs"), false, "interfaces_ppps.php");
$tab_array[6] = array(gettext("GRE"), false, "interfaces_gre.php");
$tab_array[7] = array(gettext("GIF"), false, "interfaces_gif.php");
$tab_array[8] = array(gettext("Bridges"), true, "interfaces_bridge.php");
$tab_array[9] = array(gettext("LAGG"), false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<form action="interfaces_bridge.php" method="post" name="iform" id="iform">
......
......@@ -88,23 +88,6 @@ $main_buttons = array(
<section class="col-xs-12">
<?php
$tab_array = array();
$tab_array[0] = array(gettext("Interface assignments"), false, "interfaces_assign.php");
$tab_array[1] = array(gettext("Interface Groups"), false, "interfaces_groups.php");
$tab_array[2] = array(gettext("Wireless"), false, "interfaces_wireless.php");
$tab_array[3] = array(gettext("VLANs"), false, "interfaces_vlan.php");
$tab_array[4] = array(gettext("QinQs"), false, "interfaces_qinq.php");
$tab_array[5] = array(gettext("PPPs"), false, "interfaces_ppps.php");
$tab_array[6] = array(gettext("GRE"), false, "interfaces_gre.php");
$tab_array[7] = array(gettext("GIF"), true, "interfaces_gif.php");
$tab_array[8] = array(gettext("Bridges"), false, "interfaces_bridge.php");
$tab_array[9] = array(gettext("LAGG"), false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<form action="interfaces_assign.php" method="post" name="iform" id="iform">
......
......@@ -88,23 +88,6 @@ $main_buttons = array(
<section class="col-xs-12">
<?php
$tab_array = array();
$tab_array[0] = array(gettext("Interface assignments"), false, "interfaces_assign.php");
$tab_array[1] = array(gettext("Interface Groups"), false, "interfaces_groups.php");
$tab_array[2] = array(gettext("Wireless"), false, "interfaces_wireless.php");
$tab_array[3] = array(gettext("VLANs"), false, "interfaces_vlan.php");
$tab_array[4] = array(gettext("QinQs"), false, "interfaces_qinq.php");
$tab_array[5] = array(gettext("PPPs"), false, "interfaces_ppps.php");
$tab_array[6] = array(gettext("GRE"), true, "interfaces_gre.php");
$tab_array[7] = array(gettext("GIF"), false, "interfaces_gif.php");
$tab_array[8] = array(gettext("Bridges"), false, "interfaces_bridge.php");
$tab_array[9] = array(gettext("LAGG"), false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<form action="interfaces_assign.php" method="post" name="iform" id="iform">
......
......@@ -73,23 +73,6 @@ $main_buttons = array(
<section class="col-xs-12">
<?php
$tab_array = array();
$tab_array[0] = array(gettext("Interface assignments"), false, "interfaces_assign.php");
$tab_array[1] = array(gettext("Interface Groups"), true, "interfaces_groups.php");
$tab_array[2] = array(gettext("Wireless"), false, "interfaces_wireless.php");
$tab_array[3] = array(gettext("VLANs"), false, "interfaces_vlan.php");
$tab_array[4] = array(gettext("QinQs"), false, "interfaces_qinq.php");
$tab_array[5] = array(gettext("PPPs"), false, "interfaces_ppps.php");
$tab_array[6] = array(gettext("GRE"), false, "interfaces_gre.php");
$tab_array[7] = array(gettext("GIF"), false, "interfaces_gif.php");
$tab_array[8] = array(gettext("Bridges"), false, "interfaces_bridge.php");
$tab_array[9] = array(gettext("LAGG"), false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
......
......@@ -93,23 +93,6 @@ $main_buttons = array(
<section class="col-xs-12">
<?php
$tab_array = array();
$tab_array[0] = array(gettext("Interface assignments"), false, "interfaces_assign.php");
$tab_array[1] = array(gettext("Interface Groups"), false, "interfaces_groups.php");
$tab_array[2] = array(gettext("Wireless"), false, "interfaces_wireless.php");
$tab_array[3] = array(gettext("VLANs"), false, "interfaces_vlan.php");
$tab_array[4] = array(gettext("QinQs"), false, "interfaces_qinq.php");
$tab_array[5] = array(gettext("PPPs"), false, "interfaces_ppps.php");
$tab_array[6] = array(gettext("GRE"), false, "interfaces_gre.php");
$tab_array[7] = array(gettext("GIF"), false, "interfaces_gif.php");
$tab_array[8] = array(gettext("Bridges"), false, "interfaces_bridge.php");
$tab_array[9] = array(gettext("LAGG"), true, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
......
......@@ -89,23 +89,6 @@ $main_buttons = array(
<section class="col-xs-12">
<?php
$tab_array = array();
$tab_array[0] = array(gettext("Interface assignments"), false, "interfaces_assign.php");
$tab_array[1] = array(gettext("Interface Groups"), false, "interfaces_groups.php");
$tab_array[2] = array(gettext("Wireless"), false, "interfaces_wireless.php");
$tab_array[3] = array(gettext("VLANs"), false, "interfaces_vlan.php");
$tab_array[4] = array(gettext("QinQs"), false, "interfaces_qinq.php");
$tab_array[5] = array(gettext("PPPs"), true, "interfaces_ppps.php");
$tab_array[6] = array(gettext("GRE"), false, "interfaces_gre.php");
$tab_array[7] = array(gettext("GIF"), false, "interfaces_gif.php");
$tab_array[8] = array(gettext("Bridges"), false, "interfaces_bridge.php");
$tab_array[9] = array(gettext("LAGG"), false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<form action="interfaces_assign.php" method="post" name="iform" id="iform">
......
......@@ -96,23 +96,6 @@ $main_buttons = array(
<section class="col-xs-12">
<?php
$tab_array = array();
$tab_array[0] = array(gettext("Interface assignments"), false, "interfaces_assign.php");
$tab_array[1] = array(gettext("Interface Groups"), false, "interfaces_groups.php");
$tab_array[2] = array(gettext("Wireless"), false, "interfaces_wireless.php");
$tab_array[3] = array(gettext("VLANs"), false, "interfaces_vlan.php");
$tab_array[4] = array(gettext("QinQs"), true, "interfaces_qinq.php");
$tab_array[5] = array(gettext("PPPs"), false, "interfaces_ppps.php");
$tab_array[6] = array(gettext("GRE"), false, "interfaces_gre.php");
$tab_array[7] = array(gettext("GIF"), false, "interfaces_gif.php");
$tab_array[8] = array(gettext("Bridges"), false, "interfaces_bridge.php");
$tab_array[9] = array(gettext("LAGG"), false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
......
......@@ -95,23 +95,6 @@ $main_buttons = array(
<section class="col-xs-12">
<?php
$tab_array = array();
$tab_array[0] = array(gettext("Interface assignments"), false, "interfaces_assign.php");
$tab_array[1] = array(gettext("Interface Groups"), false, "interfaces_groups.php");
$tab_array[2] = array(gettext("Wireless"), false, "interfaces_wireless.php");
$tab_array[3] = array(gettext("VLANs"), true, "interfaces_vlan.php");
$tab_array[4] = array(gettext("QinQs"), false, "interfaces_qinq.php");
$tab_array[5] = array(gettext("PPPs"), false, "interfaces_ppps.php");
$tab_array[6] = array(gettext("GRE"), false, "interfaces_gre.php");
$tab_array[7] = array(gettext("GIF"), false, "interfaces_gif.php");
$tab_array[8] = array(gettext("Bridges"), false, "interfaces_bridge.php");
$tab_array[9] = array(gettext("LAGG"), false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<form action="interfaces_assign.php" method="post" name="iform" id="iform">
......
......@@ -85,23 +85,6 @@ $main_buttons = array(
<section class="col-xs-12">
<?php
$tab_array = array();
$tab_array[0] = array(gettext("Interface assignments"), false, "interfaces_assign.php");
$tab_array[1] = array(gettext("Interface Groups"), false, "interfaces_groups.php");
$tab_array[2] = array(gettext("Wireless"), true, "interfaces_wireless.php");
$tab_array[3] = array(gettext("VLANs"), false, "interfaces_vlan.php");
$tab_array[4] = array(gettext("QinQs"), false, "interfaces_qinq.php");
$tab_array[5] = array(gettext("PPPs"), false, "interfaces_ppps.php");
$tab_array[6] = array(gettext("GRE"), false, "interfaces_gre.php");
$tab_array[7] = array(gettext("GIF"), false, "interfaces_gif.php");
$tab_array[8] = array(gettext("Bridges"), false, "interfaces_bridge.php");
$tab_array[9] = array(gettext("LAGG"), false, "interfaces_lagg.php");
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<form action="interfaces_assign.php" method="post" name="iform" id="iform">
......
......@@ -73,16 +73,8 @@ $main_buttons = array(
<section class="col-xs-12">
<?php
$tab_array = array();
$tab_array[] = array(gettext("DynDns"), true, "services_dyndns.php");
$tab_array[] = array(gettext("RFC 2136"), false, "services_rfc2136.php");
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<form action="services_dyndns.php" method="post" name="iform" id="iform">
<div class="table-responsive">
......
......@@ -66,16 +66,8 @@ $main_buttons = array(
<section class="col-xs-12">
<?php
$tab_array = array();
$tab_array[] = array(gettext("DynDns"), false, "services_dyndns.php");
$tab_array[] = array(gettext("RFC 2136"), true, "services_rfc2136.php");
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<form action="services_rfc2136.php" method="post" name="iform" id="iform">
<div class="table-responsive">
......
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