Commit bf021e83 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) refactor system_advanced_network.php

parent 30b63eeb
...@@ -35,23 +35,28 @@ require_once("filter.inc"); ...@@ -35,23 +35,28 @@ require_once("filter.inc");
require_once("system.inc"); require_once("system.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
function system_enable_arp_wrong_if()
{
set_sysctl(array(
"net.link.ether.inet.log_arp_wrong_iface" => "1",
"net.link.ether.inet.log_arp_movements" => "1"
));
}
if ($_SERVER['REQUEST_METHOD'] === 'GET') {
if (isset($_POST) && count($_POST) > 0) { $pconfig = array();
$pconfig['ipv6allow'] = isset($config['system']['ipv6allow']);
$pconfig['ipv6nat_enable'] = isset($config['diag']['ipv6nat']['enable']);
$pconfig['ipv6nat_ipaddr'] = isset($config['diag']['ipv6nat']['ipaddr']) ? $config['diag']['ipv6nat']['ipaddr']:"" ;
$pconfig['prefer_ipv4'] = isset($config['system']['prefer_ipv4']);
$pconfig['polling'] = isset($config['system']['polling']);
$pconfig['disablechecksumoffloading'] = isset($config['system']['disablechecksumoffloading']);
$pconfig['disablesegmentationoffloading'] = isset($config['system']['disablesegmentationoffloading']);
$pconfig['disablelargereceiveoffloading'] = isset($config['system']['disablelargereceiveoffloading']);
$pconfig['disablevlanhwfilter'] = isset($config['system']['disablevlanhwfilter']);
$pconfig['sharednet'] = isset($config['system']['sharednet']);
} elseif ($_SERVER['REQUEST_METHOD'] === 'POST') {
$pconfig = $_POST;
$input_errors = array(); $input_errors = array();
if (isset($_POST['ipv6nat_enable']) && !is_ipaddr($_POST['ipv6nat_ipaddr'])) { if (!empty($pconfig['ipv6nat_enable']) && !is_ipaddr($_POST['ipv6nat_ipaddr'])) {
$input_errors[] = gettext("You must specify an IP address to NAT IPv6 packets."); $input_errors[] = gettext("You must specify an IP address to NAT IPv6 packets.");
} }
if (isset($_POST['ipv6nat_enable']) && $_POST['ipv6nat_enable'] == "yes") { if (!empty($pconfig['ipv6nat_enable'])) {
$config['diag']['ipv6nat'] = array(); $config['diag']['ipv6nat'] = array();
$config['diag']['ipv6nat']['enable'] = true; $config['diag']['ipv6nat']['enable'] = true;
$config['diag']['ipv6nat']['ipaddr'] = $_POST['ipv6nat_ipaddr']; $config['diag']['ipv6nat']['ipaddr'] = $_POST['ipv6nat_ipaddr'];
...@@ -59,60 +64,65 @@ if (isset($_POST) && count($_POST) > 0) { ...@@ -59,60 +64,65 @@ if (isset($_POST) && count($_POST) > 0) {
unset($config['diag']['ipv6nat']); unset($config['diag']['ipv6nat']);
} }
if (isset($_POST['ipv6allow']) && $_POST['ipv6allow'] == "yes") { if (!empty($pconfig['ipv6allow'])) {
$config['system']['ipv6allow'] = true; $config['system']['ipv6allow'] = true;
} else { } elseif (isset($config['system']['ipv6allow'])) {
unset($config['system']['ipv6allow']); unset($config['system']['ipv6allow']);
} }
if (isset($_POST['prefer_ipv4']) && $_POST['prefer_ipv4'] == "yes") { if (!empty($pconfig['prefer_ipv4'])) {
$config['system']['prefer_ipv4'] = true; $config['system']['prefer_ipv4'] = true;
} else { } elseif (isset($config['system']['prefer_ipv4'])) {
unset($config['system']['prefer_ipv4']); unset($config['system']['prefer_ipv4']);
} }
if (isset($_POST['sharednet']) && $_POST['sharednet'] == "yes") { if (!empty($pconfig['sharednet'])) {
$config['system']['sharednet'] = true; $config['system']['sharednet'] = true;
} else { } elseif (isset($config['system']['sharednet'])) {
unset($config['system']['sharednet']); unset($config['system']['sharednet']);
} }
if (isset($_POST['polling_enable']) && $_POST['polling_enable'] == "yes") { if (!empty($pconfig['polling'])) {
$config['system']['polling'] = true; $config['system']['polling'] = true;
} else { } elseif (isset($config['system']['polling'])) {
unset($config['system']['polling']); unset($config['system']['polling']);
} }
if (isset($_POST['disablechecksumoffloading']) && $_POST['disablechecksumoffloading'] == "yes") { if (!empty($pconfig['disablechecksumoffloading'])) {
$config['system']['disablechecksumoffloading'] = true; $config['system']['disablechecksumoffloading'] = true;
} else { } elseif (isset($config['system']['disablechecksumoffloading'])) {
unset($config['system']['disablechecksumoffloading']); unset($config['system']['disablechecksumoffloading']);
} }
if (isset($_POST['disablesegmentationoffloading']) && $_POST['disablesegmentationoffloading'] == "yes") { if (!empty($pconfig['disablesegmentationoffloading'])) {
$config['system']['disablesegmentationoffloading'] = true; $config['system']['disablesegmentationoffloading'] = true;
} else { } elseif (isset($config['system']['disablesegmentationoffloading'])) {
unset($config['system']['disablesegmentationoffloading']); unset($config['system']['disablesegmentationoffloading']);
} }
if (isset($_POST['disablelargereceiveoffloading']) && $_POST['disablelargereceiveoffloading'] == "yes") { if (!empty($_POST['disablelargereceiveoffloading'])) {
$config['system']['disablelargereceiveoffloading'] = true; $config['system']['disablelargereceiveoffloading'] = true;
} else { } elseif (isset($config['system']['disablelargereceiveoffloading'])) {
unset($config['system']['disablelargereceiveoffloading']); unset($config['system']['disablelargereceiveoffloading']);
} }
if (isset($_POST['disablevlanhwfilter']) && $_POST['disablevlanhwfilter'] == "yes") { if (!empty($_POST['disablevlanhwfilter'])) {
$config['system']['disablevlanhwfilter'] = true; $config['system']['disablevlanhwfilter'] = true;
} else { } elseif(isset($config['system']['disablevlanhwfilter'])) {
unset($config['system']['disablevlanhwfilter']); unset($config['system']['disablevlanhwfilter']);
} }
if (count($input_errors) == 0) { if (count($input_errors) == 0) {
setup_polling(); setup_polling();
if (isset($config['system']['sharednet'])) { if (isset($config['system']['sharednet'])) {
system_disable_arp_wrong_if(); system_disable_arp_wrong_if();
} else { } else {
system_enable_arp_wrong_if(); // system_enable_arp_wrong_if
set_sysctl(array(
"net.link.ether.inet.log_arp_wrong_iface" => "1",
"net.link.ether.inet.log_arp_movements" => "1"
));
} }
setup_microcode(); setup_microcode();
...@@ -124,6 +134,7 @@ if (isset($_POST) && count($_POST) > 0) { ...@@ -124,6 +134,7 @@ if (isset($_POST) && count($_POST) > 0) {
} }
} }
$pgtitle = array(gettext("System"),gettext("Settings"),gettext("Networking")); $pgtitle = array(gettext("System"),gettext("Settings"),gettext("Networking"));
include("head.inc"); include("head.inc");
...@@ -134,14 +145,17 @@ include("head.inc"); ...@@ -134,14 +145,17 @@ include("head.inc");
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[ //<![CDATA[
function enable_change(enable_over) { function enable_change(enable_over) {
if (document.iform.ipv6nat_enable.checked || enable_over) if (document.iform.ipv6nat_enable.checked || enable_over) {
document.iform.ipv6nat_ipaddr.disabled = 0; document.iform.ipv6nat_ipaddr.disabled = 0;
else } else {
document.iform.ipv6nat_ipaddr.disabled = 1; document.iform.ipv6nat_ipaddr.disabled = 1;
} }
}
$( document ).ready(function() {
enable_change(false);
});
//]]> //]]>
</script> </script>
...@@ -150,145 +164,142 @@ include("head.inc"); ...@@ -150,145 +164,142 @@ include("head.inc");
<section class="page-content-main"> <section class="page-content-main">
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
<?php <?php
if (isset($input_errors) && count($input_errors) > 0) { if (isset($input_errors) && count($input_errors) > 0) {
print_input_errors($input_errors); print_input_errors($input_errors);
} }
if (isset($savemsg)) { if (isset($savemsg)) {
print_info_box($savemsg); print_info_box($savemsg);
} }
?> ?>
<section class="col-xs-12"> <section class="col-xs-12">
<div class="content-box tab-content"> <div class="content-box tab-content table-responsive">
<form action="system_advanced_network.php" method="post" name="iform" id="iform"> <form action="system_advanced_network.php" method="post" name="iform" id="iform">
<table class="table table-striped">
<table width="100%" border="0" cellpadding="6" cellspacing="0" summary="main area" class="table table-striped">
<thead>
<tr> <tr>
<th colspan="2" valign="top" class="listtopic"><?=gettext("IPv6 Options"); ?></th> <td width="22%"><strong><?=gettext("IPv6 Options");?></strong></td>
<td width="78%" align="right">
<small><?=gettext("full help"); ?> </small>
<i class="fa fa-toggle-off text-danger" style="cursor: pointer;" id="show_all_help_page" type="button"></i></a>
</td>
</tr> </tr>
</thead>
<tbody>
<tr> <tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Allow IPv6"); ?></td> <td><a id="help_for_ipv6allow" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Allow IPv6"); ?></td>
<td width="78%" class="vtable"> <td>
<input name="ipv6allow" type="checkbox" id="ipv6allow" value="yes" <?php if (isset($config['system']['ipv6allow'])) { <input name="ipv6allow" type="checkbox" value="yes" <?= !empty($pconfig['ipv6allow']) ? "checked=\"checked\"" :"";?> onclick="enable_change(false)" />
echo "checked=\"checked\""; <div class="hidden" for="help_for_ipv6allow">
} ?> onclick="enable_change(false)" />
<strong><?=gettext("Allow IPv6"); ?></strong><br /> <strong><?=gettext("Allow IPv6"); ?></strong><br />
<?=gettext("All IPv6 traffic will be blocked by the firewall unless this box is checked."); ?><br /> <?=gettext("All IPv6 traffic will be blocked by the firewall unless this box is checked."); ?><br />
<?=gettext("NOTE: This does not disable any IPv6 features on the firewall, it only blocks traffic."); ?><br /> <?=gettext("NOTE: This does not disable any IPv6 features on the firewall, it only blocks traffic."); ?><br />
<br /> </div>
</td> </td>
</tr> </tr>
<tr> <tr>
<td width="22%" valign="top" class="vncell"><?=gettext("IPv6 over IPv4 Tunneling"); ?></td> <td><a id="help_for_ipv6nat_enable" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("IPv6 over IPv4 Tunneling"); ?></td>
<td width="78%" class="vtable"> <td>
<input name="ipv6nat_enable" type="checkbox" id="ipv6nat_enable" value="yes" <?php if (isset($config['diag']['ipv6nat']['enable'])) { <input name="ipv6nat_enable" type="checkbox" id="ipv6nat_enable" value="yes" <?=!empty($pconfig['ipv6nat_enable']) ? "checked=\"checked\"" : "";?> onclick="enable_change(false)" />
echo "checked=\"checked\"";
} ?> onclick="enable_change(false)" />
<strong><?=gettext("Enable IPv4 NAT encapsulation of IPv6 packets"); ?></strong><br /> <strong><?=gettext("Enable IPv4 NAT encapsulation of IPv6 packets"); ?></strong><br />
<div class="hidden" for="help_for_ipv6nat_enable">
<?=gettext("This provides an RFC 2893 compatibility mechanism ". <?=gettext("This provides an RFC 2893 compatibility mechanism ".
"that can be used to tunneling IPv6 packets over IPv4 ". "that can be used to tunneling IPv6 packets over IPv4 ".
"routing infrastructures. If enabled, don't forget to ". "routing infrastructures. If enabled, don't forget to ".
"add a firewall rule to permit IPv6 packets."); ?><br /> "add a firewall rule to permit IPv6 packets."); ?>
<br /> </div>
<?=gettext("IP address"); ?>&nbsp;:&nbsp; <?=gettext("IP address"); ?>&nbsp;:&nbsp;
<input name="ipv6nat_ipaddr" type="text" class="formfld unknown" id="ipv6nat_ipaddr" size="20" value="<?=htmlspecialchars(isset($config['diag']['ipv6nat']['ipaddr']) ? $config['diag']['ipv6nat']['ipaddr']:"");?>" /> <input name="ipv6nat_ipaddr" type="text" class="formfld unknown" id="ipv6nat_ipaddr" size="20" value="<?=$pconfig['ipv6nat_ipaddr'];?>" />
</td> </td>
</tr> </tr>
<tr> <tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Prefer IPv4 over IPv6"); ?></td> <td><a id="help_for_prefer_ipv4" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Prefer IPv4 over IPv6"); ?></td>
<td width="78%" class="vtable"> <td>
<input name="prefer_ipv4" type="checkbox" id="prefer_ipv4" value="yes" <?php if (isset($config['system']['prefer_ipv4'])) { <input name="prefer_ipv4" type="checkbox" id="prefer_ipv4" value="yes" <?= !empty($config['system']['prefer_ipv4']) ? "checked=\"checked\"" : "";?> />
echo "checked=\"checked\""; <div class="hidden" for="help_for_prefer_ipv4">
} ?> />
<strong><?=gettext("Prefer to use IPv4 even if IPv6 is available"); ?></strong><br /> <strong><?=gettext("Prefer to use IPv4 even if IPv6 is available"); ?></strong><br />
<?=gettext("By default, if a hostname resolves IPv6 and IPv4 addresses ". <?=gettext("By default, if a hostname resolves IPv6 and IPv4 addresses ".
"IPv6 will be used, if you check this option, IPv4 will be " . "IPv6 will be used, if you check this option, IPv4 will be " .
"used instead of IPv6."); ?><br /> "used instead of IPv6."); ?>
</div>
</td> </td>
</tr> </tr>
<tr> <tr>
<th colspan="2" valign="top" class="listtopic"><?=gettext("Network Interfaces"); ?></th> <th colspan="2" valign="top" class="listtopic"><?=gettext("Network Interfaces"); ?></th>
</tr> </tr>
<tr> <tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Device polling"); ?></td> <td><a id="help_for_polling" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Device polling"); ?></td>
<td width="78%" class="vtable"> <td>
<input name="polling_enable" type="checkbox" id="polling_enable" value="yes" <?php if (isset($config['system']['polling'])) { <input name="polling" type="checkbox" id="polling_enable" value="yes" <?= !empty($pconfig['polling']) ? "checked=\"checked\"" :"";?> />
echo "checked=\"checked\""; <strong><?=gettext("Enable device polling"); ?></strong>
} ?> /> <div class="hidden" for="help_for_polling">
<strong><?=gettext("Enable device polling"); ?></strong><br />
<?php printf(gettext("Device polling is a technique that lets the system periodically poll network devices for new data instead of relying on interrupts. This prevents your webConfigurator, SSH, etc. from being inaccessible due to interrupt floods when under extreme load. Generally this is not recommended. Not all NICs support polling; see the %s homepage for a list of supported cards."), $g['product_name']); ?> <?php printf(gettext("Device polling is a technique that lets the system periodically poll network devices for new data instead of relying on interrupts. This prevents your webConfigurator, SSH, etc. from being inaccessible due to interrupt floods when under extreme load. Generally this is not recommended. Not all NICs support polling; see the %s homepage for a list of supported cards."), $g['product_name']); ?>
</div>
</td> </td>
</tr> </tr>
<tr> <tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Hardware Checksum Offloading"); ?></td> <td><a id="help_for_disablechecksumoffloading" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Hardware CRC"); ?></td>
<td width="78%" class="vtable"> <td>
<input name="disablechecksumoffloading" type="checkbox" id="disablechecksumoffloading" value="yes" <?php if (isset($config['system']['disablechecksumoffloading'])) { <input name="disablechecksumoffloading" type="checkbox" id="disablechecksumoffloading" value="yes" <?= !empty($pconfig['disablechecksumoffloading']) ? "checked=\"checked\"" :"";?> />
echo "checked=\"checked\""; <strong><?=gettext("Disable hardware checksum offload"); ?></strong>
} ?> /> <div class="hidden" for="help_for_disablechecksumoffloading">
<strong><?=gettext("Disable hardware checksum offload"); ?></strong><br />
<?=gettext("Checking this option will disable hardware checksum offloading. Checksum offloading is broken in some hardware, particularly some Realtek cards. Rarely, drivers may have problems with checksum offloading and some specific NICs."); ?> <?=gettext("Checking this option will disable hardware checksum offloading. Checksum offloading is broken in some hardware, particularly some Realtek cards. Rarely, drivers may have problems with checksum offloading and some specific NICs."); ?>
<br /> <br />
<span class="red"><strong><?=gettext("Note:");?>&nbsp;</strong></span> <span class="text-warning"><strong><?=gettext("Note:");?>&nbsp;</strong></span>
<?=gettext("This will take effect after you reboot the machine or re-configure each interface.");?> <?=gettext("This will take effect after you reboot the machine or re-configure each interface.");?>
</div>
</td> </td>
</tr> </tr>
<tr> <tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Hardware TCP Segmentation Offloading"); ?></td> <td><a id="help_for_disablesegmentationoffloading" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Hardware TSO"); ?></td>
<td width="78%" class="vtable"> <td>
<input name="disablesegmentationoffloading" type="checkbox" id="disablesegmentationoffloading" value="yes" <?php if (isset($config['system']['disablesegmentationoffloading'])) { <input name="disablesegmentationoffloading" type="checkbox" id="disablesegmentationoffloading" value="yes" <?= !empty($pconfig['disablesegmentationoffloading']) ? "checked=\"checked\"" :"";?>/>
echo "checked=\"checked\"";
} ?> />
<strong><?=gettext("Disable hardware TCP segmentation offload"); ?></strong><br /> <strong><?=gettext("Disable hardware TCP segmentation offload"); ?></strong><br />
<div class="hidden" for="help_for_disablesegmentationoffloading">
<?=gettext("Checking this option will disable hardware TCP segmentation offloading (TSO, TSO4, TSO6). This offloading is broken in some hardware drivers, and may impact performance with some specific NICs."); ?> <?=gettext("Checking this option will disable hardware TCP segmentation offloading (TSO, TSO4, TSO6). This offloading is broken in some hardware drivers, and may impact performance with some specific NICs."); ?>
<br /> <br />
<span class="red"><strong><?=gettext("Note:");?>&nbsp;</strong></span> <span class="text-warning"><strong><?=gettext("Note:");?>&nbsp;</strong></span>
<?=gettext("This will take effect after you reboot the machine or re-configure each interface.");?> <?=gettext("This will take effect after you reboot the machine or re-configure each interface.");?>
</div>
</td> </td>
</tr> </tr>
<tr> <tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Hardware Large Receive Offloading"); ?></td> <td><a id="help_for_disablelargereceiveoffloading" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Hardware LRO"); ?></td>
<td width="78%" class="vtable"> <td>
<input name="disablelargereceiveoffloading" type="checkbox" id="disablelargereceiveoffloading" value="yes" <?php if (isset($config['system']['disablelargereceiveoffloading'])) { <input name="disablelargereceiveoffloading" type="checkbox" id="disablelargereceiveoffloading" value="yes" <?= !empty($pconfig['disablelargereceiveoffloading']) ? "checked=\"checked\"" :"";?>/>
echo "checked=\"checked\"";
} ?> />
<strong><?=gettext("Disable hardware large receive offload"); ?></strong><br /> <strong><?=gettext("Disable hardware large receive offload"); ?></strong><br />
<div class="hidden" for="help_for_disablelargereceiveoffloading">
<?=gettext("Checking this option will disable hardware large receive offloading (LRO). This offloading is broken in some hardware drivers, and may impact performance with some specific NICs."); ?> <?=gettext("Checking this option will disable hardware large receive offloading (LRO). This offloading is broken in some hardware drivers, and may impact performance with some specific NICs."); ?>
<br /> <br />
<span class="red"><strong><?=gettext("Note:");?>&nbsp;</strong></span> <span class="text-warning"><strong><?=gettext("Note:");?>&nbsp;</strong></span>
<?=gettext("This will take effect after you reboot the machine or re-configure each interface.");?> <?=gettext("This will take effect after you reboot the machine or re-configure each interface.");?>
</div>
</td> </td>
</tr> </tr>
<tr> <tr>
<td width="22%" valign="top" class="vncell"><?=gettext("VLAN Hardware Filtering"); ?></td> <td><a id="help_for_disablevlanhwfilter" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("VLAN Hardware Filtering"); ?></td>
<td width="78%" class="vtable"> <td>
<input name="disablevlanhwfilter" type="checkbox" id="disablevlanhwfilter" value="yes" <?php if (isset($config['system']['disablevlanhwfilter'])) { <input name="disablevlanhwfilter" type="checkbox" id="disablevlanhwfilter" value="yes" <?= !empty($pconfig['disablevlanhwfilter']) ? "checked=\"checked\"" : "";?>/>
echo "checked=\"checked\"";
} ?> />
<strong><?=gettext("Disable VLAN Hardware Filtering"); ?></strong><br /> <strong><?=gettext("Disable VLAN Hardware Filtering"); ?></strong><br />
<div class="hidden" for="help_for_disablevlanhwfilter">
<?=gettext("Checking this option will disable VLAN hardware filtering. This offloading is broken in some hardware drivers, and may impact performance with some specific NICs."); ?> <?=gettext("Checking this option will disable VLAN hardware filtering. This offloading is broken in some hardware drivers, and may impact performance with some specific NICs."); ?>
<br /> <br />
<span class="red"><strong><?=gettext("Note:");?>&nbsp;</strong></span> <span class="text-warning"><strong><?=gettext("Note:");?>&nbsp;</strong></span>
<?=gettext("This will take effect after you reboot the machine or re-configure each interface.");?> <?=gettext("This will take effect after you reboot the machine or re-configure each interface.");?>
</div>
</td> </td>
</tr> </tr>
<tr> <tr>
<td width="22%" valign="top" class="vncell"><?=gettext("ARP Handling"); ?></td> <td><a id="help_for_sharednet" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("ARP Handling"); ?></td>
<td width="78%" class="vtable"> <td>
<input name="sharednet" type="checkbox" id="sharednet" value="yes" <?php if (isset($config['system']['sharednet'])) { <input name="sharednet" type="checkbox" id="sharednet" value="yes" <?= !empty($pconfig['sharednet']) ? "checked=\"checked\"" :"";?>/>
echo "checked=\"checked\"";
} ?> />
<strong><?=gettext("Suppress ARP messages"); ?></strong><br /> <strong><?=gettext("Suppress ARP messages"); ?></strong><br />
<div class="hidden" for="help_for_sharednet">
<?=gettext("This option will suppress ARP log messages when multiple interfaces reside on the same broadcast domain"); ?> <?=gettext("This option will suppress ARP log messages when multiple interfaces reside on the same broadcast domain"); ?>
</div>
</td> </td>
</tr> </tr>
<tr> <tr>
<td width="22%" valign="top">&nbsp;</td> <td>&nbsp;</td>
<td width="78%"><input name="Submit" type="submit" class="btn btn-primary" value="<?=gettext("Save");?>" /></td> <td><input name="Submit" type="submit" class="btn btn-primary" value="<?=gettext("Save");?>" /></td>
</tr> </tr>
</tbody>
</table> </table>
</form> </form>
</div> </div>
...@@ -297,10 +308,5 @@ include("head.inc"); ...@@ -297,10 +308,5 @@ include("head.inc");
</div> </div>
</section> </section>
<script type="text/javascript">
//<![CDATA[
enable_change(false);
//]]>
</script>
<?php include("foot.inc"); <?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