Skip to content

Commit 9df0fc3

Browse files
MSS970TheWitness
andauthored
Change duration color code in arrays.php (Cacti#65)
* Change duration color code in arrays.php * Update certificate expiry notification settings --------- Co-authored-by: TheWitness <thewitness@cacti.net>
1 parent 4b6ca3a commit 9df0fc3

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

includes/arrays.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
'display' => __('Error', 'servcheck')
4848
),
4949
'duration' => array(
50-
'color' => '#DDFFDD',
50+
'color' => '#CDFDFF',
5151
'display' => __('Long duration', 'servcheck')
5252
),
5353
'warning' => array(

setup.php

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -622,15 +622,17 @@ function servcheck_config_settings() {
622622
'default' => ''
623623
),
624624
'servcheck_certificate_expiry_days' => array(
625-
'friendly_name' => __('How long before expiration send notification', 'servcheck'),
626-
'description' => __('If SSL/TLS service certificate expiration is enabled, notify about soon certificate expiration', 'sercheck'),
625+
'friendly_name' => __('Certificate expiry date advanced notification email', 'servcheck'),
626+
'description' => __('If SSL/TLS service certificate expiration is enabled, set how many days advanced notice period before certificate expiry date the system will send notification', 'sercheck'),
627627
'method' => 'drop_array',
628628
'array' => array(
629629
'-1' => __('Disabled', 'servcheck'),
630-
'3' => __('3 days before', 'servcheck'),
631-
'7' => __('1 week before', 'servcheck'),
632-
'21' => __('3 weeks before', 'servcheck'),
633-
'30' => __('30 days before', 'servcheck'),
630+
'3' => __('3 days in advance', 'servcheck'),
631+
'7' => __('1 week in advance', 'servcheck'),
632+
'21' => __('3 weeks in advance', 'servcheck'),
633+
'30' => __('30 days in advance', 'servcheck'),
634+
'60' => __('60 days in advance', 'servcheck'),
635+
'90' => __('90 days in advance', 'servcheck'),
634636
),
635637
'default' => 7
636638
),

0 commit comments

Comments
 (0)