diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2013-11-22 23:49:58 -0500 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2013-11-22 23:49:58 -0500 |
commit | 3c4426c03af14c68434eba427366b1c97375ff1f (patch) | |
tree | bd084d38cb81992e1dd4aa9f6c16e7cbe6537a94 /config/snort/snort_preprocessors.php | |
parent | 3f6aaa9c4a7adf4570307eaae6a53e866b7fc897 (diff) | |
download | pfsense-packages-3c4426c03af14c68434eba427366b1c97375ff1f.tar.gz pfsense-packages-3c4426c03af14c68434eba427366b1c97375ff1f.tar.bz2 pfsense-packages-3c4426c03af14c68434eba427366b1c97375ff1f.zip |
Minor format edits for new SDF data type selection feature.
Diffstat (limited to 'config/snort/snort_preprocessors.php')
-rwxr-xr-x | config/snort/snort_preprocessors.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/config/snort/snort_preprocessors.php b/config/snort/snort_preprocessors.php index c6546b6f..1d47ccdb 100755 --- a/config/snort/snort_preprocessors.php +++ b/config/snort/snort_preprocessors.php @@ -435,12 +435,12 @@ elseif ($_POST['Submit']) { $natent = array(); $natent = $pconfig; - // Validate SDF alert threshold if value if enabled + // Validate SDF alert threshold and alert data type values if SDF is enabled if ($_POST['sensitive_data'] == 'on') { if ($_POST['sdf_alert_threshold'] < 1 || $_POST['sdf_alert_threshold'] > 4294067295) $input_errors[] = gettext("The value for Sensitive_Data_Alert_Threshold must be between 1 and 4,294,067,295."); if (empty($_POST['sdf_alert_data_type'])) - $input_errors[] = gettext("You must select at least one item to Inspect for while Sensitive data Detections is enabled."); + $input_errors[] = gettext("You must select at least one sensitive data type to inspect for when Sensitive Data detection is enabled."); } /* if no errors write to conf */ @@ -1401,7 +1401,7 @@ include_once("head.inc"); </td> </tr> <tr id="sdf_alert_data_row"> - <td width="22%" valign="top" class="vncell"><?php echo gettext("Inspection for"); ?> </td> + <td width="22%" valign="top" class="vncell"><?php echo gettext("Inspect for"); ?> </td> <td width="78%" class="vtable"> <select name="sdf_alert_data_type[]" class="formselect" id="sdf_alert_data_type" size="4" multiple="multiple"> <?php @@ -1411,9 +1411,9 @@ include_once("head.inc"); <?php if (preg_match("/$val/",$pconfig['sdf_alert_data_type'])) echo "selected"; ?>> <?=gettext($val);?></option> <?php endforeach; ?> - </select><br><?php echo gettext("Choose what type of sensitive alerts to detect.").$pconfig['sdf_alert_data_type']; ?><br/> + </select><br/><?php echo gettext("Choose which types of sensitive data to detect. Use CTRL + Click for multiple selections."); ?><br/> </td> - </tr> + </tr> <tr id="sdf_alert_threshold_row"> <td width="22%" valign="top" class="vncell"><?php echo gettext("Alert Threshold"); ?></td> <td width="78%" class="vtable"><input name="sdf_alert_threshold" type="text" class="formfld unknown" id="sdf_alert_threshold" size="9" value="<?=htmlspecialchars($pconfig['sdf_alert_threshold']);?>"> @@ -1810,13 +1810,13 @@ function sensitive_data_enable_change() { if (endis) { document.getElementById("sdf_alert_threshold_row").style.display="none"; document.getElementById("sdf_mask_output_row").style.display="none"; - document.getElementById("sdf_alert_data_type").style.display="none"; + document.getElementById("sdf_alert_data_row").style.display="none"; } else { document.getElementById("sdf_alert_threshold_row").style.display="table-row"; document.getElementById("sdf_mask_output_row").style.display="table-row"; - document.getElementById("sdf_alert_data_type").style.display="table-row"; + document.getElementById("sdf_alert_data_row").style.display="table-row"; } } |