WARNING: untranslated string: ids provider eol = (EOL)
WARNING: untranslated string: ids provider settings = Provider settings
WARNING: untranslated string: ids remove rule structures = Remove old rule structures...
-WARNING: untranslated string: ids reports daily = Send a daily report
-WARNING: untranslated string: ids reports monthly = Send a monthly report
-WARNING: untranslated string: ids reports weekly = Send a weekly report
+WARNING: untranslated string: ids reports daily = Daily Report
+WARNING: untranslated string: ids reports monthly = Monthly Report
+WARNING: untranslated string: ids reports weekly = Weekly Report
WARNING: untranslated string: ids reset provider = Reset provider
WARNING: untranslated string: ids ruleset autoupdate in progress = Ruleset update in progress. Please wait until all operations have completed successfully...
WARNING: untranslated string: ids ruleset is up to date = No update required - The ruleset is up to date.
WARNING: untranslated string: ids no email recipients = No email recipients given
WARNING: untranslated string: ids no email sender = No sender email address specified
WARNING: untranslated string: ids provider eol = (EOL)
-WARNING: untranslated string: ids reports daily = Send a daily report
-WARNING: untranslated string: ids reports monthly = Send a monthly report
-WARNING: untranslated string: ids reports weekly = Send a weekly report
+WARNING: untranslated string: ids reports daily = Daily Report
+WARNING: untranslated string: ids reports monthly = Monthly Report
+WARNING: untranslated string: ids reports weekly = Weekly Report
WARNING: untranslated string: ids send email on alert = Send email on alert
WARNING: untranslated string: indirect target selection = Indirect target selection
WARNING: untranslated string: info messages = unknown string
WARNING: untranslated string: ids no email recipients = No email recipients given
WARNING: untranslated string: ids no email sender = No sender email address specified
WARNING: untranslated string: ids provider eol = (EOL)
-WARNING: untranslated string: ids reports daily = Send a daily report
-WARNING: untranslated string: ids reports monthly = Send a monthly report
-WARNING: untranslated string: ids reports weekly = Send a weekly report
+WARNING: untranslated string: ids reports daily = Daily Report
+WARNING: untranslated string: ids reports monthly = Monthly Report
+WARNING: untranslated string: ids reports weekly = Weekly Report
WARNING: untranslated string: ids rulesets = Rulesets
WARNING: untranslated string: ids send email on alert = Send email on alert
WARNING: untranslated string: import connection = Import a Connection
WARNING: untranslated string: ids provider eol = (EOL)
WARNING: untranslated string: ids provider settings = Provider settings
WARNING: untranslated string: ids remove rule structures = Remove old rule structures...
-WARNING: untranslated string: ids reports daily = Send a daily report
-WARNING: untranslated string: ids reports monthly = Send a monthly report
-WARNING: untranslated string: ids reports weekly = Send a weekly report
+WARNING: untranslated string: ids reports daily = Daily Report
+WARNING: untranslated string: ids reports monthly = Monthly Report
+WARNING: untranslated string: ids reports weekly = Weekly Report
WARNING: untranslated string: ids reset provider = Reset provider
WARNING: untranslated string: ids ruleset autoupdate in progress = Ruleset update in progress. Please wait until all operations have completed successfully...
WARNING: untranslated string: ids ruleset is up to date = No update required - The ruleset is up to date.
WARNING: untranslated string: ids provider eol = (EOL)
WARNING: untranslated string: ids provider settings = Provider settings
WARNING: untranslated string: ids remove rule structures = Remove old rule structures...
-WARNING: untranslated string: ids reports daily = Send a daily report
-WARNING: untranslated string: ids reports monthly = Send a monthly report
-WARNING: untranslated string: ids reports weekly = Send a weekly report
+WARNING: untranslated string: ids reports daily = Daily Report
+WARNING: untranslated string: ids reports monthly = Monthly Report
+WARNING: untranslated string: ids reports weekly = Weekly Report
WARNING: untranslated string: ids reset provider = Reset provider
WARNING: untranslated string: ids ruleset autoupdate in progress = Ruleset update in progress. Please wait until all operations have completed successfully...
WARNING: untranslated string: ids ruleset is up to date = No update required - The ruleset is up to date.
WARNING: untranslated string: ids provider eol = (EOL)
WARNING: untranslated string: ids provider settings = Provider settings
WARNING: untranslated string: ids remove rule structures = Remove old rule structures...
-WARNING: untranslated string: ids reports daily = Send a daily report
-WARNING: untranslated string: ids reports monthly = Send a monthly report
-WARNING: untranslated string: ids reports weekly = Send a weekly report
+WARNING: untranslated string: ids reports daily = Daily Report
+WARNING: untranslated string: ids reports monthly = Monthly Report
+WARNING: untranslated string: ids reports weekly = Weekly Report
WARNING: untranslated string: ids reset provider = Reset provider
WARNING: untranslated string: ids ruleset autoupdate in progress = Ruleset update in progress. Please wait until all operations have completed successfully...
WARNING: untranslated string: ids ruleset is up to date = No update required - The ruleset is up to date.
WARNING: untranslated string: ids provider eol = (EOL)
WARNING: untranslated string: ids provider settings = Provider settings
WARNING: untranslated string: ids remove rule structures = Remove old rule structures...
-WARNING: untranslated string: ids reports daily = Send a daily report
-WARNING: untranslated string: ids reports monthly = Send a monthly report
-WARNING: untranslated string: ids reports weekly = Send a weekly report
+WARNING: untranslated string: ids reports daily = Daily Report
+WARNING: untranslated string: ids reports monthly = Monthly Report
+WARNING: untranslated string: ids reports weekly = Weekly Report
WARNING: untranslated string: ids reset provider = Reset provider
WARNING: untranslated string: ids ruleset autoupdate in progress = Ruleset update in progress. Please wait until all operations have completed successfully...
WARNING: untranslated string: ids ruleset is up to date = No update required - The ruleset is up to date.
WARNING: untranslated string: ids provider eol = (EOL)
WARNING: untranslated string: ids provider settings = Provider settings
WARNING: untranslated string: ids remove rule structures = Remove old rule structures...
-WARNING: untranslated string: ids reports daily = Send a daily report
-WARNING: untranslated string: ids reports monthly = Send a monthly report
-WARNING: untranslated string: ids reports weekly = Send a weekly report
+WARNING: untranslated string: ids reports daily = Daily Report
+WARNING: untranslated string: ids reports monthly = Monthly Report
+WARNING: untranslated string: ids reports weekly = Weekly Report
WARNING: untranslated string: ids reset provider = Reset provider
WARNING: untranslated string: ids ruleset autoupdate in progress = Ruleset update in progress. Please wait until all operations have completed successfully...
WARNING: untranslated string: ids ruleset is up to date = No update required - The ruleset is up to date.
WARNING: untranslated string: ids invalid mail address = Is or contains an invalid mail address.
WARNING: untranslated string: ids no email recipients = No email recipients given
WARNING: untranslated string: ids no email sender = No sender email address specified
-WARNING: untranslated string: ids reports daily = Send a daily report
-WARNING: untranslated string: ids reports monthly = Send a monthly report
-WARNING: untranslated string: ids reports weekly = Send a weekly report
+WARNING: untranslated string: ids reports daily = Daily Report
+WARNING: untranslated string: ids reports monthly = Monthly Report
+WARNING: untranslated string: ids reports weekly = Weekly Report
WARNING: untranslated string: ids send email on alert = Send email on alert
WARNING: untranslated string: indirect target selection = Indirect target selection
WARNING: untranslated string: info messages = unknown string
WARNING: untranslated string: ids invalid mail address = Is or contains an invalid mail address.
WARNING: untranslated string: ids no email recipients = No email recipients given
WARNING: untranslated string: ids no email sender = No sender email address specified
-WARNING: untranslated string: ids reports daily = Send a daily report
-WARNING: untranslated string: ids reports monthly = Send a monthly report
-WARNING: untranslated string: ids reports weekly = Send a weekly report
+WARNING: untranslated string: ids reports daily = Daily Report
+WARNING: untranslated string: ids reports monthly = Monthly Report
+WARNING: untranslated string: ids reports weekly = Weekly Report
WARNING: untranslated string: ids send email on alert = Send email on alert
WARNING: untranslated string: indirect target selection = Indirect target selection
WARNING: untranslated string: info messages = unknown string
if (&_validate_mail_address($cgiparams{'EMAIL_RECIPIENTS'})) {
$errormessage = "$cgiparams{'EMAIL_RECIPIENTS'} - $Lang::tr{'ids invalid mail address'}";
}
+
+ if (&_validate_mail_address($cgiparams{'EMAIL_RECIPIENTS_REPORT_DAILY'})) {
+ $errormessage = "$Lang::tr{'ids invalid mail address'}: $cgiparams{'EMAIL_RECIPIENTS_REPORT_DAILY'}";
+ }
+
+ if (&_validate_mail_address($cgiparams{'EMAIL_RECIPIENTS_REPORT_WEEKLY'})) {
+ $errormessage = "$Lang::tr{'ids invalid mail address'}: $cgiparams{'EMAIL_RECIPIENTS_REPORT_WEEKLY'}";
+ }
+
+ if (&_validate_mail_address($cgiparams{'EMAIL_RECIPIENTS_REPORT_MONTHLY'})) {
+ $errormessage = "$Lang::tr{'ids invalid mail address'}: $cgiparams{'EMAIL_RECIPIENTS_REPORT_MONTHLY'}";
+ }
}
# Go on if there are no error messages.
my $email_sender = $idssettings{'EMAIL_SENDER'};
my $email_recipients = $idssettings{'EMAIL_RECIPIENTS'};
+ my %email_recipients_reports = (
+ "DAILY" => $idssettings{'EMAIL_RECIPIENTS_REPORT_DAILY'},
+ "WEEKLY" => $idssettings{'EMAIL_RECIPIENTS_REPORT_WEEKLY'},
+ "MONTHLY" => $idssettings{'EMAIL_RECIPIENTS_REPORT_MONTHLY'},
+ );
+
# Set form values to cgiparams state in error case.
if ($errormessage) {
$checked{'ENABLE_IDS'}{$cgiparams{'ENABLE_IDS'}} = "checked='checked'";
$email_sender = $cgiparams{'EMAIL_SENDER'};
$email_recipients = $cgiparams{'EMAIL_RECIPIENTS'};
+
+ %email_recipients_reports = (
+ "DAILY" => $cgiparams{'EMAIL_RECIPIENTS_REPORT_DAILY'},
+ "WEEKLY" => $cgiparams{'EMAIL_RECIPIENTS_REPORT_WEEKLY'},
+ "MONTHLY" => $cgiparams{'EMAIL_RECIPIENTS_REPORT_MONTHLY'},
+ );
}
# Draw current state of the IDS
</select>
</td>
</tr>
+ </table>
+ <h6>
+ $Lang::tr{'ids reports daily'}
+ </h6>
+
+ <table class="form">
<tr>
- <td colspan="2"> </td>
+ <td>
+ <label for="ENABLE_REPORT_DAILY">
+ $Lang::tr{'enable'}
+ </label>
+ </td>
+
+ <td>
+ <input type='checkbox' name='ENABLE_REPORT_DAILY'
+ id="ENABLE_REPORT_DAILY" $checked{'ENABLE_REPORT_DAILY'}{'on'}>
+ </td>
</tr>
<tr>
<td>
- <label for="ENABLE_REPORT_DAILY">
- $Lang::tr{'ids reports daily'}
+ <label for="EMAIL_RECIPIENTS_REPORT_DAILY">
+ $Lang::tr{'ids email recipients'}
</label>
</td>
<td>
- <input type='checkbox' name='ENABLE_REPORT_DAILY' id="ENABLE_REPORT_DAILY" $checked{'ENABLE_REPORT_DAILY'}{'on'}>
+ <input type="text" name="EMAIL_RECIPIENTS_REPORT_DAILY"
+ value="$email_recipients_reports{'DAILY'}">
</td>
</tr>
+ </table>
+
+ <h6>
+ $Lang::tr{'ids reports weekly'}
+ </h6>
+ <table class="form">
<tr>
<td>
<label for="ENABLE_REPORT_WEEKLY">
- $Lang::tr{'ids reports weekly'}
+ $Lang::tr{'enable'}
</label>
</td>
<td>
- <input type='checkbox' name='ENABLE_REPORT_WEEKLY' id="ENABLE_REPORT_WEEKLY" $checked{'ENABLE_REPORT_WEEKLY'}{'on'}>
+ <input type='checkbox' name='ENABLE_REPORT_WEEKLY'
+ id="ENABLE_REPORT_WEEKLY" $checked{'ENABLE_REPORT_WEEKLY'}{'on'}>
</td>
</tr>
+ <tr>
+ <td>
+ <label for="EMAIL_RECIPIENTS_REPORT_WEEKLY">
+ $Lang::tr{'ids email recipients'}
+ </label>
+ </td>
+
+ <td>
+ <input type="text" name="EMAIL_RECIPIENTS_REPORT_WEEKLY"
+ value="$email_recipients_reports{'WEEKLY'}">
+ </td>
+ </tr>
+ </table>
+
+ <h6>
+ $Lang::tr{'ids reports monthly'}
+ </h6>
+
+ <table class="form">
<tr>
<td>
<label for="ENABLE_REPORT_MONTHLY">
- $Lang::tr{'ids reports monthly'}
+ $Lang::tr{'enable'}
</label>
</td>
<td>
- <input type='checkbox' name='ENABLE_REPORT_MONTHLY' id="ENABLE_REPORT_MONTHLY" $checked{'ENABLE_REPORT_MONTHLY'}{'on'}>
+ <input type='checkbox' name='ENABLE_REPORT_MONTHLY'
+ id="ENABLE_REPORT_MONTHLY" $checked{'ENABLE_REPORT_MONTHLY'}{'on'}>
</td>
</tr>
+ <tr>
+ <td>
+ <label for="EMAIL_RECIPIENTS_REPORT_MONTHLY">
+ $Lang::tr{'ids email recipients'}
+ </label>
+ </td>
+
+ <td>
+ <input type="text" name="EMAIL_RECIPIENTS_REPORT_MONTHLY"
+ value="$email_recipients_reports{'MONTHLY'}">
+ </td>
+ </tr>
+ </table>
+
+ <table class="form">
<tr class="action">
- <td colspan="2">
+ <td>
<input type='submit' name='IDS' value='$Lang::tr{'save'}' />
</td>
</tr>
'ids provider' => 'Regelset-Anbieter',
'ids provider settings' => 'Regelset-Anbieter-Einstellungen',
'ids remove rule structures' => 'Entferne alte Regelstrukturen...',
-'ids reports daily' => 'Einen täglichen Bericht schicken',
-'ids reports monthly' => 'Einen monatlichen Bericht schicken',
-'ids reports weekly' => 'Einen wöchentlichen Bericht schicken',
+'ids reports daily' => 'Täglicher Bericht',
+'ids reports monthly' => 'Monatlicher Bericht',
+'ids reports weekly' => 'Wöchentlicher Bericht',
'ids reset provider' => 'Providereinstellungen zurücksetzen',
'ids rules update' => 'Regelsatz',
'ids ruleset autoupdate in progress' => 'Der Regelsatz wird gerade aktualisiert. Bitte warten Sie, bis dieser Vorgang erfolgreich beendet wurde...',
'ids provider eol' => '(EOL)',
'ids provider settings' => 'Provider settings',
'ids remove rule structures' => 'Remove old rule structures...',
-'ids reports daily' => 'Send a daily report',
-'ids reports monthly' => 'Send a monthly report',
-'ids reports weekly' => 'Send a weekly report',
+'ids reports daily' => 'Daily Report',
+'ids reports monthly' => 'Monthly Report',
+'ids reports weekly' => 'Weekly Report',
'ids reset provider' => 'Reset provider',
'ids rules update' => 'Ruleset',
'ids ruleset autoupdate in progress' => 'Ruleset update in progress. Please wait until all operations have completed successfully...',