PluginProbe
ShiftController Employee Shift Scheduling / 2.2.5
ShiftController Employee Shift Scheduling v2.2.5
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.5, at application/config/settings.php

102 lines 2.3 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['disable_email'] = array(
52 'default' => 0,
53 'label' => lang('disable_email'),
54 'type' => 'checkbox',
55 );
56
57 $config['csv_separator'] = array(
58 'default' => ',',
59 'label' => lang('conf_csv_separator'),
60 'type' => 'dropdown',
61 'options' => array(
62 ',' => ',',
63 ';' => ';',
64 ),
65 );
66
67 $config['working_levels'] = array(
68 'default' => array(USER_MODEL::LEVEL_STAFF, USER_MODEL::LEVEL_MANAGER, USER_MODEL::LEVEL_ADMIN),
69 'label' => lang('staff_who_can_work'),
70 'type' => 'checkbox_set',
71 'options' => array(
72 USER_MODEL::LEVEL_STAFF => lang('user_level_staff'),
73 USER_MODEL::LEVEL_MANAGER => lang('user_level_manager'),
74 USER_MODEL::LEVEL_ADMIN => lang('user_level_admin'),
75 ),
76 'rules' => 'required'
77 );
78
79 $config['color_code_staff'] = array(
80 'default' => 0,
81 'label' => lang('color_code_staff'),
82 'type' => 'checkbox',
83 );
84
85 $config['staff_pick_shifts'] = array(
86 'default' => 1,
87 'label' => lang('staff_can_pick_up_shifts'),
88 'type' => 'checkbox',
89 );
90
91 $config['approve_pick_shifts'] = array(
92 'default' => 1,
93 'label' => lang('approve_shifts_pick_up'),
94 'type' => 'checkbox',
95 );
96
97 $config['show_end_time_for_staff'] = array(
98 'default' => 1,
99 'label' => lang('show_end_time_for_staff'),
100 'type' => 'checkbox',
101 );
102