@@ -35,10 +35,10 @@ |
||
35 | 35 | <?php } ?> |
36 | 36 | <?php $controls = PageTypeComposerFormLayoutSetControl::getList($cfl); |
37 | 37 | |
38 | - foreach($controls as $con) { |
|
39 | - if (is_object($page)) { // we are loading content in |
|
40 | - $con->setPageObject($page); |
|
41 | - } |
|
38 | + foreach($controls as $con) { |
|
39 | + if (is_object($page)) { // we are loading content in |
|
40 | + $con->setPageObject($page); |
|
41 | + } |
|
42 | 42 | $con->setTargetParentPageID($targetParentPageID); |
43 | 43 | ?> |
44 | 44 | <?php $con->render(); ?> |
@@ -208,8 +208,8 @@ |
||
208 | 208 | $wrapper_inline = explode("|", $CI->config->item('wrapper_inline')); |
209 | 209 | if ( ! $CI->config->item('use_wrapper')) |
210 | 210 | { |
211 | - $wrapper = array('', ''); |
|
212 | - $wrapper_inline = array('', ''); |
|
211 | + $wrapper = array('', ''); |
|
212 | + $wrapper_inline = array('', ''); |
|
213 | 213 | } |
214 | 214 | |
215 | 215 | // Begin writing breadcrumb string |
@@ -3,7 +3,7 @@ |
||
3 | 3 | class Home extends My_Force_Login { |
4 | 4 | |
5 | 5 | public function __construct() { |
6 | - parent::__construct(); |
|
6 | + parent::__construct(); |
|
7 | 7 | |
8 | 8 | } |
9 | 9 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | // Each function is run using cron. |
6 | 6 | |
7 | 7 | public function __construct() { |
8 | - parent::__construct(); |
|
8 | + parent::__construct(); |
|
9 | 9 | $this->load->model('core/Jobs_model', 'jobs_model'); |
10 | 10 | } |
11 | 11 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | class Index extends My_Force_Login { |
4 | 4 | |
5 | 5 | public function __construct() { |
6 | - parent::__construct(); |
|
6 | + parent::__construct(); |
|
7 | 7 | |
8 | 8 | } |
9 | 9 |
@@ -4,7 +4,7 @@ discard block |
||
4 | 4 | |
5 | 5 | public function __construct() { |
6 | 6 | |
7 | - parent::__construct(); |
|
7 | + parent::__construct(); |
|
8 | 8 | $this->load->library('encrypt'); |
9 | 9 | $this->load->library('grocery_CRUD'); |
10 | 10 | $this->load->model('user_model'); |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | $crud->set_subject('User', 'Users'); |
26 | 26 | $crud->columns('uID','uName', 'uEmail', 'uDateAdded','uLastLogin','uNumLogins'); |
27 | 27 | $crud->display_as('uID','Intranet UID')->display_as('uName', 'Username')->display_as('uEmail', 'Email Address') |
28 | - ->display_as('uDateAdded', 'First Login')->display_as('uLastLogin', 'Last Login')->display_as('uNumLogins', 'Logins'); |
|
28 | + ->display_as('uDateAdded', 'First Login')->display_as('uLastLogin', 'Last Login')->display_as('uNumLogins', 'Logins'); |
|
29 | 29 | $crud->unset_delete(); |
30 | 30 | $crud->unset_read(); |
31 | 31 | $crud->unset_add(); |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | $crud->set_table('users'); |
48 | 48 | $crud->set_subject('users', 'Dashboard Users'); |
49 | 49 | $crud->display_as('uid','Intranet UID')->display_as('ip_last', 'Last IP')->display_as('ip_internal', 'Last internal IP')->display_as('ip_external', 'Last external IP') |
50 | - ->display_as('os', 'OS')->display_as('last_external', 'Last active external'); |
|
50 | + ->display_as('os', 'OS')->display_as('last_external', 'Last active external'); |
|
51 | 51 | $crud->unset_read(); |
52 | 52 | $crud->unset_edit(); |
53 | 53 | $crud->unset_delete(); |
@@ -3,7 +3,7 @@ |
||
3 | 3 | class Index extends My_Force_Admin { |
4 | 4 | |
5 | 5 | public function __construct() { |
6 | - parent::__construct(); |
|
6 | + parent::__construct(); |
|
7 | 7 | |
8 | 8 | } |
9 | 9 |
@@ -74,7 +74,7 @@ |
||
74 | 74 | $crud->set_subject('Equipment Loan', 'Equipment Loan'); |
75 | 75 | $crud->unset_columns('id'); |
76 | 76 | $crud->display_as('ern','ER no.') |
77 | - ->display_as('sn','Serial Number'); |
|
77 | + ->display_as('sn','Serial Number'); |
|
78 | 78 | $crud->unset_edit_fields('logged', 'date'); |
79 | 79 | $crud->unset_add(); |
80 | 80 | $crud->unset_read(); |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | $this->email->to($_SESSION['ldap']['email']); |
34 | 34 | $this->email->subject('Mobile Phone Policy'); |
35 | 35 | $this->email->message( |
36 | - 'Name: ' . $_SESSION['ldap']['fll_name']. ' |
|
36 | + 'Name: ' . $_SESSION['ldap']['fll_name']. ' |
|
37 | 37 | |
38 | 38 | Has accepted the Canterbury College mobile phone policy. |
39 | 39 | |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | $this->email->to('[email protected]'); |
67 | 67 | $this->email->subject('Mobile Phone Policy Accepted'); |
68 | 68 | $this->email->message( |
69 | - 'Name: ' . $_SESSION['ldap']['full_name'] . ' |
|
69 | + 'Name: ' . $_SESSION['ldap']['full_name'] . ' |
|
70 | 70 | |
71 | 71 | Has accepted the Canterbury College mobile phone policy. |
72 | 72 |