mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
2009-11-26 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_alerts.php: add more values into function "get_alert_template_threshold_values", values as 1 week, 2 weeks, 1 month and 6 months. * godmode/alerts/configure_alert_template.php: change the default value to 1 day. Fixes: 2902458 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
ea16c6757e
commit
8ac8f10ee1
@ -1,3 +1,12 @@
|
|||||||
|
2009-11-26 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* include/functions_alerts.php: add more values into function
|
||||||
|
"get_alert_template_threshold_values", values as 1 week, 2 weeks, 1 month
|
||||||
|
and 6 months.
|
||||||
|
* godmode/alerts/configure_alert_template.php: change the default value
|
||||||
|
to 1 day.
|
||||||
|
Fixes: 2902458
|
||||||
|
|
||||||
2009-11-25 Miguel de Dios <miguel.dedios@artica.es>
|
2009-11-25 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* include/functions_ui.php: fix the bug in the pagination that write wrong
|
* include/functions_ui.php: fix the bug in the pagination that write wrong
|
||||||
|
@ -217,7 +217,7 @@ $field3 = '';
|
|||||||
$priority = 1;
|
$priority = 1;
|
||||||
$min_alerts = 0;
|
$min_alerts = 0;
|
||||||
$max_alerts = 1;
|
$max_alerts = 1;
|
||||||
$threshold = 300;
|
$threshold = 86400;
|
||||||
$recovery_notify = false;
|
$recovery_notify = false;
|
||||||
$field2_recovery = '';
|
$field2_recovery = '';
|
||||||
$field3_recovery = '';
|
$field3_recovery = '';
|
||||||
|
@ -350,6 +350,9 @@ function get_alert_template_threshold_values () {
|
|||||||
$times['43200'] = '12 '.__('hours');
|
$times['43200'] = '12 '.__('hours');
|
||||||
$times['86400'] = '1 '.__('day');
|
$times['86400'] = '1 '.__('day');
|
||||||
$times['604800'] = '1 '.__('week');
|
$times['604800'] = '1 '.__('week');
|
||||||
|
$times['1209600'] = '2 '.__('weeks');
|
||||||
|
$times['18144000'] = '1 '.__('month');
|
||||||
|
$times['108864000'] = '6 '.__('months');
|
||||||
$times['-1'] = __('Other value');
|
$times['-1'] = __('Other value');
|
||||||
|
|
||||||
return $times;
|
return $times;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user