tbrehm
2009-02-27 f28f40f7a62b9a6fe939c05b10366b0d66c9ec1e
interface/web/dns/form/dns_rp.tform.php
@@ -69,7 +69,7 @@
      'zone' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'TEXT',
         'default'   => intval($_REQUEST["zone"]),
         'default'   => @intval($_REQUEST["zone"]),
         'value'      => '',
         'width'      => '30',
         'maxlength'   => '255'
@@ -77,10 +77,8 @@
      'name' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'name_error_empty'),
                              1 => array (   'type'   => 'REGEX',
                                          'regex' => '/^[\w\.\-]{1,64}$/',
         'validators'   => array (    0 => array (   'type'   => 'REGEX',
                                          'regex' => '/^[\w\.\-]{0,64}$/',
                                          'errmsg'=> 'name_error_regex'),
                           ),
         'default'   => '',
@@ -102,7 +100,7 @@
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'data_error_empty'),
                              1 => array (   'type'   => 'REGEX',
                                          'regex' => '/^[0-9\.]{10,15}$/',
                                          'regex' => '/^[\w\.\-\s]{1,128}$/',
                                          'errmsg'=> 'data_error_regex'),
                           ),
         'default'   => '',