diff --git a/interface/web/dns/form/dns_dkim.tform.php b/interface/web/dns/form/dns_dkim.tform.php index 2da9b42f874cfa5e6d4772d80471df101f3ee932..ca01275d62b17db0ec8d761ebf7c53e31cd390df 100644 --- a/interface/web/dns/form/dns_dkim.tform.php +++ b/interface/web/dns/form/dns_dkim.tform.php @@ -116,6 +116,10 @@ $form["tabs"]['dns'] = array ( 'ttl' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', + 'validators' => array ( 0 => array ( 'type' => 'RANGE', + 'range' => '60:', + 'errmsg'=> 'ttl_range_error'), + ); 'default' => '86400', 'value' => '', 'width' => '10', diff --git a/interface/web/dns/lib/lang/ar_dns_dkim.lng b/interface/web/dns/lib/lang/ar_dns_dkim.lng index 6ca7521495f7d4f7d87f549fa2b18f9fb66fb459..5ed8bfa416a7874b65075ef3e091bf75493736b7 100644 --- a/interface/web/dns/lib/lang/ar_dns_dkim.lng +++ b/interface/web/dns/lib/lang/ar_dns_dkim.lng @@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists'; $wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain'; $wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.'; $wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/bg_dns_dkim.lng b/interface/web/dns/lib/lang/bg_dns_dkim.lng index 6ca7521495f7d4f7d87f549fa2b18f9fb66fb459..5ed8bfa416a7874b65075ef3e091bf75493736b7 100644 --- a/interface/web/dns/lib/lang/bg_dns_dkim.lng +++ b/interface/web/dns/lib/lang/bg_dns_dkim.lng @@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists'; $wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain'; $wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.'; $wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/br_dns_dkim.lng b/interface/web/dns/lib/lang/br_dns_dkim.lng index 6ca7521495f7d4f7d87f549fa2b18f9fb66fb459..5ed8bfa416a7874b65075ef3e091bf75493736b7 100644 --- a/interface/web/dns/lib/lang/br_dns_dkim.lng +++ b/interface/web/dns/lib/lang/br_dns_dkim.lng @@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists'; $wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain'; $wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.'; $wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/cz_dns_dkim.lng b/interface/web/dns/lib/lang/cz_dns_dkim.lng index 6ca7521495f7d4f7d87f549fa2b18f9fb66fb459..5ed8bfa416a7874b65075ef3e091bf75493736b7 100644 --- a/interface/web/dns/lib/lang/cz_dns_dkim.lng +++ b/interface/web/dns/lib/lang/cz_dns_dkim.lng @@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists'; $wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain'; $wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.'; $wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/de_dns_dkim.lng b/interface/web/dns/lib/lang/de_dns_dkim.lng index 550239de1261fa869ea79647dd8b86269e72205a..d1ba493584b93f4ba9e86514d66f77f67b19f89b 100644 --- a/interface/web/dns/lib/lang/de_dns_dkim.lng +++ b/interface/web/dns/lib/lang/de_dns_dkim.lng @@ -6,4 +6,5 @@ $wb["record_exists_txt"] = 'DNS-Eintrag bereits vorhanden'; $wb["dkim_disabled_txt"] = 'DKIM st fuer diese Domain nicht aktiv.'; $wb["limit_dns_record_txt"] = 'Die max. Anzahl von DNS Eintraegen fuer den Account ist erreicht.'; $wb["no_zone_perm"] = 'Fehlende Berechtigung zum Hinzufuegen eines Eintrags zur DNS-Zone.'; +$wb['ttl_range_error'] = 'Min. TTL time ist 60 Sekunden.'; ?> diff --git a/interface/web/dns/lib/lang/el_dns_dkim.lng b/interface/web/dns/lib/lang/el_dns_dkim.lng index 6ca7521495f7d4f7d87f549fa2b18f9fb66fb459..5ed8bfa416a7874b65075ef3e091bf75493736b7 100644 --- a/interface/web/dns/lib/lang/el_dns_dkim.lng +++ b/interface/web/dns/lib/lang/el_dns_dkim.lng @@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists'; $wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain'; $wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.'; $wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/en_dns_dkim.lng b/interface/web/dns/lib/lang/en_dns_dkim.lng index c24d401c979e3e29d91e501ba99c1165ac733c70..62025f8917612f544b5fd2bf88dfebc81f4d2110 100644 --- a/interface/web/dns/lib/lang/en_dns_dkim.lng +++ b/interface/web/dns/lib/lang/en_dns_dkim.lng @@ -6,4 +6,5 @@ $wb["record_exists_txt"] = 'DNS-Record already exists'; $wb["dkim_disabled_txt"] = 'DKIM disabled for this mail-domain'; $wb["limit_dns_record_txt"] = 'The max. number of DNS records for your account is reached.'; $wb["no_zone_perm"] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/es_dns_dkim.lng b/interface/web/dns/lib/lang/es_dns_dkim.lng index 6ca7521495f7d4f7d87f549fa2b18f9fb66fb459..5ed8bfa416a7874b65075ef3e091bf75493736b7 100644 --- a/interface/web/dns/lib/lang/es_dns_dkim.lng +++ b/interface/web/dns/lib/lang/es_dns_dkim.lng @@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists'; $wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain'; $wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.'; $wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/fi_dns_dkim.lng b/interface/web/dns/lib/lang/fi_dns_dkim.lng index 6ca7521495f7d4f7d87f549fa2b18f9fb66fb459..5ed8bfa416a7874b65075ef3e091bf75493736b7 100644 --- a/interface/web/dns/lib/lang/fi_dns_dkim.lng +++ b/interface/web/dns/lib/lang/fi_dns_dkim.lng @@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists'; $wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain'; $wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.'; $wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/fr_dns_dkim.lng b/interface/web/dns/lib/lang/fr_dns_dkim.lng index f64c89b8cd5672e9319b59f91a854bd164f17a45..6b2c6874c9deecd45e0e021a7df020262ce38205 100644 --- a/interface/web/dns/lib/lang/fr_dns_dkim.lng +++ b/interface/web/dns/lib/lang/fr_dns_dkim.lng @@ -5,4 +5,5 @@ $wb["active_txt"] = 'Actif'; $wb["record_exists_txt"] = 'L\'enregistrement DNS exist déjà '; $wb["limit_dns_record_txt"] = 'Le nombre max. d\'enregistrement DNS pour votre compte à été atteint.'; $wb["no_zone_perm"] = 'Vous n\'avez pas la permission d\'ajouter un enregistrement à cette Zone DNS.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/hr_dns_dkim.lng b/interface/web/dns/lib/lang/hr_dns_dkim.lng index 6ca7521495f7d4f7d87f549fa2b18f9fb66fb459..5ed8bfa416a7874b65075ef3e091bf75493736b7 100644 --- a/interface/web/dns/lib/lang/hr_dns_dkim.lng +++ b/interface/web/dns/lib/lang/hr_dns_dkim.lng @@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists'; $wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain'; $wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.'; $wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/hu_dns_dkim.lng b/interface/web/dns/lib/lang/hu_dns_dkim.lng index 6ca7521495f7d4f7d87f549fa2b18f9fb66fb459..5ed8bfa416a7874b65075ef3e091bf75493736b7 100644 --- a/interface/web/dns/lib/lang/hu_dns_dkim.lng +++ b/interface/web/dns/lib/lang/hu_dns_dkim.lng @@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists'; $wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain'; $wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.'; $wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/id_dns_dkim.lng b/interface/web/dns/lib/lang/id_dns_dkim.lng index 6ca7521495f7d4f7d87f549fa2b18f9fb66fb459..5ed8bfa416a7874b65075ef3e091bf75493736b7 100644 --- a/interface/web/dns/lib/lang/id_dns_dkim.lng +++ b/interface/web/dns/lib/lang/id_dns_dkim.lng @@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists'; $wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain'; $wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.'; $wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/it_dns_dkim.lng b/interface/web/dns/lib/lang/it_dns_dkim.lng index 6ca7521495f7d4f7d87f549fa2b18f9fb66fb459..5ed8bfa416a7874b65075ef3e091bf75493736b7 100644 --- a/interface/web/dns/lib/lang/it_dns_dkim.lng +++ b/interface/web/dns/lib/lang/it_dns_dkim.lng @@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists'; $wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain'; $wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.'; $wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/ja_dns_dkim.lng b/interface/web/dns/lib/lang/ja_dns_dkim.lng index 6ca7521495f7d4f7d87f549fa2b18f9fb66fb459..5ed8bfa416a7874b65075ef3e091bf75493736b7 100644 --- a/interface/web/dns/lib/lang/ja_dns_dkim.lng +++ b/interface/web/dns/lib/lang/ja_dns_dkim.lng @@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists'; $wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain'; $wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.'; $wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/nl_dns_dkim.lng b/interface/web/dns/lib/lang/nl_dns_dkim.lng index 6ca7521495f7d4f7d87f549fa2b18f9fb66fb459..5ed8bfa416a7874b65075ef3e091bf75493736b7 100644 --- a/interface/web/dns/lib/lang/nl_dns_dkim.lng +++ b/interface/web/dns/lib/lang/nl_dns_dkim.lng @@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists'; $wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain'; $wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.'; $wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/ru_dns_dkim.lng b/interface/web/dns/lib/lang/ru_dns_dkim.lng index 6ca7521495f7d4f7d87f549fa2b18f9fb66fb459..5ed8bfa416a7874b65075ef3e091bf75493736b7 100644 --- a/interface/web/dns/lib/lang/ru_dns_dkim.lng +++ b/interface/web/dns/lib/lang/ru_dns_dkim.lng @@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists'; $wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain'; $wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.'; $wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/se_dns_dkim.lng b/interface/web/dns/lib/lang/se_dns_dkim.lng index 6ca7521495f7d4f7d87f549fa2b18f9fb66fb459..5ed8bfa416a7874b65075ef3e091bf75493736b7 100644 --- a/interface/web/dns/lib/lang/se_dns_dkim.lng +++ b/interface/web/dns/lib/lang/se_dns_dkim.lng @@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists'; $wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain'; $wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.'; $wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/sk_dns_dkim.lng b/interface/web/dns/lib/lang/sk_dns_dkim.lng index 6ca7521495f7d4f7d87f549fa2b18f9fb66fb459..5ed8bfa416a7874b65075ef3e091bf75493736b7 100644 --- a/interface/web/dns/lib/lang/sk_dns_dkim.lng +++ b/interface/web/dns/lib/lang/sk_dns_dkim.lng @@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists'; $wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain'; $wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.'; $wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> diff --git a/interface/web/dns/lib/lang/tr_dns_dkim.lng b/interface/web/dns/lib/lang/tr_dns_dkim.lng index 6ca7521495f7d4f7d87f549fa2b18f9fb66fb459..5ed8bfa416a7874b65075ef3e091bf75493736b7 100644 --- a/interface/web/dns/lib/lang/tr_dns_dkim.lng +++ b/interface/web/dns/lib/lang/tr_dns_dkim.lng @@ -6,4 +6,5 @@ $wb['record_exists_txt'] = 'DNS-Record already exists'; $wb['dkim_disabled_txt'] = 'DKIM disabled for this mail-domain'; $wb['limit_dns_record_txt'] = 'The max. number of DNS records for your account is reached.'; $wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?>