latham
2011-05-25 f99b37f56dad8e3a1f844f8d3b33ee1ba4b86d62
interface/web/admin/form/server_ip.tform.php
@@ -98,13 +98,10 @@
      'ip_address' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'ip_error_empty'),
         'validators'   => array (    0 => array (   'type'   => 'ISIPV4',
                                          'errmsg'=> 'ip_error_wrong'),
                              1 => array (   'type'   => 'UNIQUE',
                                          'errmsg'=> 'ip_error_unique'),
                              2 => array (   'type'   => 'REGEX',
                                          'regex' => '/^[0-9\.]{7,15}$/',
                                          'errmsg'=> 'ip_err'),
                           ),
         'default'   => '',
         'value'      => '',