From d6cd11df635941a4e7d35e6e45b4e59cb8bd4469 Mon Sep 17 00:00:00 2001 From: Florian Schaal <florian@schaal-24.de> Date: Fri, 04 Sep 2015 07:57:19 -0400 Subject: [PATCH] default for mount backup_dir set to no --- interface/web/dns/form/dns_ptr.tform.php | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/interface/web/dns/form/dns_ptr.tform.php b/interface/web/dns/form/dns_ptr.tform.php index b749992..4cc0462 100644 --- a/interface/web/dns/form/dns_ptr.tform.php +++ b/interface/web/dns/form/dns_ptr.tform.php @@ -136,7 +136,11 @@ 'ttl' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', - 'default' => '86400', + 'validators' => array ( 0 => array ( 'type' => 'RANGE', + 'range' => '60:', + 'errmsg'=> 'ttl_range_error'), + ), + 'default' => '3600', 'value' => '', 'width' => '10', 'maxlength' => '10' -- Gitblit v1.9.1