PluginProbe
ShiftController Employee Shift Scheduling / 2.2.0
ShiftController Employee Shift Scheduling v2.2.0
4.9.97 4.9.96 4.9.95 4.9.74 4.9.75 4.9.76 4.9.77 4.9.78 4.9.84 4.9.85 4.9.87 4.9.91 4.9.92 trunk 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.2.4 All 38 releases
shiftcontroller / application / config / settings.php

settings.php in ShiftController Employee Shift Scheduling 2.2.0, at application/config/settings.php

72 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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
61 $config['staff_pick_shifts'] = array(
62 'default' => 1,
63 'label' => lang('staff_can_pick_up_shifts'),
64 'type' => 'checkbox',
65 );
66
67 $config['approve_pick_shifts'] = array(
68 'default' => 1,
69 'label' => lang('approve_shifts_pick_up'),
70 'type' => 'checkbox',
71 );
72