From f99b37f56dad8e3a1f844f8d3b33ee1ba4b86d62 Mon Sep 17 00:00:00 2001 From: latham <latham@ispconfig3> Date: Wed, 25 May 2011 19:11:40 -0400 Subject: [PATCH] the altertable for the groups --- interface/web/dns/form/dns_srv.tform.php | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/interface/web/dns/form/dns_srv.tform.php b/interface/web/dns/form/dns_srv.tform.php index 2c74321..0de4616 100644 --- a/interface/web/dns/form/dns_srv.tform.php +++ b/interface/web/dns/form/dns_srv.tform.php @@ -99,13 +99,15 @@ 'formtype' => 'TEXT', 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', 'errmsg'=> 'data_error_empty'), + 1 => array ( 'type' => 'REGEX', + 'regex' => '/^[\w\.\-]{0,64}\s[\w\.\-]{0,64}\s[\w\.\-]{0,64}$/', + 'errmsg'=> 'srv_error_regex'), ), 'default' => '', 'value' => '', 'width' => '30', 'maxlength' => '255' ), - /* 'aux' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', @@ -114,7 +116,6 @@ 'width' => '10', 'maxlength' => '10' ), - */ 'ttl' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', -- Gitblit v1.9.1