PluginProbe
ShiftController Employee Shift Scheduling / 2.1.0
ShiftController Employee Shift Scheduling v2.1.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 / menu.php

menu.php in ShiftController Employee Shift Scheduling 2.1.0, at application/config/menu.php

78 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php defined('BASEPATH') OR exit('No direct script access allowed');
2 $CI =& ci_get_instance();
3
4 $config[User_model::LEVEL_ADMIN] = array(
5 array(
6 lang('schedules'),
7 'admin/schedules',
8 10
9 ),
10 array(
11 lang('users'),
12 'admin/users',
13 20
14 ),
15 array(
16 lang('timeoffs'),
17 'admin/timeoffs',
18 30
19 ),
20 );
21
22 $config[User_model::LEVEL_ADMIN]['conf'] = array(
23 lang('menu_conf'),
24 '',
25 100,
26 'locations' => array(
27 lang('locations'),
28 'admin/locations',
29 10
30 ),
31 'templates' => array(
32 lang('shift_templates'),
33 'admin/shift-templates',
34 20
35 ),
36 'settings' => array(
37 lang('menu_conf_settings'),
38 'conf/admin',
39 100
40 ),
41 );
42
43 $config[User_model::LEVEL_MANAGER] = array(
44 array(
45 lang('schedules'),
46 'admin/schedules',
47 10
48 ),
49 array(
50 lang('timeoffs'),
51 'admin/timeoffs',
52 30
53 ),
54 );
55
56 $config[User_model::LEVEL_STAFF][] = array(
57 lang('my_schedule'),
58 'staff/shifts',
59 10
60 );
61 $config[User_model::LEVEL_STAFF][] = array(
62 lang('my_timeoffs'),
63 'staff/timeoffs',
64 20
65 );
66
67 $promo_url = $CI->config->item( 'nts_promo_url' );
68 if( $promo_url )
69 {
70 $promo_title = $CI->config->item( 'nts_promo_title' );
71 $config[User_model::LEVEL_ADMIN]['promo'] = array(
72 $promo_title,
73 $promo_url,
74 200
75 );
76 }
77 /* End of file menu.php */
78 /* Location: ./application/config/menu.php */