Commit d389da35 authored by Franco Fichtner's avatar Franco Fichtner

interfaces: apply whitespace cleanups

parent 99d02e9a
......@@ -1562,31 +1562,31 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if (is_subsystem_dirty('interfaces')): ?><p>
<?php print_info_box_np(sprintf(gettext("The %s configuration has been changed."),$wancfg['descr'])."</p><p>".gettext("You must apply the changes in order for them to take effect.")."</p><p>".gettext("Don't forget to adjust the DHCP Server range if needed after applying."));?></p><br />
<?php endif; ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
<section class="col-xs-12">
<div class="content-box">
<div class="content-box-main">
<section class="col-xs-12">
<div class="content-box">
<div class="content-box-main">
<form action="interfaces.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped">
<thead>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th colspan="2"><?=gettext("General configuration"); ?></th>
</tr>
</thead>
<tbody>
</thead>
<tbody>
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Enable"); ?></td>
<td width="78%" class="vtable">
......@@ -1594,14 +1594,14 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
<strong><?=gettext("Enable Interface"); ?></strong>
</td>
</tr>
</tbody>
</tbody>
</table>
</div>
<div class="table-responsive">
<div class="table-responsive">
<div style="display:none;" id="allcfg">
<table class="table table-striped">
<table class="table table-striped">
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Description"); ?></td>
<td width="78%" class="vtable">
......@@ -1713,19 +1713,19 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
echo '</tr>';
}
?>
<tr style="display:none;" id="none"><td style="display:none;"></td></tr>
<tr style="display:none;" id="staticv4">
<td colspan="2" style="padding:0px;">
<a name="gatewaysection"></a>
<table class="table table-striped" summary="staticv4">
<thead>
<thead>
<tr>
<th colspan="2" valign="top" class="listtopic"><?=gettext("Static IPv4 configuration"); ?></th>
</tr>
</thead>
<tbody>
</thead>
<tbody>
<tr>
<td width="22%" valign="top" class="vncellreq"><?=gettext("IPv4 address"); ?></td>
<td width="78%" class="vtable">
......@@ -1810,7 +1810,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
</div>
</td>
</tr>
</tbody>
</tbody>
</table>
</td>
</tr>
......@@ -1818,7 +1818,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
<td colspan="2" style="padding:0px;">
<a name="gatewayv6section"></a>
<table width="100%" class="table table-striped" border="0" cellpadding="6" cellspacing="0" summary="staticv6" class="table table-striped">
<thead>
<tr>
<th colspan="2" valign="top" class="listtopic"><?=gettext("Static IPv6 configuration"); ?></th>
......@@ -1929,7 +1929,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
<td colspan="2" style="padding: 0px;">
<table width="100%" class="table table-striped" border="0" cellpadding="6" cellspacing="0" summary="dhcp">
<tr>
<td><?=gettext("DHCP client configuration");?></td>
<td><?=gettext("DHCP client configuration");?></td>
<td valign="top" class="listtopic"><?=gettext(' <input name="adv_dhcp_config_advanced" type="checkbox" id="adv_dhcp_config_advanced" value="" onclick="show_adv_dhcp_config(this)" /> ' .
" Advanced &nbsp; &nbsp; " .
' <input name="adv_dhcp_config_file_override" type="checkbox" id="adv_dhcp_config_file_override" value="" onclick="show_adv_dhcp_config(this)" /> ' .
......@@ -1992,24 +1992,24 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
Timeout: <input name="adv_dhcp_pt_timeout" type="text" class="form-control unknown" id="adv_dhcp_pt_timeout" size="2" value="<?=htmlspecialchars($pconfig['adv_dhcp_pt_timeout']);?>" onchange="customdhcpptcheckradiobuton(document.iform.adv_dhcp_pt_values, '');" />
Retry: <input name="adv_dhcp_pt_retry" type="text" class="form-control unknown" id="adv_dhcp_pt_retry" size="2" value="<?=htmlspecialchars($pconfig['adv_dhcp_pt_retry']);?>" onchange="customdhcpptcheckradiobuton(document.iform.adv_dhcp_pt_values, '');" />
Select Timeout: <input name="adv_dhcp_pt_select_timeout" type="text" class="form-control unknown" id="adv_dhcp_pt_select_timeout" size="2" value="<?=htmlspecialchars($pconfig['adv_dhcp_pt_select_timeout']);?>" onchange="customdhcpptcheckradiobuton(document.iform.adv_dhcp_pt_values, '');" />
&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;
Presets: &nbsp;
<input name="adv_dhcp_pt_values" type="radio" value="DHCP" id="customdhcpptdhcpdefaults" onclick="customdhcpptsetvalues(this, iform);" />FreeBSD Default &nbsp;
<input name="adv_dhcp_pt_values" type="radio" value="DHCP" id="customdhcpptdhcpdefaults" onclick="customdhcpptsetvalues(this, iform);" />FreeBSD Default &nbsp;
<input name="adv_dhcp_pt_values" type="radio" value="Clear" id="customdhcpptclear" onclick="customdhcpptsetvalues(this, iform);" />Clear
<br />
Reboot: <input name="adv_dhcp_pt_reboot" type="text" class="form-control unknown" id="adv_dhcp_pt_reboot" size="2" value="<?=htmlspecialchars($pconfig['adv_dhcp_pt_reboot']);?>" onchange="customdhcpptcheckradiobuton(document.iform.adv_dhcp_pt_values, '');" />
Backoff Cutoff: <input name="adv_dhcp_pt_backoff_cutoff" type="text" class="form-control unknown" id="adv_dhcp_pt_backoff_cutoff" size="2" value="<?=htmlspecialchars($pconfig['adv_dhcp_pt_backoff_cutoff']);?>" onchange="customdhcpptcheckradiobuton(document.iform.adv_dhcp_pt_values, '');" />
Initial Interval: <input name="adv_dhcp_pt_initial_interval" type="text" class="form-control unknown" id="adv_dhcp_pt_initial_interval" size="2" value="<?=htmlspecialchars($pconfig['adv_dhcp_pt_initial_interval']);?>" onchange="customdhcpptcheckradiobuton(document.iform.adv_dhcp_pt_values, '');" />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<input name="adv_dhcp_pt_values" type="radio" value="pfSense" id="customdhcpptpfsensedefaults" onclick="customdhcpptsetvalues(this, iform);" />pfSense Default &nbsp;
<input name="adv_dhcp_pt_values" type="radio" value="SavedCfg" checked="checked" id="customdhcpptsavedcfg" onclick="customdhcpptsetvalues(this, iform);" />Saved Cfg
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<input name="adv_dhcp_pt_values" type="radio" value="pfSense" id="customdhcpptpfsensedefaults" onclick="customdhcpptsetvalues(this, iform);" />pfSense Default &nbsp;
<input name="adv_dhcp_pt_values" type="radio" value="SavedCfg" checked="checked" id="customdhcpptsavedcfg" onclick="customdhcpptsetvalues(this, iform);" />Saved Cfg
<br />
<?=gettext("The values in these fields are DHCP protocol timings used when requesting a lease. <br /> " ); ?>
<script type="text/javascript">
//<![CDATA[
function customdhcpptcheckradiobuton(T, BUTTON) {
......@@ -2019,7 +2019,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
}
T.value = BUTTON;
}
function customdhcpptsetvalues(T, FORM) {
// timeout, retry, select-timeout, reboot, backoff-cutoff, initial-interval
if (T.value == "DHCP") customdhcpptsetvaluesnow(T, FORM, "60", "300", "0", "10", "120", "10");
......@@ -2027,7 +2027,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
if (T.value == "SavedCfg") customdhcpptsetvaluesnow(T, FORM, "<?=htmlspecialchars($pconfig['adv_dhcp_pt_timeout']);?>", "<?=htmlspecialchars($pconfig['adv_dhcp_pt_retry']);?>", "<?=htmlspecialchars($pconfig['adv_dhcp_pt_select_timeout']);?>", "<?=htmlspecialchars($pconfig['adv_dhcp_pt_reboot']);?>", "<?=htmlspecialchars($pconfig['adv_dhcp_pt_backoff_cutoff']);?>", "<?=htmlspecialchars($pconfig['adv_dhcp_pt_initial_interval']);?>");
if (T.value == "Clear") customdhcpptsetvaluesnow(T, FORM, "", "", "", "", "", "");
}
function customdhcpptsetvaluesnow(T, FORM, timeout, retry, selecttimeout, reboot, backoffcutoff, initialinterval) {
FORM.adv_dhcp_pt_timeout.value = timeout;
FORM.adv_dhcp_pt_retry.value = retry;
......@@ -2035,10 +2035,10 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
FORM.adv_dhcp_pt_reboot.value = reboot;
FORM.adv_dhcp_pt_backoff_cutoff.value = backoffcutoff;
FORM.adv_dhcp_pt_initial_interval.value = initialinterval;
FORM.adv_dhcp_pt_values.value = T.value;
}
<!-- Set the adv_dhcp_pt_values radio button from saved config -->
var RADIOBUTTON_VALUE = "<?=htmlspecialchars($pconfig['adv_dhcp_pt_values']);?>";
if (RADIOBUTTON_VALUE == "") RADIOBUTTON_VALUE = "SavedCfg";
......@@ -2085,7 +2085,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
<tr style='display:none' id="show_adv_dhcp_config_file_override">
<td width="22%" valign="top" class="vncell"><?=gettext("<a target=\"FreeBSD_DHCP\" href=\"http://www.freebsd.org/cgi/man.cgi?query=dhclient.conf&amp;sektion=5\">Configuration File</a> Override"); ?></td>
<td width="78%" class="vtable">
<input name="adv_dhcp_config_file_override_path" type="text" class="form-control unknown" id="adv_dhcp_config_file_override_path" size="86" value="<?=htmlspecialchars($pconfig['adv_dhcp_config_file_override_path']);?>" />
<input name="adv_dhcp_config_file_override_path" type="text" class="form-control unknown" id="adv_dhcp_config_file_override_path" size="86" value="<?=htmlspecialchars($pconfig['adv_dhcp_config_file_override_path']);?>" />
<br />
<?=gettext("The value in this field is the full absolute path to a DHCP client configuration file. [/[dirname/[.../]]filename[.ext]] <br /> " .
"Value Substitutions in Config File: {interface}, {hostname}, {mac_addr_asciiCD}, {mac_addr_hexCD} <br />" .
......@@ -2094,41 +2094,41 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
</td>
</tr>
<tr>
<td colspan="2" valign="top" height="16"></td>
</tr>
<tr>
<td colspan="2" valign="top" height="16"></td>
</tr>
</table>
<script type="text/javascript">
//<![CDATA[
function show_adv_dhcp_config(T) {
if (T.checked) T.value = "Selected";
else T.value = "";
if (document.iform.adv_dhcp_config_file_override.checked) show_hide_adv_dhcp('none', 'none', '');
else if (document.iform.adv_dhcp_config_advanced.checked) show_hide_adv_dhcp('', '', 'none');
else show_hide_adv_dhcp('', 'none', 'none');
else show_hide_adv_dhcp('', 'none', 'none');
}
function show_hide_adv_dhcp(basic, advanced, override) {
document.getElementById("show_basic_dhcphostname").style.display = basic;
document.getElementById("show_basic_dhcpalias-address").style.display = basic;
document.getElementById("show_basic_dhcprejectlease").style.display = basic;
document.getElementById("show_adv_dhcp_protocol_timing").style.display = advanced;
document.getElementById("show_adv_dhcp_lease_requirements_and_requests").style.display = advanced;
document.getElementById("show_adv_dhcp_option_modifiers").style.display = advanced;
document.getElementById("show_adv_dhcp_config_file_override").style.display = override;
}
<!-- Set the adv_dhcp_config_advanced checkbox from saved config -->
if ("<?=htmlspecialchars($pconfig['adv_dhcp_config_advanced']);?>" == "Selected") document.iform.adv_dhcp_config_advanced.checked = true;
show_adv_dhcp_config(document.iform.adv_dhcp_config_advanced);
<!-- Set the adv_dhcp_config_file_override checkbox from saved config -->
if ("<?=htmlspecialchars($pconfig['adv_dhcp_config_file_override']);?>" == "Selected") document.iform.adv_dhcp_config_file_override.checked = true;
show_adv_dhcp_config(document.iform.adv_dhcp_config_file_override);
......@@ -2241,7 +2241,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
<?=gettext("<a target=\"FreeBSD_DHCP\" href=\"http://www.freebsd.org/cgi/man.cgi?query=dhcp6c.conf&amp;sektion=5&amp;apropos=0&amp;manpath=FreeBSD+Ports#Identity_association_statement\">Identity Association Statement</a>"); ?>
</td>
<td width="78%" class="vtable">
<input name="adv_dhcp6_id_assoc_statement_address_enable" type="checkbox" id="adv_dhcp6_id_assoc_statement_address_enable" value="" onclick="show_adv_dhcp6_config(this);" />
<?=gettext("Non-Temporary Address Allocation"); ?>
<div style='display:none' id="show_adv_dhcp6_id_assoc_statement_address">
......@@ -2258,7 +2258,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
<input name="adv_dhcp6_id_assoc_statement_address_vltime" type="text" class="form-control unknown" id="adv_dhcp6_id_assoc_statement_address_vltime" size="3" value="<?=htmlspecialchars($pconfig['adv_dhcp6_id_assoc_statement_address_vltime']);?>" />
</div>
<hr/>
<input name="adv_dhcp6_id_assoc_statement_prefix_enable" type="checkbox" id="adv_dhcp6_id_assoc_statement_prefix_enable" value="" onclick="show_adv_dhcp6_config(this)" />
<?=gettext("Prefix Delegation"); ?>
<div style='display:none' id="show_adv_dhcp6_id_assoc_statement_prefix">
......@@ -2330,7 +2330,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
<?=gettext("<a target=\"FreeBSD_DHCP\" href=\"http://www.freebsd.org/cgi/man.cgi?query=dhcp6c.conf&amp;sektion=5&amp;apropos=0&amp;manpath=FreeBSD+Ports\">Configuration File</a> Override"); ?>
</td>
<td width="78%" class="vtable">
<input name="adv_dhcp6_config_file_override_path" type="text" class="form-control unknown" id="adv_dhcp6_config_file_override_path" size="86" value="<?=htmlspecialchars($pconfig['adv_dhcp6_config_file_override_path']);?>" />
<input name="adv_dhcp6_config_file_override_path" type="text" class="form-control unknown" id="adv_dhcp6_config_file_override_path" size="86" value="<?=htmlspecialchars($pconfig['adv_dhcp6_config_file_override_path']);?>" />
<br />
<?=gettext("The value in this field is the full absolute path to a DHCP client configuration file. [/[dirname/[.../]]filename[.ext]] <br /> " .
"Value Substitutions in Config File: {interface}, {hostname}, {mac_addr_asciiCD}, {mac_addr_hexCD} <br />" .
......@@ -2339,68 +2339,68 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
</td>
</tr>
<tr>
<td colspan="2" valign="top" height="16"></td>
</tr>
<tr>
<td colspan="2" valign="top" height="16"></td>
</tr>
</table>
<script type="text/javascript">
//<![CDATA[
function show_adv_dhcp6_config(T) {
if (T.checked) T.value = "Selected";
else T.value = "";
if (document.iform.adv_dhcp6_config_file_override.checked) show_hide_adv_dhcp6('none', 'none', '' );
else if (document.iform.adv_dhcp6_config_advanced.checked) show_hide_adv_dhcp6('none', '', 'none');
else show_hide_adv_dhcp6('', 'none', 'none');
else show_hide_adv_dhcp6('', 'none', 'none');
}
function show_hide_adv_dhcp6(basic, advanced, override) {
document.getElementById("basicdhcp6_use_pppoeinterface").style.display = basic;
document.getElementById("basicdhcp6_show_dhcp6_prefix_delegation_size").style.display = basic;
document.getElementById("basicdhcp6_show_dhcp6_prefix_send_hint").style.display = basic;
document.getElementById("basicdhcp6_show_dhcp6_prefix_only").style.display = basic;
document.getElementById("show_adv_dhcp6_interface_statement").style.display = advanced;
document.getElementById("show_adv_dhcp6_id_assoc_statement").style.display = advanced;
document.getElementById("show_adv_dhcp6_id_assoc_statement_address").style.display = 'none';
if (document.iform.adv_dhcp6_id_assoc_statement_address_enable.checked) {
document.getElementById("show_adv_dhcp6_id_assoc_statement_address").style.display = advanced;
}
document.getElementById("show_adv_dhcp6_id_assoc_statement_prefix").style.display = 'none';
document.getElementById("show_adv_dhcp6_prefix_interface_statement").style.display = 'none';
if (document.iform.adv_dhcp6_id_assoc_statement_prefix_enable.checked) {
document.getElementById("show_adv_dhcp6_id_assoc_statement_prefix").style.display = advanced;
document.getElementById("show_adv_dhcp6_prefix_interface_statement").style.display = advanced;
}
document.getElementById("show_adv_dhcp6_authentication_statement").style.display = advanced;
document.getElementById("show_adv_dhcp6_key_info_statement").style.display = advanced;
document.getElementById("show_adv_dhcp6_config_file_override").style.display = override;
}
<!-- Set the adv_dhcp6_config_advanced checkbox from saved config -->
if ("<?=htmlspecialchars($pconfig['adv_dhcp6_config_advanced']);?>" == "Selected") document.iform.adv_dhcp6_config_advanced.checked = true;
show_adv_dhcp6_config(document.iform.adv_dhcp6_config_advanced);
<!-- Set the adv_dhcp6_config_file_override checkbox from saved config -->
if ("<?=htmlspecialchars($pconfig['adv_dhcp6_config_file_override']);?>" == "Selected") document.iform.adv_dhcp6_config_file_override.checked = true;
show_adv_dhcp6_config(document.iform.adv_dhcp6_config_file_override);
<!-- Set the adv_dhcp6_interface_statement_information_only_enable checkbox from saved config -->
if ("<?=htmlspecialchars($pconfig['adv_dhcp6_interface_statement_information_only_enable']);?>" == "Selected") document.iform.adv_dhcp6_interface_statement_information_only_enable.checked = true;
show_adv_dhcp6_config(document.iform.adv_dhcp6_interface_statement_information_only_enable);
<!-- Set the adv_dhcp6_id_assoc_statement_address_enable checkbox from saved config -->
if ("<?=htmlspecialchars($pconfig['adv_dhcp6_id_assoc_statement_address_enable']);?>" == "Selected") document.iform.adv_dhcp6_id_assoc_statement_address_enable.checked = true;
show_adv_dhcp6_config(document.iform.adv_dhcp6_id_assoc_statement_address_enable);
<!-- Set the adv_dhcp6_id_assoc_statement_prefix_enable checkbox from saved config -->
if ("<?=htmlspecialchars($pconfig['adv_dhcp6_id_assoc_statement_prefix_enable']);?>" == "Selected") document.iform.adv_dhcp6_id_assoc_statement_prefix_enable.checked = true;
show_adv_dhcp6_config(document.iform.adv_dhcp6_id_assoc_statement_prefix_enable);
......@@ -3305,7 +3305,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
</tr>
</table> <!-- End "allcfg" table -->
</div> <!-- End "allcfg" div -->
<table width="100%" class="table table-striped" border="0" cellpadding="6" cellspacing="0" summary="buttons">
<tr>
<td width="22%" valign="top">
......@@ -3323,14 +3323,14 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
</td>
</tr>
</table>
</div>
</div>
</form>
</div>
</section>
</div>
</div>
</section>
<script type="text/javascript">
//<![CDATA[
var gatewayip;
......@@ -3492,4 +3492,4 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
?>
//]]>
</script>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
......@@ -443,141 +443,141 @@ if(file_exists("/var/run/interface_mismatch_reboot_needed"))
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="row">
<?php
if (file_exists("/tmp/reload_interfaces")) {
echo "<p>\n";
print_info_box_np(gettext("The interface configuration has been changed.<br />You must apply the changes in order for them to take effect."));
echo "<br /></p>\n";
} elseif($savemsg)
print_info_box($savemsg);
pfSense_handle_custom_code("/usr/local/pkg/interfaces_assign/pre_input_errors");
if ($input_errors)
print_input_errors($input_errors);
?>
<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">
<div class="table-responsive">
<table class="table table-striped table-sort">
<div class="container-fluid">
<div class="row">
<?php
if (file_exists("/tmp/reload_interfaces")) {
echo "<p>\n";
print_info_box_np(gettext("The interface configuration has been changed.<br />You must apply the changes in order for them to take effect."));
echo "<br /></p>\n";
} elseif($savemsg)
print_info_box($savemsg);
pfSense_handle_custom_code("/usr/local/pkg/interfaces_assign/pre_input_errors");
if ($input_errors)
print_input_errors($input_errors);
?>
<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">
<div class="table-responsive">
<table class="table table-striped table-sort">
<thead>
<tr>
<th colspan="2" class="listtopic"><?=gettext("Interface"); ?></th>
<th colspan="2" class="listtopic"><?=gettext("Network port"); ?></th>
<th colspan="2" class="listtopic"><?=gettext("Interface"); ?></th>
<th colspan="2" class="listtopic"><?=gettext("Network port"); ?></th>
</tr>
</thead>
<tbody>
<?php
foreach ($config['interfaces'] as $ifname => $iface):
if ($iface['descr'])
$ifdescr = $iface['descr'];
else
$ifdescr = strtoupper($ifname);
?>
<tr>
<td class="listlr" valign="middle"><strong><u><span onclick="location.href='/interfaces.php?if=<?=$ifname;?>'" style="cursor: pointer;"><?=$ifdescr;?></span></u></strong></td>
<td valign="middle" class="listr">
<select onchange="javascript:jQuery('#savediv').show();" name="<?=$ifname;?>" id="<?=$ifname;?>">
<?php
foreach ($portlist as $portname => $portinfo):
?>
<option value="<?=$portname;?>" <?php if ($portname == $iface['if']) echo " selected=\"selected\"";?>>
<?=interface_assign_description($portinfo, $portname);?>
</option>
<?php
endforeach;
?>
</select>
</td>
<td valign="middle" class="list">
<?php
if ($ifname != 'wan'):
?>
<button name="del_<?=$ifname;?>_x"
title="<?=gettext("delete interface");?>"
class="btn btn-default"
type="submit"
value="<?=$ifname;?>"
onclick="return confirm('<?=gettext("Do you really want to delete this interface?"); ?>')">
<span class=" glyphicon glyphicon-remove"></span>
</button>
<?php
endif;
?>
</td>
</tr>
<?php
endforeach;
if (count($config['interfaces']) < count($portlist)):
?>
<tr>
<td class="list">
<strong><?=gettext("Available network ports:");?></strong>
</td>
<td class="list">
<select name="if_add" id="if_add">
<?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;
?>
</select>
</td>
<td class="list">
<button name="add_x" type="submit" class="btn btn-primary" title="<?=gettext("add selected interface");?>"><span class="glyphicon glyphicon-plus"></span></button>
</td>
</tr>
<?php
endif;
?>
</tbody>
</table>
</div>
<div class="container-fluid">
<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>
</div>
</section>
</div>
<tbody>
<?php
foreach ($config['interfaces'] as $ifname => $iface):
if ($iface['descr'])
$ifdescr = $iface['descr'];
else
$ifdescr = strtoupper($ifname);
?>
<tr>
<td class="listlr" valign="middle"><strong><u><span onclick="location.href='/interfaces.php?if=<?=$ifname;?>'" style="cursor: pointer;"><?=$ifdescr;?></span></u></strong></td>
<td valign="middle" class="listr">
<select onchange="javascript:jQuery('#savediv').show();" name="<?=$ifname;?>" id="<?=$ifname;?>">
<?php
foreach ($portlist as $portname => $portinfo):
?>
<option value="<?=$portname;?>" <?php if ($portname == $iface['if']) echo " selected=\"selected\"";?>>
<?=interface_assign_description($portinfo, $portname);?>
</option>
<?php
endforeach;
?>
</select>
</td>
<td valign="middle" class="list">
<?php
if ($ifname != 'wan'):
?>
<button name="del_<?=$ifname;?>_x"
title="<?=gettext("delete interface");?>"
class="btn btn-default"
type="submit"
value="<?=$ifname;?>"
onclick="return confirm('<?=gettext("Do you really want to delete this interface?"); ?>')">
<span class=" glyphicon glyphicon-remove"></span>
</button>
<?php
endif;
?>
</td>
</tr>
<?php
endforeach;
if (count($config['interfaces']) < count($portlist)):
?>
<tr>
<td class="list">
<strong><?=gettext("Available network ports:");?></strong>
</td>
<td class="list">
<select name="if_add" id="if_add">
<?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;
?>
</select>
</td>
<td class="list">
<button name="add_x" type="submit" class="btn btn-primary" title="<?=gettext("add selected interface");?>"><span class="glyphicon glyphicon-plus"></span></button>
</td>
</tr>
<?php
endif;
?>
</tbody>
</table>
</div>
<div class="container-fluid">
<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>
</div>
</section>
</div>
</div>
</section>
......
......@@ -72,7 +72,7 @@ if ($_GET['act'] == "del") {
} else {
mwexec("/sbin/ifconfig " . $a_bridges[$_GET['id']]['bridgeif'] . " destroy");
}
unset($a_bridges[$_GET['id']]);
write_config();
......@@ -88,24 +88,24 @@ $shortcut_section = "interfaces";
include("head.inc");
$main_buttons = array(
array('href'=>'interfaces_bridge_edit.php', 'label'=>'Add'),
array('href'=>'interfaces_bridge_edit.php', 'label'=>'Add'),
);
?>
<body>
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<section class="col-xs-12">
<?php
<?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");
......@@ -120,24 +120,24 @@ $main_buttons = array(
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<div class="tab-content content-box col-xs-12">
<form action="interfaces_bridge.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
<thead>
<thead>
<tr>
<th width="20%" class="listtopic"><?=gettext("Interface");?></th>
<th width="20%" class="listtopic"><?=gettext("Members");?></th>
<th width="50%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
<th width="20%" class="listtopic"><?=gettext("Interface");?></th>
<th width="20%" class="listtopic"><?=gettext("Members");?></th>
<th width="50%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
</tr>
</thead>
<tbody>
<tbody>
<?php $i = 0; $ifdescrs = get_configured_interface_with_descr();
foreach ($a_bridges as $bridge): ?>
......@@ -161,20 +161,20 @@ $main_buttons = array(
<td class="listbg">
<?=htmlspecialchars($bridge['descr']);?>&nbsp;
</td>
<td valign="middle" class="list nowrap">
<td valign="middle" class="list nowrap">
<a href="interfaces_bridge_edit.php?id=<?=$i;?>" class="btn btn-default"><span class="glyphicon glyphicon-edit" title="<?=gettext("edit group");?>"></span></a>
<a href="interfaces_bridge.php?act=del&amp;id=<?=$i;?>" class="btn btn-default" onclick="return confirm('<?=gettext("Do you really want to delete this bridge?");?>')"><span class="glyphicon glyphicon-remove"></span></a>
</td>
</tr>
<?php $i++; endforeach; ?>
</tbody>
</tbody>
</table>
</div>
<div class="container-fluid">
<p class="vexpl"><span class="text-danger"><strong>
<?=gettext("Note:"); ?><br />
......@@ -182,13 +182,13 @@ $main_buttons = array(
<?=gettext("Here you can configure bridging of interfaces."); ?>
</p>
</div>
</form>
</div>
</section>
</div>
</div>
</section>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
......@@ -264,25 +264,25 @@ function show_source_port_range() {
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<div id="inputerrors"></div>
<section class="col-xs-12">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("Bridge configuration");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_bridge_edit.php" method="post" name="iform" id="iform">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("Bridge configuration");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_bridge_edit.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
<tr>
......@@ -434,7 +434,7 @@ function show_source_port_range() {
"The minimum is 1 and the maximum is 200000000."); ?>
</span>
</td></tr>
</table>
</td></tr>
<tr style="display:none" id="sprtable2">
......@@ -461,7 +461,7 @@ function show_source_port_range() {
<tr style="display:none" id="sprtable4">
<td valign="top" class="vncell"><?=gettext("Span port"); ?></td>
<td class="vtable">
<select name="span" class="form-control" id="span">
<select name="span" class="form-control" id="span">
<option value="none" selected="selected"><?=gettext("None"); ?></option>
<?php
foreach ($ifacelist as $ifn => $ifdescr) {
......@@ -626,12 +626,12 @@ function show_source_port_range() {
</tr>
</table>
</div>
</form>
</div>
</div>
</form>
</div>
</div>
</section>
</div>
</div>
</section>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
......@@ -51,7 +51,7 @@ function gif_inuse($num) {
$iflist = get_configured_interface_list(false, true);
foreach ($iflist as $if) {
if ($config['interfaces'][$if]['if'] == $a_gifs[$num]['gifif'])
if ($config['interfaces'][$if]['if'] == $a_gifs[$num]['gifif'])
return true;
}
......@@ -82,24 +82,24 @@ $shortcut_section = "interfaces";
include("head.inc");
$main_buttons = array(
array('href'=>'interfaces_gif_edit.php', 'label'=>'Add'),
array('href'=>'interfaces_gif_edit.php', 'label'=>'Add'),
);
?>
<body>
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<section class="col-xs-12">
<?php
<?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");
......@@ -114,25 +114,25 @@ $main_buttons = array(
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<div class="tab-content content-box col-xs-12">
<form action="interfaces_assign.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
<thead>
<thead>
<tr>
<th width="20%" class="listtopic"><?=gettext("Interface");?></th>
<th width="20%" class="listtopic"><?=gettext("Tunnel to...");?></th>
<th width="50%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
<th width="20%" class="listtopic"><?=gettext("Interface");?></th>
<th width="20%" class="listtopic"><?=gettext("Tunnel to...");?></th>
<th width="50%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
</tr>
</thead>
<tbody>
<tbody>
<?php $i = 0; foreach ($a_gifs as $gif): ?>
<tr ondblclick="document.location='interfaces_gif_edit.php?id=<?=$i;?>'">
<td class="listlr">
......@@ -145,18 +145,18 @@ $main_buttons = array(
<?=htmlspecialchars($gif['descr']);?>&nbsp;
</td>
<td valign="middle" class="list nowrap">
<a href="interfaces_gif_edit.php?id=<?=$i;?>" class="btn btn-default"><span class="glyphicon glyphicon-edit" title="<?=gettext("edit group");?>"></span></a>
<a href="interfaces_gif.php?act=del&amp;id=<?=$i;?>" class="btn btn-default" onclick="return confirm('<?=gettext("Do you really want to delete this gif tunnel?");?>')"><span class="glyphicon glyphicon-remove"></span></a>
</td>
</tr>
<?php $i++; endforeach; ?>
</tbody>
</tbody>
</table>
</div>
<div class="container-fluid">
<p class="vexpl"><span class="red"><strong>
<?=gettext("Note:"); ?><br />
......@@ -165,7 +165,7 @@ $main_buttons = array(
<br /><br />
<?php echo gettext("If you are using a GIF tunnel to connect to a Hurricane Electric (he.net) Tunnel Broker on a WAN with a dynamic IP, you may want to add a"); ?> <a href="services_dyndns.php"><?php echo gettext("HE.net Tunnelbroker type DynDNS Entry"); ?></a> <?php echo gettext("to keep your tunnel functional when your IP changes."); ?></p>
</div>
</form>
</div>
</section>
......@@ -173,4 +173,4 @@ $main_buttons = array(
</div>
</section>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
......@@ -143,25 +143,25 @@ include("head.inc");
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<div id="inputerrors"></div>
<section class="col-xs-12">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("GIF configuration");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_gif_edit.php" method="post" name="iform" id="iform">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("GIF configuration");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_gif_edit.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
<tr>
......@@ -182,7 +182,7 @@ include("head.inc");
echo " selected=\"selected\"";
echo ">" . htmlspecialchars($ifinfo) . "</option>\n";
}
?>
?>
</select>
<br />
<span class="vexpl"><?=gettext("The interface here serves as the local address to be used for the gif tunnel."); ?></span></td>
......@@ -232,7 +232,7 @@ include("head.inc");
<br />
<span class="vexpl">
<?=gettext("Note that the ECN friendly behavior violates RFC2893. This should be " .
"used in mutual agreement with the peer."); ?>
"used in mutual agreement with the peer."); ?>
</span></td>
</tr>
<tr>
......@@ -255,12 +255,12 @@ include("head.inc");
</tr>
</table>
</div>
</form>
</div>
</div>
</form>
</div>
</div>
</section>
</div>
</div>
</section>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
......@@ -52,7 +52,7 @@ function gre_inuse($num) {
$iflist = get_configured_interface_list(false, true);
foreach ($iflist as $if) {
if ($config['interfaces'][$if]['if'] == $a_gres[$num]['greif'])
if ($config['interfaces'][$if]['if'] == $a_gres[$num]['greif'])
return true;
}
......@@ -83,24 +83,24 @@ $shortcut_section = "interfaces";
include("head.inc");
$main_buttons = array(
array('href'=>'interfaces_gre_edit.php', 'label'=>'Add'),
array('href'=>'interfaces_gre_edit.php', 'label'=>'Add'),
);
?>
<body>
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<section class="col-xs-12">
<?php
<?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");
......@@ -115,25 +115,25 @@ $main_buttons = array(
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<div class="tab-content content-box col-xs-12">
<form action="interfaces_assign.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
<thead>
<thead>
<tr>
<th width="20%" class="listtopic"><?=gettext("Interface");?></th>
<th width="20%" class="listtopic"><?=gettext("Tunnel to...");?></th>
<th width="50%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
<th width="20%" class="listtopic"><?=gettext("Interface");?></th>
<th width="20%" class="listtopic"><?=gettext("Tunnel to...");?></th>
<th width="50%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
</tr>
</thead>
<tbody>
<tbody>
<?php $i = 0; foreach ($a_gres as $gre): ?>
<tr ondblclick="document.location='interfaces_gre_edit.php?id=<?=$i;?>'">
<td class="listlr">
......@@ -146,28 +146,28 @@ $main_buttons = array(
<?=htmlspecialchars($gre['descr']);?>&nbsp;
</td>
<td valign="middle" class="list nowrap">
<a href="interfaces_gre_edit.php?id=<?=$i;?>" class="btn btn-default"><span class="glyphicon glyphicon-edit" title="<?=gettext("edit group");?>"></span></a>
<a href="interfaces_gre.php?act=del&amp;id=<?=$i;?>" class="btn btn-default" onclick="return confirm('<?=gettext("Do you really want to delete this GRE tunnel?");?>')"><span class="glyphicon glyphicon-remove"></span></a>
</td>
</tr>
<?php $i++; endforeach; ?>
</tbody>
</tbody>
</table>
</div>
<div class="container-fluid">
<p><span class="text-danger"><strong><?=gettext("Note:");?><br /></strong></span><?=gettext("Here you can configure Generic Routing Encapsulation (GRE - RFC 2784) tunnels.");?></p>
</div>
</form>
</div>
</section>
</div>
</div>
</section>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
......@@ -135,29 +135,29 @@ include("head.inc");
<body>
<script type="text/javascript" src="/javascript/jquery.ipv4v6ify.js"></script>
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<div id="inputerrors"></div>
<section class="col-xs-12">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("GRE configuration");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_gre_edit.php" method="post" name="iform" id="iform">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("GRE configuration");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_gre_edit.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
<tr>
......@@ -172,13 +172,13 @@ include("head.inc");
$aliaslist = get_configured_ip_aliases_list();
foreach ($aliaslist as $aliasip => $aliasif)
$portlist[$aliasif.'|'.$aliasip] = $aliasip." (".get_vip_descr($aliasip).")";
foreach ($portlist as $ifn => $ifinfo) {
foreach ($portlist as $ifn => $ifinfo) {
echo "<option value=\"{$ifn}\"";
if ($ifn == $pconfig['if'])
echo " selected=\"selected\"";
echo ">" . htmlspecialchars($ifinfo) . "</option>\n";
}
?>
?>
</select>
<br />
<span class="vexpl"><?=gettext("The interface here serves as the local address to be used for the GRE tunnel.");?></span></td>
......@@ -260,12 +260,12 @@ include("head.inc");
</tr>
</table>
</div>
</form>
</div>
</div>
</form>
</div>
</div>
</section>
</div>
</div>
</section>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
......@@ -75,14 +75,14 @@ $main_buttons = array(
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<section class="col-xs-12">
<?php
<?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");
......@@ -97,27 +97,27 @@ $main_buttons = array(
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<div class="tab-content content-box col-xs-12">
<form action="interfaces_assign.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
<thead>
<tr>
<th width="15%" class="listtopic"><?=gettext("Name");?></th>
<th width="30%" class="listtopic"><?=gettext("Members");?></th>
<th width="25%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
<th width="15%" class="listtopic"><?=gettext("Name");?></th>
<th width="30%" class="listtopic"><?=gettext("Members");?></th>
<th width="25%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
</tr>
</thead>
<tbody>
<tbody>
<?php if (count ($a_ifgroups)):
$i = 0; foreach ($a_ifgroups as $ifgroupentry): ?>
<tr>
......@@ -146,26 +146,26 @@ $main_buttons = array(
</td>
<td valign="middle" class="list nowrap">
<a href="interfaces_groups_edit.php?id=<?=$i;?>" class="btn btn-default"><span class="glyphicon glyphicon-edit" title="<?=gettext("edit group");?>"></span></a>
<a href="interfaces_groups.php?act=del&amp;id=<?=$i;?>" class="btn btn-default" onclick="return confirm('<?=gettext("Do you really want to delete this group? All elements that still use it will become invalid (e.g. filter rules)!");?>')" title="<?=gettext("delete ifgroupentry");?>"><span class="glyphicon glyphicon-remove"></span></a>
</td>
</tr>
<?php $i++; endforeach; endif;?>
</tbody>
</tbody>
</table>
<div class="container-fluid">
<p><span class="vexpl"><span class="text-danger"><strong><?=gettext("Note:");?><br /></strong></span><?=gettext("Interface Groups allow you to create rules that apply to multiple interfaces without duplicating the rules. If you remove members from an interface group, the group rules no longer apply to that interface.");?></span></p>
<p><span class="vexpl"><span class="text-danger"><strong><?=gettext("Note:");?><br /></strong></span><?=gettext("Interface Groups allow you to create rules that apply to multiple interfaces without duplicating the rules. If you remove members from an interface group, the group rules no longer apply to that interface.");?></span></p>
</div>
</div>
</form>
</div>
</section>
</div>
</div>
</section>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
......@@ -241,25 +241,25 @@ function removeRow(el) {
<input type='hidden' name='members_type' value='textbox' class="form-control unknown" />
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<div id="inputerrors"></div>
<section class="col-xs-12">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("Interface Groups Edit");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_groups_edit.php" method="post" name="iform" id="iform">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("Interface Groups Edit");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_groups_edit.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
<tr>
......@@ -288,7 +288,7 @@ function removeRow(el) {
<tr>
<td><div id="onecolumn"><?=gettext("Interface");?></div></td>
</tr>
<?php
$counter = 0;
$members = $pconfig['members'];
......@@ -311,7 +311,7 @@ function removeRow(el) {
}
echo ">{$ifdescr}</option>";
}
if ($found === false)
foreach ($iflist_disabled as $ifnam => $ifdescr)
if ($ifnam == $members)
......@@ -325,7 +325,7 @@ function removeRow(el) {
</tr>
<?php
$counter++;
} // end foreach
} // end if
?>
......@@ -353,14 +353,14 @@ function removeRow(el) {
</tr>
</table>
</div>
</form>
</div>
</div>
</form>
</div>
</div>
</section>
</div>
</div>
</section>
<script type="text/javascript">
//<![CDATA[
......@@ -375,4 +375,4 @@ function removeRow(el) {
unset($iflist);
unset($iflist_disabled);
include("foot.inc");
?>
\ No newline at end of file
?>
......@@ -88,24 +88,24 @@ $shortcut_section = "interfaces";
include("head.inc");
$main_buttons = array(
array('href'=>'interfaces_lagg_edit.php', 'label'=>'Add'),
array('href'=>'interfaces_lagg_edit.php', 'label'=>'Add'),
);
?>
<body>
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<section class="col-xs-12">
<?php
<?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");
......@@ -120,26 +120,26 @@ $main_buttons = array(
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<div class="tab-content content-box col-xs-12">
<form action="interfaces_assign.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
<thead>
<tr>
<th width="20%" class="listtopic"><?=gettext("Interface");?></th>
<th width="20%" class="listtopic"><?=gettext("Members");?></th>
<th width="50%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
<th width="20%" class="listtopic"><?=gettext("Interface");?></th>
<th width="20%" class="listtopic"><?=gettext("Members");?></th>
<th width="50%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
</tr>
</thead>
<tbody>
<tbody>
<?php $i = 0; foreach ($a_laggs as $lagg): ?>
<tr ondblclick="document.location='interfaces_lagg_edit.php?id=<?=$i;?>'">
<td class="listlr">
......@@ -152,18 +152,18 @@ $main_buttons = array(
<?=htmlspecialchars($lagg['descr']);?>&nbsp;
</td>
<td valign="middle" class="list nowrap">
<a href="interfaces_lagg_edit.php?id=<?=$i;?>" class="btn btn-default"><span class="glyphicon glyphicon-edit" title="<?=gettext("edit group");?>"></span></a>
<a href="interfaces_lagg.php?act=del&amp;id=<?=$i;?>" class="btn btn-default" onclick="return confirm('<?=gettext("Do you really want to delete this LAGG interface?");?>')"><span class="glyphicon glyphicon-remove"></span></a>
</td>
</tr>
<?php $i++; endforeach; ?>
</tbody>
</tbody>
</table>
</div>
<div class="container-fluid">
<p class="vexpl"><span class="text-danger"><strong>
<?=gettext("Note:"); ?><br />
......@@ -178,4 +178,4 @@ $main_buttons = array(
</div>
</section>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
......@@ -144,25 +144,25 @@ include("head.inc");
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<div id="inputerrors"></div>
<section class="col-xs-12">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("LAGG configuration");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_lagg_edit.php" method="post" name="iform" id="iform">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("LAGG configuration");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_lagg_edit.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
<tr>
......@@ -258,12 +258,12 @@ include("head.inc");
</tr>
</table>
</div>
</form>
</div>
</div>
</form>
</div>
</div>
</section>
</div>
</div>
</section>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
......@@ -79,7 +79,7 @@ $pgtitle = gettext("Interfaces: PPPs");
$shortcut_section = "interfaces";
include("head.inc");
$main_buttons = array(
array('href'=>'interfaces_ppps_edit.php', 'label'=>'Add'),
array('href'=>'interfaces_ppps_edit.php', 'label'=>'Add'),
);
?>
......@@ -88,15 +88,15 @@ $main_buttons = array(
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<section class="col-xs-12">
<?php
<?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");
......@@ -111,28 +111,28 @@ $main_buttons = array(
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<div class="tab-content content-box col-xs-12">
<form action="interfaces_assign.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
<thead>
<thead>
<tr>
<th width="20%" class="listtopic"><?=gettext("Interface");?></th>
<th width="20%" class="listtopic"><?=gettext("Interface(s)/Port(s)");?></th>
<th width="40%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
<th width="20%" class="listtopic"><?=gettext("Interface");?></th>
<th width="20%" class="listtopic"><?=gettext("Interface(s)/Port(s)");?></th>
<th width="40%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
</tr>
</thead>
<tbody>
<tbody>
<?php $i = 0; foreach ($a_ppps as $id => $ppp): ?>
<tr ondblclick="document.location='interfaces_ppps_edit.php?id=<?=$i;?>'">
<td class="listr">
<td class="listr">
<?=htmlspecialchars($ppp['if']);?>
</td>
<td class="listr">
......@@ -149,23 +149,23 @@ $main_buttons = array(
<?=htmlspecialchars($ppp['descr']);?>&nbsp;
</td>
<td valign="middle" class="list nowrap">
<a href="interfaces_ppps_edit.php?id=<?=$i;?>" class="btn btn-default"><span class="glyphicon glyphicon-edit" title="<?=gettext("edit group");?>"></span></a>
<a href="interfaces_ppps.php?act=del&amp;id=<?=$i;?>" class="btn btn-default" onclick="return confirm('<?=gettext("Do you really want to delete this PPP interface?");?>')"><span class="glyphicon glyphicon-remove"></span></a>
</td>
</tr>
<?php $i++; endforeach; ?>
</tbody>
</tbody>
</table>
</div>
</form>
</div>
</section>
</div>
</div>
</section>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
......@@ -70,7 +70,7 @@ if (is_numericint($_GET['id']))
$id = $_GET['id'];
if (isset($_POST['id']) && is_numericint($_POST['id']))
$id = $_POST['id'];
if (isset($id) && $a_ppps[$id]) {
$pconfig['ptpid'] = $a_ppps[$id]['ptpid'];
$pconfig['type'] = $a_ppps[$id]['type'];
......@@ -121,7 +121,7 @@ if (isset($id) && $a_ppps[$id]) {
/* ================================================ */
/* = force a connection reset at a specific time? = */
/* ================================================ */
if (isset($a_ppps[$id]['pppoe-reset-type'])) {
$pconfig['pppoe-reset-type'] = $a_ppps[$id]['pppoe-reset-type'];
$itemhash = getMPDCRONSettings($a_ppps[$id]['if']);
......@@ -131,7 +131,7 @@ if (isset($id) && $a_ppps[$id]) {
} else {
$resetTime = NULL;
}
if ($a_ppps[$id]['pppoe-reset-type'] == "custom") {
$resetTime_a = explode(" ", $resetTime);
$pconfig['pppoe_pr_custom'] = true;
......@@ -140,7 +140,7 @@ if (isset($id) && $a_ppps[$id]) {
/* just initialize $pconfig['pppoe_resetdate'] if the
* coresponding item contains appropriate numeric values.
*/
if ($resetTime_a[2] <> "*" && $resetTime_a[3] <> "*")
if ($resetTime_a[2] <> "*" && $resetTime_a[3] <> "*")
$pconfig['pppoe_resetdate'] = "{$resetTime_a[3]}/{$resetTime_a[2]}/" . date("Y");
} else if ($a_ppps[$id]['pppoe-reset-type'] == "preset") {
$pconfig['pppoe_pr_preset'] = true;
......@@ -162,7 +162,7 @@ if (isset($id) && $a_ppps[$id]) {
}
break;
}
} else
$pconfig['ptpid'] = interfaces_ptpid_next();
......@@ -170,21 +170,21 @@ if ($_POST) {
unset($input_errors);
$pconfig = $_POST;
/* okay first of all, cause we are just hiding the PPPoE HTML
* fields releated to PPPoE resets, we are going to unset $_POST
* vars, if the reset feature should not be used. Otherwise the
* data validation procedure below, may trigger a false error
* message.
*/
if (empty($_POST['pppoe-reset-type'])) {
if (empty($_POST['pppoe-reset-type'])) {
unset($_POST['pppoe_resethour']);
unset($_POST['pppoe_resetminute']);
unset($_POST['pppoe_resetdate']);
unset($_POST['pppoe_pr_preset_val']);
}
/* input validation */
/* input validation */
switch($_POST['type']) {
case "ppp":
$reqdfields = explode(" ", "interfaces phone");
......@@ -222,15 +222,15 @@ if ($_POST) {
$input_errors[] = gettext("The Service name contains invalid characters.");
if ($_POST['provider'] && $_POST['null_service'])
$input_errors[] = gettext("Do not specify both a Service name and a NULL Service name.");
if (($_POST['idletimeout'] != "") && !is_numericint($_POST['idletimeout']))
if (($_POST['idletimeout'] != "") && !is_numericint($_POST['idletimeout']))
$input_errors[] = gettext("The idle timeout value must be an integer.");
if ($_POST['pppoe-reset-type'] == "custom" && $_POST['pppoe_resethour'] <> "" && !is_numericint($_POST['pppoe_resethour']) &&
$_POST['pppoe_resethour'] >= 0 && $_POST['pppoe_resethour'] <=23)
if ($_POST['pppoe-reset-type'] == "custom" && $_POST['pppoe_resethour'] <> "" && !is_numericint($_POST['pppoe_resethour']) &&
$_POST['pppoe_resethour'] >= 0 && $_POST['pppoe_resethour'] <=23)
$input_errors[] = gettext("A valid PPPoE reset hour must be specified (0-23).");
if ($_POST['pppoe-reset-type'] == "custom" && $_POST['pppoe_resetminute'] <> "" && !is_numericint($_POST['pppoe_resetminute']) &&
$_POST['pppoe_resetminute'] >= 0 && $_POST['pppoe_resetminute'] <=59)
if ($_POST['pppoe-reset-type'] == "custom" && $_POST['pppoe_resetminute'] <> "" && !is_numericint($_POST['pppoe_resetminute']) &&
$_POST['pppoe_resetminute'] >= 0 && $_POST['pppoe_resetminute'] <=59)
$input_errors[] = gettext("A valid PPPoE reset minute must be specified (0-59).");
if ($_POST['pppoe-reset-type'] == "custom" && $_POST['pppoe_resetdate'] <> "" && !is_numeric(str_replace("/", "", $_POST['pppoe_resetdate'])))
if ($_POST['pppoe-reset-type'] == "custom" && $_POST['pppoe_resetdate'] <> "" && !is_numeric(str_replace("/", "", $_POST['pppoe_resetdate'])))
$input_errors[] = gettext("A valid PPPoE reset date must be specified (mm/dd/yyyy).");
if ($_POST['pppoe-reset-type'] == "custom" && $_POST['pppoe_resetdate'] <> "" && is_numeric(str_replace("/", "", $_POST['pppoe_resetdate']))){
$date_nums = explode("/",$_POST['pppoe_resetdate']);
......@@ -241,17 +241,17 @@ if ($_POST) {
if ($date_nums[2] < date("Y"))
$input_errors[] = gettext("A valid PPPoE reset year must be specified. Don't select a year in the past!");
}
foreach($_POST['interfaces'] as $iface){
if ($_POST['localip'][$iface] && !is_ipaddr($_POST['localip'][$iface]))
$input_errors[] = sprintf(gettext("A valid local IP address must be specified for %s."),$iface);
if ($_POST['gateway'][$iface] && !is_ipaddr($_POST['gateway'][$iface]) && !is_hostname($_POST['gateway'][$iface]))
if ($_POST['gateway'][$iface] && !is_ipaddr($_POST['gateway'][$iface]) && !is_hostname($_POST['gateway'][$iface]))
$input_errors[] = sprintf(gettext("A valid gateway IP address OR hostname must be specified for %s."),$iface);
if ($_POST['bandwidth'][$iface] && !is_numericint($_POST['bandwidth'][$iface]))
if ($_POST['bandwidth'][$iface] && !is_numericint($_POST['bandwidth'][$iface]))
$input_errors[] = sprintf(gettext("The bandwidth value for %s must be an integer."),$iface);
if ($_POST['mtu'][$iface] && ($_POST['mtu'][$iface] < 576))
if ($_POST['mtu'][$iface] && ($_POST['mtu'][$iface] < 576))
$input_errors[] = sprintf(gettext("The MTU for %s must be greater than 576 bytes."),$iface);
if ($_POST['mru'][$iface] && ($_POST['mru'][$iface] < 576))
if ($_POST['mru'][$iface] && ($_POST['mru'][$iface] < 576))
$input_errors[] = sprintf(gettext("The MRU for %s must be greater than 576 bytes."),$iface);
}
......@@ -265,7 +265,7 @@ if ($_POST) {
break;
}
}
*/
*/
if (!$input_errors) {
$ppp = array();
......@@ -293,8 +293,8 @@ if ($_POST) {
if (isset($_POST[$field_label][$iface]))
$port_data[$field_label][] = $_POST[$field_label][$iface];
}
}
}
switch($_POST['type']) {
case "ppp":
if (!empty($_POST['initstr']))
......@@ -308,7 +308,7 @@ if ($_POST) {
unset($ppp['simpin']);
unset($ppp['pin-wait']);
}
if (!empty($_POST['apn'])){
$ppp['apn'] = $_POST['apn'];
$ppp['apnum'] = $_POST['apnum'];
......@@ -335,7 +335,7 @@ if ($_POST) {
$ppp['pppoe-reset-type'] = $_POST['pppoe-reset-type'];
else
unset($ppp['pppoe-reset-type']);
break;
case "pptp":
case "l2tp":
......@@ -345,9 +345,9 @@ if ($_POST) {
break;
default:
break;
}
$ppp['shortseq'] = $_POST['shortseq'] ? true : false;
$ppp['acfcomp'] = $_POST['acfcomp'] ? true : false;
$ppp['protocomp'] = $_POST['protocomp'] ? true : false;
......@@ -360,8 +360,8 @@ if ($_POST) {
$ppp['mru'] = implode(',', $port_data['mru']);
if (is_array($port_data['mrru']))
$ppp['mrru'] = implode(',', $port_data['mrru']);
/* handle_pppoe_reset is called here because if user changes Link Type from PPPoE to another type we
/* handle_pppoe_reset is called here because if user changes Link Type from PPPoE to another type we
must be able to clear the config data in the <cron> section of config.xml if it exists
*/
handle_pppoe_reset($_POST);
......@@ -388,10 +388,10 @@ $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"*/ );
$types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE", "pptp" => "PPTP", "l2tp" => "L2TP"/*, "tcp" => "TCP", "udp" => "UDP"*/ );
?>
<body>
<script type="text/javascript" src="/javascript/numericupdown/js/numericupdown.js"></script>
<link href="/javascript/numericupdown/css/numericupdown.css" rel="stylesheet" type="text/css" />
......@@ -405,40 +405,40 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<div id="inputerrors"></div>
<section class="col-xs-12">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("PPPs configuration");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_ppps_edit.php" method="post" name="iform" id="iform">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("PPPs configuration");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_ppps_edit.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
<tr>
<td valign="middle" class="vncell"><strong><?= gettext("Link Type"); ?></strong></td>
<td class="vtable">
<td class="vtable">
<select name="type" onchange="updateType(this.value);" class="form-control" id="type">
<?php
foreach ($types as $key => $opt) {
<?php
foreach ($types as $key => $opt) {
echo "<option onclick=\"updateType('{$key}');\"";
if ($key == $pconfig['type'])
if ($key == $pconfig['type'])
echo " selected=\"selected\"";
echo " value=\"{$key}\" >" . htmlspecialchars($opt) . "</option>";
}
}
?>
</select>
</select>
</td>
</tr>
<tr name="interface" id="interface" >
......@@ -447,7 +447,7 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
<select style="vertical-align:top" name="interfaces[]" multiple="multiple" class="form-control" size="4" onchange="show_hide_linkfields(this.options);">
<option></option>
</select>
<br /><span class="vexpl"><?= gettext("Select at least two interfaces for Multilink (MLPPP) connections."); ?></span>
</td>
</tr>
......@@ -477,7 +477,7 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
if (is_array($ifinfo)) {
$string .= $ifn;
if ($ifinfo['mac'])
$string .= " ({$ifinfo['mac']})";
$string .= " ({$ifinfo['mac']})";
} else
$string .= $ifinfo;
$string .= ",{$ifn}";
......@@ -499,7 +499,7 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
<input name="descr" type="text" class="form-control unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>" />
<br /> <span class="vexpl"><?= gettext("You may enter a description here for your reference. Description will appear in the \"Interfaces Assign\" select lists."); ?></span>
</td>
</tr>
</tr>
<tr style="display:none" name="select" id="select"><td style="display:none"></td></tr>
<?php $k=0; ?>
<tr style="display:none" name="ppp_provider" id="ppp_provider">
......@@ -546,7 +546,7 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
<input name="password" type="password" class="form-control pwd" id="password" size="20" value="<?=htmlspecialchars($pconfig['password']);?>" />
</td>
</tr>
<tr style="display:none" name="phone_num" id="phone_num">
<td width="22%" valign="top" class="vncell"><?= gettext("Phone Number"); ?></td>
<td width="78%" class="vtable">
......@@ -560,10 +560,10 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
<input name="apn" type="text" class="form-control unknown" id="apn" size="40" value="<?=htmlspecialchars($pconfig['apn']);?>" />
</td>
</tr>
<tr style="display:none" name="ppp" id="ppp">
<td colspan="2" style="padding:0px;">
<table width="100%" border="0" cellpadding="6" cellspacing="0" summary="advanced">
<table width="100%" border="0" cellpadding="6" cellspacing="0" summary="advanced">
<tr style="display:none" id="advanced_<?=$k;?>" name="advanced_<?=$k;$k++;?>">
<td width="22%" valign="top" class="vncell"><?= gettext("APN number (optional)"); ?></td>
<td width="78%" class="vtable">
......@@ -577,7 +577,7 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
<input name="simpin" type="text" class="form-control unknown" id="simpin" size="12" value="<?=htmlspecialchars($pconfig['simpin']);?>" />
</td>
</tr>
<tr style="display:none" id="advanced_<?=$k;?>" name="advanced_<?=$k;$k++;?>">
<td width="22%" valign="top" class="vncell"><?= gettext("SIM PIN wait"); ?></td>
<td width="78%" class="vtable">
......@@ -589,7 +589,7 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
<td width="22%" valign="top" class="vncell"><?= gettext("Init String"); ?></td>
<td width="78%" class="vtable">
<input type="text" size="40" class="form-control unknown" id="initstr" name="initstr" value="<?=htmlspecialchars($pconfig['initstr']);?>" />
<br /><span class="vexpl"><?= gettext("Note: Enter the modem initialization string here. Do NOT include the \"AT\"" .
<br /><span class="vexpl"><?= gettext("Note: Enter the modem initialization string here. Do NOT include the \"AT\"" .
" string at the beginning of the command. Many modern USB 3G modems don't need an initialization string."); ?></span>
</td>
</tr>
......@@ -603,7 +603,7 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
<tr style="display:none" id="advanced_<?=$k;?>" name="advanced_<?=$k;$k++;?>">
<td valign="top" class="vncell"><?= gettext("Uptime Logging"); ?></td>
<td class="vtable">
<input type="checkbox" value="on" id="uptime" name="uptime" <?php if (isset($pconfig['uptime'])) echo "checked=\"checked\""; ?> /> <?= gettext("Enable persistent logging of connection uptime."); ?>
<input type="checkbox" value="on" id="uptime" name="uptime" <?php if (isset($pconfig['uptime'])) echo "checked=\"checked\""; ?> /> <?= gettext("Enable persistent logging of connection uptime."); ?>
<br /> <span class="vexpl"><?= gettext("This option causes cumulative uptime to be recorded and displayed on the Status Interfaces page."); ?></span>
</td>
</tr>
......@@ -616,7 +616,7 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
<tr>
<td width="22%" valign="top" class="vncell"><?= gettext("Service name"); ?></td>
<td width="78%" class="vtable"><input name="provider" type="text" class="form-control unknown" id="provider" size="20" value="<?=htmlspecialchars($pconfig['provider']);?>" />&nbsp;&nbsp;
<input type="checkbox" value="on" id="null_service" name="null_service" <?php if (isset($pconfig['null_service'])) echo "checked=\"checked\""; ?> /> <?= gettext("Configure a NULL Service name"); ?>
<input type="checkbox" value="on" id="null_service" name="null_service" <?php if (isset($pconfig['null_service'])) echo "checked=\"checked\""; ?> /> <?= gettext("Configure a NULL Service name"); ?>
<br /> <span class="vexpl"><?= gettext("Hint: this field can usually be left empty. Service name will not be configured if this field is empty. Check the \"Configure NULL\" box to configure a blank Service name."); ?></span>
</td>
</tr>
......@@ -638,11 +638,11 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
<?php else: ?>
<p style="margin: 2px; padding: 4px; width: 94%; display: none;" id="pppoecustomwrap">
<?php endif; ?>
<input type="text" name="pppoe_resethour" class="fd_incremental_inp_range_0_23 fd_increment_1 fd_classname_dec_buttonDec fd_classname_inc_buttonInc" maxlength="2" id="pppoe_resethour" value="<?= $pconfig['pppoe_resethour']; ?>" size="3" />
<input type="text" name="pppoe_resethour" class="fd_incremental_inp_range_0_23 fd_increment_1 fd_classname_dec_buttonDec fd_classname_inc_buttonInc" maxlength="2" id="pppoe_resethour" value="<?= $pconfig['pppoe_resethour']; ?>" size="3" />
<?= gettext("hour (0-23)"); ?><br />
<input type="text" name="pppoe_resetminute" class="fd_incremental_inp_range_0_59 fd_increment_1 fd_classname_dec_buttonDec fd_classname_inc_buttonInc" maxlength="2" id="pppoe_resetminute" value="<?= $pconfig['pppoe_resetminute']; ?>" size="3" />
<input type="text" name="pppoe_resetminute" class="fd_incremental_inp_range_0_59 fd_increment_1 fd_classname_dec_buttonDec fd_classname_inc_buttonInc" maxlength="2" id="pppoe_resetminute" value="<?= $pconfig['pppoe_resetminute']; ?>" size="3" />
<?= gettext("minute (0-59)"); ?><br />
<input name="pppoe_resetdate" type="text" class="w8em format-m-d-y highlight-days-67" id="pppoe_resetdate" maxlength="10" size="10" value="<?=htmlspecialchars($pconfig['pppoe_resetdate']);?>" />
<input name="pppoe_resetdate" type="text" class="w8em format-m-d-y highlight-days-67" id="pppoe_resetdate" maxlength="10" size="10" value="<?=htmlspecialchars($pconfig['pppoe_resetdate']);?>" />
<?= gettext("reset at a specific date (mm/dd/yyyy)"); ?>
<br />&nbsp;<br />
<span class="red"><strong><?=gettext("Note:");?></strong></span>
......@@ -653,16 +653,16 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
<?php else: ?>
<p style="margin: 2px; padding: 4px; width: 94%; display: none;" id="pppoepresetwrap">
<?php endif; ?>
<input name="pppoe_pr_preset_val" type="radio" id="pppoe_monthly" value="monthly" <?php if ($pconfig['pppoe_monthly']) echo "checked=\"checked\""; ?> />
<input name="pppoe_pr_preset_val" type="radio" id="pppoe_monthly" value="monthly" <?php if ($pconfig['pppoe_monthly']) echo "checked=\"checked\""; ?> />
<?= gettext("reset at each month ('0 0 1 * *')"); ?>
<br />
<input name="pppoe_pr_preset_val" type="radio" id="pppoe_weekly" value="weekly" <?php if ($pconfig['pppoe_weekly']) echo "checked=\"checked\""; ?> />
<input name="pppoe_pr_preset_val" type="radio" id="pppoe_weekly" value="weekly" <?php if ($pconfig['pppoe_weekly']) echo "checked=\"checked\""; ?> />
<?= gettext("reset at each week ('0 0 * * 0')"); ?>
<br />
<input name="pppoe_pr_preset_val" type="radio" id="pppoe_daily" value="daily" <?php if ($pconfig['pppoe_daily']) echo "checked=\"checked\""; ?> />
<input name="pppoe_pr_preset_val" type="radio" id="pppoe_daily" value="daily" <?php if ($pconfig['pppoe_daily']) echo "checked=\"checked\""; ?> />
<?= gettext("reset at each day ('0 0 * * *')"); ?>
<br />
<input name="pppoe_pr_preset_val" type="radio" id="pppoe_hourly" value="hourly" <?php if ($pconfig['pppoe_hourly']) echo "checked=\"checked\""; ?> />
<input name="pppoe_pr_preset_val" type="radio" id="pppoe_hourly" value="hourly" <?php if ($pconfig['pppoe_hourly']) echo "checked=\"checked\""; ?> />
<?= gettext("reset at each hour ('0 * * * *')"); ?>
</p>
</td>
......@@ -675,10 +675,10 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
</tr>
<?php for($j=0; $j < $port_count; $j++) : ?>
<tr style="display:none" id="gw_fields<?=$j;?>">
<td width="22%" id="localiplabel<?=$j;?>" valign="top" class="vncell"><?= gettext("Local IP"); ?></td>
<td width="78%" class="vtable">
<td width="78%" class="vtable">
<input name="localip[]" type="text" class="form-control unknown" id="localip<?=$j;?>" size="20" value="<?=htmlspecialchars($pconfig['localip'][$j]);?>" />
/
<select name="subnet[]" class="form-control" id="subnet<?=$j;?>" disabled="disabled">
......@@ -686,7 +686,7 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
<option value="<?=$i;?>"<?php if ($i == $pconfig['subnet'][$j]) echo " selected=\"selected\""; ?>><?=$i;?></option>
<?php endfor; ?>
</select> <?= gettext("IP Address"); ?>
</td>
</tr>
<tr style="display:none" id="ip_fields<?=$j;?>">
......@@ -695,7 +695,7 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
<input name="gateway[]" type="text" class="form-control unknown" id="gateway<?=$j;?>" size="20" value="<?=htmlspecialchars($pconfig['gateway'][$j]);?>" /><?= gettext("IP Address OR Hostname"); ?>
</td>
</tr><?php endfor; ?>
<tr style="display:none" id="advanced_<?=$k;?>" name="advanced_<?=$k;$k++;?>">
<td colspan="2" valign="top" height="16"></td>
</tr>
......@@ -705,8 +705,8 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
<tr style="display:none" id="advanced_<?=$k;?>" name="advanced_<?=$k;$k++;?>">
<td valign="top" class="vncell"><?= gettext("Dial On Demand"); ?></td>
<td class="vtable">
<input type="checkbox" value="on" id="ondemand" name="ondemand" <?php if (isset($pconfig['ondemand'])) echo "checked=\"checked\""; ?> /> <?= gettext("Enable Dial-on-Demand mode"); ?>
<br /> <span class="vexpl"><?= gettext("This option causes the interface to operate in dial-on-demand mode. Do NOT enable if you want your link to be always up. " .
<input type="checkbox" value="on" id="ondemand" name="ondemand" <?php if (isset($pconfig['ondemand'])) echo "checked=\"checked\""; ?> /> <?= gettext("Enable Dial-on-Demand mode"); ?>
<br /> <span class="vexpl"><?= gettext("This option causes the interface to operate in dial-on-demand mode. Do NOT enable if you want your link to be always up. " .
"The interface is configured, but the actual connection of the link is delayed until qualifying outgoing traffic is detected."); ?> </span>
</td>
</tr>
......@@ -731,7 +731,7 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
<td width="22%" valign="top" class="vncell"><?= gettext("TCPmssFix"); ?></td>
<td width="78%" class="vtable">
<input type="checkbox" value="on" id="tcpmssfix" name="tcpmssfix" <?php if (isset($pconfig['tcpmssfix'])) echo "checked=\"checked\""; ?> />&nbsp;<?= gettext("Disable tcpmssfix (enabled by default)."); ?>
<br /> <span class="vexpl"><?=gettext("This option causes mpd to adjust incoming and outgoing TCP SYN segments so that the requested maximum segment size is not greater than the amount ".
<br /> <span class="vexpl"><?=gettext("This option causes mpd to adjust incoming and outgoing TCP SYN segments so that the requested maximum segment size is not greater than the amount ".
"allowed by the interface MTU. This is necessary in many setups to avoid problems caused by routers that drop ICMP Datagram Too Big messages. Without these messages, ".
"the originating machine sends data, it passes the rogue router then hits a machine that has an MTU that is not big enough for the data. Because the IP Don't Fragment option is set, ".
"this machine sends an ICMP Datagram Too Big message back to the originator and drops the packet. The rogue router drops the ICMP message and the originator never ".
......@@ -817,12 +817,12 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
</tr>
</table>
</div>
</form>
</div>
</div>
</form>
</div>
</div>
</section>
</div>
</div>
</section>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
......@@ -91,7 +91,7 @@ $shortcut_section = "interfaces";
include("head.inc");
$main_buttons = array(
array('href'=>'interfaces_qinq_edit.php', 'label'=>'Add'),
array('href'=>'interfaces_qinq_edit.php', 'label'=>'Add'),
);
?>
......@@ -100,15 +100,15 @@ $main_buttons = array(
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<section class="col-xs-12">
<?php
<?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");
......@@ -123,27 +123,27 @@ $main_buttons = array(
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<div class="tab-content content-box col-xs-12">
<form action="interfaces_assign.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
<thead>
<thead>
<tr>
<th width="15%" class="listtopic"><?=gettext("Interface");?></th>
<th width="10%" class="listtopic"><?=gettext("Tag");?></th>
<th width="20%" class="listtopic"><?=gettext("QinQ members");?></th>
<th width="45%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
<th width="15%" class="listtopic"><?=gettext("Interface");?></th>
<th width="10%" class="listtopic"><?=gettext("Tag");?></th>
<th width="20%" class="listtopic"><?=gettext("QinQ members");?></th>
<th width="45%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
</tr>
</thead>
<tbody>
<tbody>
<?php $i = 0; foreach ($a_qinqs as $qinq): ?>
<tr ondblclick="document.location='interfaces_qinq_edit.php?id=<?=$i;?>'">
<td class="listlr">
......@@ -163,30 +163,30 @@ $main_buttons = array(
<td class="listbg">
<?=htmlspecialchars($qinq['descr']);?>&nbsp;
</td>
<td valign="middle" class="list nowrap">
<td valign="middle" class="list nowrap">
<a href="interfaces_qinq_edit.php?id=<?=$i;?>" class="btn btn-default"><span class="glyphicon glyphicon-edit" title="<?=gettext("edit group");?>"></span></a>
<a href="interfaces_qinq_edit.php?act=del&amp;id=<?=$i;?>" class="btn btn-default" onclick="return confirm('<?=gettext("Do you really want to delete this QinQ?");?>')"><span class="glyphicon glyphicon-remove"></span></a>
</td>
</tr>
<?php $i++; endforeach; ?>
</tbody>
</tbody>
</table>
</div>
<div class="container-fluid">
<p class="vexpl"><span class="text-danger"><strong>
<?=gettext("Note:");?><br />
</strong></span>
<?php printf(gettext("Not all drivers/NICs support 802.1Q QinQ tagging properly. On cards that do not explicitly support it, QinQ tagging will still work, but the reduced MTU may cause problems. See the %s handbook for information on supported cards."), $g['product_name']);?></p>
</div>
</form>
</div>
</section>
</div>
</div>
</section>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
......@@ -25,7 +25,7 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /usr/sbin/ngctl
pfSense_BUILDER_BINARIES: /usr/sbin/ngctl
pfSense_MODULE: interfaces
*/
......@@ -283,25 +283,25 @@ function removeRow(el) {
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<div id="inputerrors"></div>
<section class="col-xs-12">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("Interface QinQ Edit");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_qinq_edit.php" method="post" name="iform" id="iform">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("Interface QinQ Edit");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_qinq_edit.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
<tr>
......@@ -375,7 +375,7 @@ function removeRow(el) {
<tr>
<td><div id="onecolumn"><?=gettext("Tag");?></div></td>
</tr>
<?php
$counter = 0;
$members = $pconfig['members'];
......@@ -394,7 +394,7 @@ function removeRow(el) {
</tr>
<?php
$counter++;
} // end foreach
} // end if
?>
......@@ -416,9 +416,9 @@ function removeRow(el) {
</tr>
</table>
</div>
</form>
</div>
</div>
</form>
</div>
</div>
</section>
</div>
</div>
......@@ -434,4 +434,4 @@ function removeRow(el) {
//]]>
</script>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
......@@ -85,7 +85,7 @@ $shortcut_section = "interfaces";
include("head.inc");
$main_buttons = array(
array('href'=>'interfaces_vlan_edit.php', 'label'=>'Add'),
array('href'=>'interfaces_vlan_edit.php', 'label'=>'Add'),
);
......@@ -95,15 +95,15 @@ $main_buttons = array(
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<section class="col-xs-12">
<?php
<?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");
......@@ -118,24 +118,24 @@ $main_buttons = array(
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<div class="tab-content content-box col-xs-12">
<form action="interfaces_assign.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
<thead>
<thead>
<tr>
<th width="20%" class="listtopic"><?=gettext("Interface");?></th>
<th width="20%" class="listtopic"><?=gettext("VLAN tag");?></th>
<th width="50%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
<th width="20%" class="listtopic"><?=gettext("Interface");?></th>
<th width="20%" class="listtopic"><?=gettext("VLAN tag");?></th>
<th width="50%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
</tr>
</thead>
<tbody>
<tbody>
<?php $i = 0; foreach ($a_vlans as $vlan): ?>
<tr ondblclick="document.location='interfaces_vlan_edit.php?id=<?=$i;?>'">
<td class="listlr">
......@@ -147,32 +147,32 @@ $main_buttons = array(
<td class="listbg">
<?=htmlspecialchars($vlan['descr']);?>&nbsp;
</td>
<td valign="middle" class="list nowrap">
<td valign="middle" class="list nowrap">
<a href="interfaces_vlan_edit.php?id=<?=$i;?>" class="btn btn-default"><span class="glyphicon glyphicon-edit" title="<?=gettext("edit group");?>"></span></a>
<a href="interfaces_vlan.php?act=del&amp;id=<?=$i;?>" class="btn btn-default" onclick="return confirm('<?=gettext("Do you really want to delete this VLAN?");?>')"><span class="glyphicon glyphicon-remove"></span></a>
</td>
</tr>
<?php $i++; endforeach; ?>
</tbody>
</tbody>
</table>
</div>
<div class="container-fluid">
<p class="vexpl"><span class="text-danger"><strong>
<?=gettext("Note:");?><br />
</strong></span>
<?php printf(gettext("Not all drivers/NICs support 802.1Q VLAN tagging properly. On cards that do not explicitly support it, VLAN tagging will still work, but the reduced MTU may cause problems. See the %s handbook for information on supported cards."),$g['product_name']);?> </p>
</div>
</form>
</div>
</section>
</div>
</div>
</section>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
......@@ -141,7 +141,7 @@ if ($_POST) {
if ($confif <> "")
interface_configure($confif);
header("Location: interfaces_vlan.php");
exit;
}
......@@ -158,25 +158,25 @@ include("head.inc");
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<div id="inputerrors"></div>
<section class="col-xs-12">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("VLAN configuration");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_vlan_edit.php" method="post" name="iform" id="iform">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("VLAN configuration");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_vlan_edit.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
......@@ -191,8 +191,8 @@ include("head.inc");
if ($ifn == $pconfig['if'])
echo " selected=\"selected\"";
echo ">";
echo htmlspecialchars($ifn . " (" . $ifinfo['mac'] . ")");
echo "</option>";
echo htmlspecialchars($ifn . " (" . $ifinfo['mac'] . ")");
echo "</option>";
}
?>
</select>
......@@ -226,11 +226,11 @@ include("head.inc");
</tr>
</table>
</div>
</form>
</div>
</div>
</form>
</div>
</div>
</section>
</div>
</div>
</section>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
......@@ -90,15 +90,15 @@ $main_buttons = array(
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<section class="col-xs-12">
<?php
<?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");
......@@ -113,25 +113,25 @@ $main_buttons = array(
display_top_tabs($tab_array);
?>
<div class="tab-content content-box col-xs-12">
<div class="tab-content content-box col-xs-12">
<form action="interfaces_assign.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
<thead>
<thead>
<tr>
<th width="20%" class="listtopic"><?=gettext("Interface");?></th>
<th width="20%" class="listtopic"><?=gettext("Mode");?></th>
<th width="50%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
<th width="20%" class="listtopic"><?=gettext("Interface");?></th>
<th width="20%" class="listtopic"><?=gettext("Mode");?></th>
<th width="50%" class="listtopic"><?=gettext("Description");?></th>
<th width="10%" class="listtopic">&nbsp;</th>
</tr>
</thead>
<tbody>
<tbody>
<?php $i = 0;
foreach ($a_clones as $clone): ?>
<tr ondblclick="document.location='interfaces_wireless_edit.php?id=<?=$i;?>'">
......@@ -145,31 +145,31 @@ $main_buttons = array(
<?=htmlspecialchars($clone['descr']);?>&nbsp;
</td>
<td valign="middle" class="list nowrap">
<a href="interfaces_wireless_edit.php?id=<?=$i;?>" class="btn btn-default"><span class="glyphicon glyphicon-edit" title="<?=gettext("edit group");?>"></span></a>
<a href="interfaces_wireless.php?act=del&amp;id=<?=$i;?>" class="btn btn-default" onclick="return confirm('<?=gettext("Do you really want to delete this wireless clone?");?>')"><span class="glyphicon glyphicon-remove"></span></a>
<a href="interfaces_wireless_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0" alt="edit" ></a>
</td>
</tr>
<?php $i++; endforeach; ?>
</tbody>
</tbody>
</table>
</div>
<div class="container-fluid">
<div class="container-fluid">
<p><span class="text-danger"><strong><?=gettext("Note");?>:<br />
</strong></span>
<?=gettext("Here you can configure clones of wireless interfaces, which can be assigned as separate independent interfaces. Only available on wireless chipsets that support this, with limitations on the number that can be created in each mode.");?></p>
</div>
</form>
</div>
</section>
</div>
</div>
</section>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
......@@ -156,25 +156,25 @@ include("head.inc");
<?php include("fbegin.inc"); ?>
<section class="page-content-main">
<div class="container-fluid">
<div class="container-fluid">
<div class="row">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<div id="inputerrors"></div>
<section class="col-xs-12">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("Wireless clone configuration");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_wireless_edit.php" method="post" name="iform" id="iform">
<div class="content-box">
<header class="content-box-head container-fluid">
<h3><?=gettext("Wireless clone configuration");?></h3>
</header>
<div class="content-box-main">
<form action="interfaces_wireless_edit.php" method="post" name="iform" id="iform">
<div class="table-responsive">
<table class="table table-striped table-sort">
<tr>
......@@ -223,12 +223,12 @@ include("head.inc");
</tr>
</table>
</div>
</form>
</div>
</div>
</form>
</div>
</div>
</section>
</div>
</div>
</section>
<?php include("foot.inc"); ?>
\ No newline at end of file
<?php include("foot.inc"); ?>
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