8 require_once(CH_DIRECTORY_PATH_CLASSES .
'ChWsbProfileFields.php');
15 $aCountries = $oProfileFields->convertValues4Input(
'#!Country');
16 $aCountries = array_merge (array(
'' =>
_t(
'_ch_events_all_countries')), $aCountries);
20 'form_attrs' => array(
21 'name' =>
'form_search_events',
28 'submit_name' =>
'submit_form',
39 'caption' =>
_t(
'_ch_events_caption_keyword'),
43 'params' => array(3,100),
44 'error' =>
_t (
'_ch_events_err_keyword'),
51 'type' =>
'select_box',
53 'caption' =>
_t(
'_ch_events_caption_country'),
54 'values' => $aCountries,
58 'params' => array(
'/^[a-zA-Z]{0,2}$/'),
59 'error' =>
_t (
'_ch_events_err_country'),
63 'params' => array(
'/([a-zA-Z]{0,2})/'),
68 'name' =>
'submit_form',
69 'value' =>
_t(
'_Submit'),
75 parent::__construct ($aCustomForm);