diff --git a/src/www/system.php b/src/www/system.php index d5a409be0..52bf7a054 100644 --- a/src/www/system.php +++ b/src/www/system.php @@ -95,7 +95,7 @@ foreach($interfaces as $interface) { if ($_POST) { $changecount++; - + unset($input_errors); $pconfig = $_POST; @@ -180,7 +180,7 @@ if ($_POST) { /* pfSense themes */ if (! $g['disablethemeselection']) { - update_if_changed("System Theme", $config['theme'], $_POST['theme']); + update_if_changed("System Theme", $config['theme'], $_POST['theme']); } /* XXX - billm: these still need updating after figuring out how to check if they actually changed */ @@ -269,7 +269,7 @@ if ($_POST) { // Reload the filter - plugins might need to be run. $retval |= filter_configure(); - + $savemsg = get_std_save_message($retval); } @@ -283,260 +283,260 @@ include("head.inc");
- +| =gettext("IPv6 Options"); ?> | -|
|---|---|
| =gettext("Allow IPv6"); ?> | -
- onclick="enable_change(false)" />
- =gettext("Allow IPv6"); ?> - =gettext("All IPv6 traffic will be blocked by the firewall unless this box is checked."); ?> - =gettext("NOTE: This does not disable any IPv6 features on the firewall, it only blocks traffic."); ?> - - |
-
| =gettext("IPv6 over IPv4 Tunneling"); ?> | -
- onclick="enable_change(false)" />
- =gettext("Enable IPv4 NAT encapsulation of IPv6 packets"); ?> - =gettext("This provides an RFC 2893 compatibility mechanism ". - "that can be used to tunneling IPv6 packets over IPv4 ". - "routing infrastructures. If enabled, don't forget to ". - "add a firewall rule to permit IPv6 packets."); ?> - - =gettext("IP address"); ?> : - - |
-
| =gettext("Prefer IPv4 over IPv6"); ?> | -
- />
- =gettext("Prefer to use IPv4 even if IPv6 is available"); ?> - =gettext("By default, if a hostname resolves IPv6 and IPv4 addresses ". - "IPv6 will be used, if you check this option, IPv4 will be " . - "used instead of IPv6."); ?> - |
-
| =gettext("IPv6 Options"); ?> | +|
|---|---|
| =gettext("Allow IPv6"); ?> | +
+ onclick="enable_change(false)" />
+ =gettext("Allow IPv6"); ?> + =gettext("All IPv6 traffic will be blocked by the firewall unless this box is checked."); ?> + =gettext("NOTE: This does not disable any IPv6 features on the firewall, it only blocks traffic."); ?> + + |
+
| =gettext("IPv6 over IPv4 Tunneling"); ?> | +
+ onclick="enable_change(false)" />
+ =gettext("Enable IPv4 NAT encapsulation of IPv6 packets"); ?> + =gettext("This provides an RFC 2893 compatibility mechanism ". + "that can be used to tunneling IPv6 packets over IPv4 ". + "routing infrastructures. If enabled, don't forget to ". + "add a firewall rule to permit IPv6 packets."); ?> + + =gettext("IP address"); ?> : + + |
+
| =gettext("Prefer IPv4 over IPv6"); ?> | +
+ />
+ =gettext("Prefer to use IPv4 even if IPv6 is available"); ?> + =gettext("By default, if a hostname resolves IPv6 and IPv4 addresses ". + "IPv6 will be used, if you check this option, IPv4 will be " . + "used instead of IPv6."); ?> + |
+
| =gettext("Network Interfaces"); ?> | -|
|---|---|
| =gettext("Device polling"); ?> | -
- />
- =gettext("Enable device polling"); ?> - - |
-
| =gettext("Hardware Checksum Offloading"); ?> | -
- />
- =gettext("Disable hardware checksum offload"); ?> - =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("Note:");?> - =gettext("This will take effect after you reboot the machine or re-configure each interface.");?> - |
-
| =gettext("Hardware TCP Segmentation Offloading"); ?> | -
- />
- =gettext("Disable hardware TCP segmentation offload"); ?> - =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("Note:");?> - =gettext("This will take effect after you reboot the machine or re-configure each interface.");?> - |
-
| =gettext("Hardware Large Receive Offloading"); ?> | -
- />
- =gettext("Disable hardware large receive offload"); ?> - =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("Note:");?> - =gettext("This will take effect after you reboot the machine or re-configure each interface.");?> - |
-
| =gettext("ARP Handling"); ?> | -
- />
- =gettext("Suppress ARP messages"); ?> - =gettext("This option will suppress ARP log messages when multiple interfaces reside on the same broadcast domain"); ?> - |
-
| =gettext("Network Interfaces"); ?> | +|
|---|---|
| =gettext("Device polling"); ?> | +
+ />
+ =gettext("Enable device polling"); ?> + + |
+
| =gettext("Hardware Checksum Offloading"); ?> | +
+ />
+ =gettext("Disable hardware checksum offload"); ?> + =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("Note:");?> + =gettext("This will take effect after you reboot the machine or re-configure each interface.");?> + |
+
| =gettext("Hardware TCP Segmentation Offloading"); ?> | +
+ />
+ =gettext("Disable hardware TCP segmentation offload"); ?> + =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("Note:");?> + =gettext("This will take effect after you reboot the machine or re-configure each interface.");?> + |
+
| =gettext("Hardware Large Receive Offloading"); ?> | +
+ />
+ =gettext("Disable hardware large receive offload"); ?> + =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("Note:");?> + =gettext("This will take effect after you reboot the machine or re-configure each interface.");?> + |
+
| =gettext("ARP Handling"); ?> | +
+ />
+ =gettext("Suppress ARP messages"); ?> + =gettext("This option will suppress ARP log messages when multiple interfaces reside on the same broadcast domain"); ?> + |
+ - - |
| Flowtable support | -|
| Enable Flowtable | -
- />
- Enable flowtable support - Enables infrastructure for caching flows as a means of accelerating L3 and L2 lookups - as well as providing stateful load balancing when used with RADIX_MPATH. - |
-
| + | |
| Flowtable support | +|
| Enable Flowtable | +
+ />
+ Enable flowtable support + Enables infrastructure for caching flows as a means of accelerating L3 and L2 lookups + as well as providing stateful load balancing when used with RADIX_MPATH. + |
+
| - | " /> | -
| + | " /> | +
| =gettext("Growl"); ?> | -|
|---|---|
| =gettext("Disable Growl Notifications"); ?> | -
- checked="checked" /> - =gettext("Check this option to disable growl notifications but preserve the settings below."); ?> - |
-
| =gettext("Registration Name"); ?> | -
- ' /> - =gettext("Enter the name to register with the Growl server (default: PHP-Growl)."); ?> - |
-
| =gettext("Growl"); ?> | +|
|---|---|
| =gettext("Disable Growl Notifications"); ?> | +
+ checked="checked" /> + =gettext("Check this option to disable growl notifications but preserve the settings below."); ?> + |
+
| =gettext("Registration Name"); ?> | +
+ ' /> + =gettext("Enter the name to register with the Growl server (default: PHP-Growl)."); ?> + |
+
| =gettext("Notification Name"); ?> | -
- ' /> - =sprintf(gettext("Enter a name for the Growl notifications (default: %s growl alert)."), $g['product_name']); ?> - |
-
| =gettext("IP Address"); ?> | -
- ' /> - =gettext("This is the IP address that you would like to send growl notifications to."); ?> - |
-
| =gettext("Password"); ?> | -
- ' /> - =gettext("Enter the password of the remote growl notification device."); ?> - |
-
| - - | -
-
- = gettext("NOTE: A test notification will be sent even if the service is marked as disabled.") ?> - |
-
| =gettext("SMTP E-Mail"); ?> | -|
|---|---|
| =gettext("Disable SMTP Notifications"); ?> | -
- checked="checked" /> - =gettext("Check this option to disable SMTP notifications but preserve the settings below. Some other mechanisms, such as packages, may need these settings in place to function."); ?> - |
-
| =gettext("E-Mail server"); ?> | -
- ' /> - =gettext("This is the FQDN or IP address of the SMTP E-Mail server to which notifications will be sent."); ?> - |
-
| =gettext("SMTP Port of E-Mail server"); ?> | -
- ' /> - =gettext("This is the port of the SMTP E-Mail server, typically 25, 587 (submission) or 465 (smtps)"); ?> - |
-
| =gettext("Secure SMTP Connection"); ?> | -
- />Enable SMTP over SSL/TLS - />Enable STARTTLS - |
-
| =gettext("From e-mail address"); ?> | -
- ' /> - =gettext("This is the e-mail address that will appear in the from field."); ?> - |
-
| =gettext("Notification E-Mail address"); ?> | -
- ' /> - =gettext("Enter the e-mail address that you would like email notifications sent to."); ?> - |
-
| =gettext("Notification E-Mail auth username (optional)"); ?> | -
- ' /> - =gettext("Enter the e-mail address username for SMTP authentication."); ?> - |
-
| =gettext("Notification E-Mail auth password"); ?> | -
- ' /> - =gettext("Enter the e-mail address password for SMTP authentication."); ?> - |
-
| - - | -
-
- = gettext("NOTE: A test message will be sent even if the service is marked as disabled.") ?> - |
-
| - | =gettext("Notification Name"); ?> | +
+ ' /> + =sprintf(gettext("Enter a name for the Growl notifications (default: %s growl alert)."), $g['product_name']); ?> + |
+
+
| =gettext("IP Address"); ?> | +
+ ' /> + =gettext("This is the IP address that you would like to send growl notifications to."); ?> + |
+
| =gettext("Password"); ?> | +
+ ' /> + =gettext("Enter the password of the remote growl notification device."); ?> + |
+
| + + | +
+
+ = gettext("NOTE: A test notification will be sent even if the service is marked as disabled.") ?> + |
+
| =gettext("SMTP E-Mail"); ?> | +|
|---|---|
| =gettext("Disable SMTP Notifications"); ?> | +
+ checked="checked" /> + =gettext("Check this option to disable SMTP notifications but preserve the settings below. Some other mechanisms, such as packages, may need these settings in place to function."); ?> + |
+
| =gettext("E-Mail server"); ?> | +
+ ' /> + =gettext("This is the FQDN or IP address of the SMTP E-Mail server to which notifications will be sent."); ?> + |
+
| =gettext("SMTP Port of E-Mail server"); ?> | +
+ ' /> + =gettext("This is the port of the SMTP E-Mail server, typically 25, 587 (submission) or 465 (smtps)"); ?> + |
+
| =gettext("Secure SMTP Connection"); ?> | +
+ />Enable SMTP over SSL/TLS + />Enable STARTTLS + |
+
| =gettext("From e-mail address"); ?> | +
+ ' /> + =gettext("This is the e-mail address that will appear in the from field."); ?> + |
+
| =gettext("Notification E-Mail address"); ?> | +
+ ' /> + =gettext("Enter the e-mail address that you would like email notifications sent to."); ?> + |
+
| =gettext("Notification E-Mail auth username (optional)"); ?> | +
+ ' /> + =gettext("Enter the e-mail address username for SMTP authentication."); ?> + |
+
| =gettext("Notification E-Mail auth password"); ?> | +
+ ' /> + =gettext("Enter the e-mail address password for SMTP authentication."); ?> + |
+
| + + | +
+
+ = gettext("NOTE: A test message will be sent even if the service is marked as disabled.") ?> + |
+
| + | |
| =gettext("System Sounds"); ?> | -|
|---|---|
| =gettext("Startup/Shutdown Sound"); ?> | -
- />
- =gettext("Disable the startup/shutdown beep"); ?>
- - =gettext("When this is checked, startup and shutdown sounds will no longer play."); ?> - |
-
| - | |
| - - | -- - | -
| =gettext("System Sounds"); ?> | +|
|---|---|
| =gettext("Startup/Shutdown Sound"); ?> | +
+ />
+ =gettext("Disable the startup/shutdown beep"); ?>
+ + =gettext("When this is checked, startup and shutdown sounds will no longer play."); ?> + |
+
| + | |
| + + | ++ + | +
| =gettext("Tunable Name"); ?> | -=gettext("Description"); ?> | -=gettext("Value"); ?> | -|||
|---|---|---|---|---|---|
| - - | -- - | -- - - | -
-
|
- ||
| - - - - | -|||||
| =gettext("Tunable Name"); ?> | +=gettext("Description"); ?> | +=gettext("Value"); ?> | +|||
|---|---|---|---|---|---|
| + + | ++ + | ++ + + | +
+
|
+ ||
| + + + + | +|||||
| =gettext("Edit system tunable"); ?> | -|
|---|---|
| =gettext("Tunable"); ?> | -- - | -
| =gettext("Description"); ?> | -- - | -
| =gettext("Value"); ?> | -- - | -
| - | - " /> - " onclick="window.location.href='=$referer;?>'" /> - - - - - | -
| =gettext("Edit system tunable"); ?> | +|
|---|---|
| =gettext("Tunable"); ?> | ++ + | +
| =gettext("Description"); ?> | ++ + | +
| =gettext("Value"); ?> | ++ + | +
| + | + " /> + " onclick="window.location.href='=$referer;?>'" /> + + + + + | +
| =gettext("Descriptive name");?> | @@ -502,17 +502,17 @@ function select_clicked() { |
- +
| =gettext("Filename"); ?> | -=gettext("Date"); ?> | -=gettext("Size"); ?> | -|
|---|---|---|---|
| =gettext("Filename"); ?> | +=gettext("Date"); ?> | +=gettext("Size"); ?> | +"; - echo " $arf"; - echo " | "; - echo ""; - echo date ("F d Y H:i:s", filemtime($arf)); - echo " | "; - echo ""; - echo format_bytes($size); - echo " | "; - echo ""; - echo ""; - echo gettext("Delete"); - echo " | "; - echo ""; - echo gettext("Download"); - echo ""; - echo " | "; - echo ""; - } - if($counter == 0) { - echo "
|---|---|---|---|
| "; - echo gettext("Could not locate any previous backups."); - echo " | "; - echo "|||
| "; + echo " $arf"; + echo " | "; + echo ""; + echo date ("F d Y H:i:s", filemtime($arf)); + echo " | "; + echo ""; + echo format_bytes($size); + echo " | "; + echo ""; + echo ""; + echo gettext("Delete"); + echo " | "; + echo ""; + echo gettext("Download"); + echo ""; + echo " | "; + echo "
| "; + echo gettext("Could not locate any previous backups."); + echo " | "; + echo "|||
|
- - =gettext("do not restore config.xml."); ?> - - " /> - |
- |||
|
+ + =gettext("do not restore config.xml."); ?> + + " /> + |
+ |||
| =gettext("Updates"); ?> | -|
|---|---|
| =gettext("Updates"); ?> | +|
| =gettext("Dashboard check"); ?> | -
- />
- - =gettext("Disable the automatic dashboard auto-update check."); ?> - |
-
| =gettext("Dashboard check"); ?> | +
+ />
+ + =gettext("Disable the automatic dashboard auto-update check."); ?> + |
+
| @@ -273,10 +273,10 @@ function enable_altfirmwareurl(enable_over) { |
| =gettext("Priority");?> | =gettext("Description");?> | - - | + + @@ -197,13 +197,13 @@ $main_buttons = array(|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| =gettext("Edit gateway group entry"); ?> | -||
| =gettext("Group Name"); ?> | -+ |
=gettext("Group Name"); ?> |
{$gateway['descr']} "; echo " | "; - } + } ?>
| - | =gettext("Name"); ?> | -=gettext("Interface"); ?> | -=gettext("Gateway"); ?> | -=gettext("Monitor IP"); ?> | -=gettext("Description"); ?> | -- - | -|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + | =gettext("Name"); ?> | +=gettext("Interface"); ?> | +=gettext("Gateway"); ?> | +=gettext("Monitor IP"); ?> | +=gettext("Description"); ?> | ++ + | +|||||||||||
| - + | |||||||||||||||||
| + - + - + - | -+ | +- "> - + "> + - " > - - - + " > + + + - "> + "> - | -+ | +(default)"; - echo $textse; + echo $textss; + echo $gateway['name']; + if(isset($gateway['defaultgw'])) + echo " (default)"; + echo $textse; ?> - | -+ | +- | -+ | +- | -+ | +- | + -+ | - | + | - | -- - - - - + | ++ + + + + - - ')" class="btn btn-default btn-xs"> - - - + + ')" class="btn btn-default btn-xs"> + + + - - - - | -|
| - |
-
|
+ ||||||||||||||||
| =gettext("Average Delay Replies Qty");?> |
+ value="=htmlspecialchars($pconfig['avg_delay_samples']);?>" onchange="samples_change(document.iform.avg_delay_samples_calculated, this)" />
onclick="calculated_change(this, document.iform.avg_delay_samples)" />
=gettext("Use calculated value."); ?>
=gettext(sprintf("How many replies should be used to compute average delay for controlling \"delay\" alarms? Default is %d.", $apinger_default['avg_delay_samples']));?> @@ -882,9 +882,9 @@ function enable_change() { |
| =gettext("Group name");?> | @@ -525,7 +525,7 @@ function presubmit() { -
|---|