vogelor
2010-05-01 6dfc1f8aef2d75f5ca8fe694fb8ef27ef885b12c
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'      => '',