| 1 |
<?php |
| 2 |
$config['date_format'] = array( |
| 3 |
'default' => 'j M Y', |
| 4 |
'label' => lang('conf_date_format'), |
| 5 |
'type' => 'dropdown', |
| 6 |
'options' => array( |
| 7 |
'd/m/Y' => date('d/m/Y'), |
| 8 |
'd-m-Y' => date('d-m-Y'), |
| 9 |
'n/j/Y' => date('n/j/Y'), |
| 10 |
'Y/m/d' => date('Y/m/d'), |
| 11 |
'd.m.Y' => date('d.m.Y'), |
| 12 |
'j M Y' => date('j M Y') |
| 13 |
), |
| 14 |
); |
| 15 |
|
| 16 |
$config['time_format'] = array( |
| 17 |
'default' => 'g:ia', |
| 18 |
'label' => lang('conf_time_format'), |
| 19 |
'type' => 'dropdown', |
| 20 |
'options' => array( |
| 21 |
'g:ia' => date('g:ia'), |
| 22 |
'g:i A' => date('g:i A'), |
| 23 |
'H:i' => date('H:i'), |
| 24 |
), |
| 25 |
); |
| 26 |
|
| 27 |
$config['week_starts'] = array( |
| 28 |
'default' => 0, |
| 29 |
'label' => lang('conf_week_starts'), |
| 30 |
'type' => 'dropdown', |
| 31 |
'options' => array( |
| 32 |
1 => lang('time_monday'), |
| 33 |
0 => lang('time_sunday'), |
| 34 |
), |
| 35 |
); |
| 36 |
|
| 37 |
$config['email_from'] = array( |
| 38 |
'default' => '', |
| 39 |
'label' => lang('conf_email_from'), |
| 40 |
'type' => 'text', |
| 41 |
'rules' => 'trim|required|valid_email' |
| 42 |
); |
| 43 |
|
| 44 |
$config['email_from_name'] = array( |
| 45 |
'default' => '', |
| 46 |
'label' => lang('conf_email_from_name'), |
| 47 |
'type' => 'text', |
| 48 |
'rules' => 'trim|required' |
| 49 |
); |
| 50 |
|
| 51 |
$config['csv_separator'] = array( |
| 52 |
'default' => ',', |
| 53 |
'label' => lang('conf_csv_separator'), |
| 54 |
'type' => 'dropdown', |
| 55 |
'options' => array( |
| 56 |
',' => ',', |
| 57 |
';' => ';', |
| 58 |
), |
| 59 |
); |
| 60 |
|