tbrehm
2012-10-16 a008884b8f041577d43675f13c492f45fb9ee066
interface/web/sites/form/web_subdomain.tform.php
@@ -29,6 +29,11 @@
   Hint:
   The ID field of the database table is not part of the datafield definition.
   The ID field must be always auto incement (int or bigint).
   Search:
   - searchable = 1 or searchable = 2 include the field in the search
   - searchable = 1: this field will be the title of the search result
   - searchable = 2: this field will be included in the description of the search result
*/
@@ -87,7 +92,8 @@
         'default'   => '',
         'value'      => '',
         'width'      => '30',
         'maxlength'   => '255'
         'maxlength'   => '255',
         'searchable' => 1
      ),
      'type' => array (
         'datatype'   => 'VARCHAR',
@@ -104,7 +110,8 @@
                              'keyfield'=> 'domain_id',
                              'valuefield'=> 'domain'
                            ),
         'value'      => ''
         'value'      => '',
         'searchable' => 2
      ),
      'redirect_type' => array (
         'datatype'   => 'VARCHAR',
@@ -116,7 +123,7 @@
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'REGEX',
                                          'regex' => '@^(([\.]{0})|(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.\-\,\+\?\~]*(\?\S+)?)?)?)|(\[scheme\]://([-\w\.]+)+(:\d+)?(/([\w/_\.\-\,\+\?\~]*(\?\S+)?)?)?)|(/[\w/_\.\-]{1,255}/))$@',
                                          'regex' => '@^(([\.]{0})|((ftp|https?)://([-\w\.]+)+(:\d+)?(/([\w/_\.\-\,\+\?\~!]*(\?\S+)?)?)?)|(\[scheme\]://([-\w\.]+)+(:\d+)?(/([\w/_\.\-\,\+\?\~!]*(\?\S+)?)?)?)|(/[\w/_\.\-]{1,255}/))$@',
                                          'errmsg'=> 'redirect_error_regex'),
                           ),
         'default'   => '',