Skip to content

Commit 111cac7

Browse files
author
florian030
committed
Add minimum ttl values in dns dkim records
1 parent 94a38c4 commit 111cac7

21 files changed

+24
-0
lines changed

interface/web/dns/form/dns_dkim.tform.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@
116116
'ttl' => array (
117117
'datatype' => 'INTEGER',
118118
'formtype' => 'TEXT',
119+
'validators' => array ( 0 => array ( 'type' => 'RANGE',
120+
'range' => '60:',
121+
'errmsg'=> 'ttl_range_error'),
122+
);
119123
'default' => '86400',
120124
'value' => '',
121125
'width' => '10',

interface/web/dns/lib/lang/ar_dns_dkim.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists';
66
$wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain';
77
$wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.';
88
$wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.';
9+
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
910
?>

interface/web/dns/lib/lang/bg_dns_dkim.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists';
66
$wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain';
77
$wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.';
88
$wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.';
9+
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
910
?>

interface/web/dns/lib/lang/br_dns_dkim.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists';
66
$wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain';
77
$wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.';
88
$wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.';
9+
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
910
?>

interface/web/dns/lib/lang/cz_dns_dkim.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists';
66
$wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain';
77
$wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.';
88
$wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.';
9+
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
910
?>

interface/web/dns/lib/lang/de_dns_dkim.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ $wb["record_exists_txt"] = 'DNS-Eintrag bereits vorhanden';
66
$wb["dkim_disabled_txt"] = 'DKIM st fuer diese Domain nicht aktiv.';
77
$wb["limit_dns_record_txt"] = 'Die max. Anzahl von DNS Eintraegen fuer den Account ist erreicht.';
88
$wb["no_zone_perm"] = 'Fehlende Berechtigung zum Hinzufuegen eines Eintrags zur DNS-Zone.';
9+
$wb['ttl_range_error'] = 'Min. TTL time ist 60 Sekunden.';
910
?>

interface/web/dns/lib/lang/el_dns_dkim.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists';
66
$wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain';
77
$wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.';
88
$wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.';
9+
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
910
?>

interface/web/dns/lib/lang/en_dns_dkim.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ $wb["record_exists_txt"] = 'DNS-Record already exists';
66
$wb["dkim_disabled_txt"] = 'DKIM disabled for this mail-domain';
77
$wb["limit_dns_record_txt"] = 'The max. number of DNS records for your account is reached.';
88
$wb["no_zone_perm"] = 'You do not have the permission to add a record to this DNS zone.';
9+
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
910
?>

interface/web/dns/lib/lang/es_dns_dkim.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists';
66
$wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain';
77
$wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.';
88
$wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.';
9+
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
910
?>

interface/web/dns/lib/lang/fi_dns_dkim.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists';
66
$wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain';
77
$wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.';
88
$wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.';
9+
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
910
?>

0 commit comments

Comments
 (0)