| | |
| | | 'login' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'filters' => array( 0 => array( 'event' => 'SAVE', |
| | | 'type' => 'IDNTOASCII'), |
| | | 1 => array( 'event' => 'SHOW', |
| | | 'type' => 'IDNTOUTF8'), |
| | | 2 => array( 'event' => 'SAVE', |
| | | 'type' => 'TOLOWER') |
| | | ), |
| | | 'validators' => array ( |
| | | 0 => array ( 'type' => 'UNIQUE', |
| | | 'errmsg'=> 'login_error_unique'), |
| | |
| | | 'searchable' => 2 |
| | | ), |
| | | 'quota' => array ( |
| | | 'datatype' => 'INTEGER', |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'ISINT', |
| | | 'validators' => array ( 1 => array ( 'type' => 'ISINT', |
| | | 'errmsg'=> 'quota_error_isint'), |
| | | 1 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^([0-9]*)$/', |
| | | 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^([0-9]{1,})$/', |
| | | 'errmsg'=> 'quota_error_value'), |
| | | ), |
| | | 'default' => '-1', |
| | |
| | | 'autoresponder_start_date' => array ( |
| | | 'datatype' => 'DATETIME', |
| | | 'formtype' => 'DATETIME', |
| | | 'validators'=> array ( 0 => array ( 'type' => 'CUSTOM', |
| | | 'class' => 'validate_autoresponder', |
| | | 'function' => 'start_date', |
| | | 'errmsg'=> 'autoresponder_start_date_is_required'), |
| | | ) |
| | | ), |
| | | 'autoresponder_end_date' => array ( |
| | | 'datatype' => 'DATETIME', |