@@ -7,7 +7,7 @@ |
||
| 7 | 7 | $query = $this->db->get('users_ad'); |
| 8 | 8 | if ($query->num_rows() > 0) { |
| 9 | 9 | foreach ($query->result_array() as $row) { |
| 10 | - $row_set[] = htmlentities(stripslashes($row['first_name'] . ' ' . $row['last_name']. ' (' . $row['username']. ')')); //build an array |
|
| 10 | + $row_set[] = htmlentities(stripslashes($row['first_name'].' '.$row['last_name'].' ('.$row['username'].')')); //build an array |
|
| 11 | 11 | } |
| 12 | 12 | } |
| 13 | 13 | ?> |
@@ -23,16 +23,16 @@ discard block |
||
| 23 | 23 | </tr> |
| 24 | 24 | </thead> |
| 25 | 25 | <tbody> |
| 26 | - <?php foreach ($status as $status_item): if ($status_item['category'] == 'network') {}else {
|
|
| 27 | - $sid = $status_item['id'];?> |
|
| 26 | + <?php foreach ($status as $status_item): if ($status_item['category'] == 'network') {} else {
|
|
| 27 | + $sid = $status_item['id']; ?> |
|
| 28 | 28 | <tr> |
| 29 | - <td> <i class="fa <?= $status_item['icon'];?>" aria-hidden="true"></i> <?= $status_item['name'];?></td> |
|
| 29 | + <td> <i class="fa <?= $status_item['icon']; ?>" aria-hidden="true"></i> <?= $status_item['name']; ?></td> |
|
| 30 | 30 | <td class="col-md-1" style="text-transform: capitalize;"> <?= $status_item['category'] ?></td> |
| 31 | 31 | |
| 32 | 32 | <?php |
| 33 | 33 | switch ($status_item['status']) {
|
| 34 | 34 | case 0: |
| 35 | - echo "<td class='col-md-2 danger' style='font-weight:bold; text-align: center; position: relative'>Fault <i class='fa fa-info-circle fa-lg' style='position: absolute; left: 10px; top: 12px;' data-toggle='tooltip' data-placement='bottom' title='". $status_item['comments'] ."'></i></td>"; |
|
| 35 | + echo "<td class='col-md-2 danger' style='font-weight:bold; text-align: center; position: relative'>Fault <i class='fa fa-info-circle fa-lg' style='position: absolute; left: 10px; top: 12px;' data-toggle='tooltip' data-placement='bottom' title='".$status_item['comments']."'></i></td>"; |
|
| 36 | 36 | break; |
| 37 | 37 | case 1: |
| 38 | 38 | echo "<td class='col-md-2 success' style='font-weight:bold; text-align: center;'>OK</td>"; |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | case 2: |
| 41 | 41 | switch ($status_item['auto_status']) {
|
| 42 | 42 | case 0: |
| 43 | - echo "<td class='col-md-2 danger' style='font-weight:bold; text-align: center; position: relative'>Fault (Auto) <i class='fa fa-info-circle fa-lg' style='position: absolute; left: 10px; top: 12px;' data-toggle='tooltip' data-placement='bottom' title='". $status_item['comments'] ."'></i></td>"; |
|
| 43 | + echo "<td class='col-md-2 danger' style='font-weight:bold; text-align: center; position: relative'>Fault (Auto) <i class='fa fa-info-circle fa-lg' style='position: absolute; left: 10px; top: 12px;' data-toggle='tooltip' data-placement='bottom' title='".$status_item['comments']."'></i></td>"; |
|
| 44 | 44 | break; |
| 45 | 45 | case 1: |
| 46 | 46 | echo "<td class='col-md-2 success' style='font-weight:bold; text-align: center;'>OK (Auto)</td>"; |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | } |
| 52 | 52 | break; |
| 53 | 53 | case 3: |
| 54 | - echo "<td class='col-md-2 warning' style='font-weight:bold; text-align: center; position: relative'>Intermediate <i class='fa fa-info-circle fa-lg' style='position: absolute; left: 10px; top: 12px;' data-toggle='tooltip' data-placement='bottom' title='". $status_item['comments'] ."'></i></td>"; |
|
| 54 | + echo "<td class='col-md-2 warning' style='font-weight:bold; text-align: center; position: relative'>Intermediate <i class='fa fa-info-circle fa-lg' style='position: absolute; left: 10px; top: 12px;' data-toggle='tooltip' data-placement='bottom' title='".$status_item['comments']."'></i></td>"; |
|
| 55 | 55 | break; |
| 56 | 56 | default: |
| 57 | 57 | echo "<td class='col-md-2 info' style='font-weight:bold; text-align: center;'>No data</td>"; |
@@ -90,13 +90,13 @@ discard block |
||
| 90 | 90 | <?php foreach ($status as $status_item): if ($status_item['category'] == 'network') {?>
|
| 91 | 91 | <?php $sid = $status_item['id']; ?> |
| 92 | 92 | <tr> |
| 93 | - <td> <i class="fa <?= $status_item['icon'];?>" aria-hidden="true"></i> <?= $status_item['name'];?></td> |
|
| 93 | + <td> <i class="fa <?= $status_item['icon']; ?>" aria-hidden="true"></i> <?= $status_item['name']; ?></td> |
|
| 94 | 94 | <td class="col-md-1" style="text-transform: capitalize;"> <?= $status_item['category'] ?></td> |
| 95 | 95 | |
| 96 | 96 | <?php |
| 97 | 97 | switch ($status_item['status']) {
|
| 98 | 98 | case 0: |
| 99 | - echo "<td class='col-md-2 danger' style='font-weight:bold; text-align: center; position: relative'>Fault <i class='fa fa-info-circle fa-lg' style='position: absolute; left: 10px; top: 12px;' data-toggle='tooltip' data-placement='bottom' title='". $status_item['comments'] ."'></i></td>"; |
|
| 99 | + echo "<td class='col-md-2 danger' style='font-weight:bold; text-align: center; position: relative'>Fault <i class='fa fa-info-circle fa-lg' style='position: absolute; left: 10px; top: 12px;' data-toggle='tooltip' data-placement='bottom' title='".$status_item['comments']."'></i></td>"; |
|
| 100 | 100 | break; |
| 101 | 101 | case 1: |
| 102 | 102 | echo "<td class='col-md-2 success' style='font-weight:bold; text-align: center;'>OK</td>"; |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | case 2: |
| 105 | 105 | switch ($status_item['auto_status']) {
|
| 106 | 106 | case 0: |
| 107 | - echo "<td class='col-md-2 danger' style='font-weight:bold; text-align: center; position: relative'>Fault (Auto) <i class='fa fa-info-circle fa-lg' style='position: absolute; left: 10px; top: 12px;' data-toggle='tooltip' data-placement='bottom' title='". $status_item['comments'] ."'></i></td>"; |
|
| 107 | + echo "<td class='col-md-2 danger' style='font-weight:bold; text-align: center; position: relative'>Fault (Auto) <i class='fa fa-info-circle fa-lg' style='position: absolute; left: 10px; top: 12px;' data-toggle='tooltip' data-placement='bottom' title='".$status_item['comments']."'></i></td>"; |
|
| 108 | 108 | break; |
| 109 | 109 | case 1: |
| 110 | 110 | echo "<td class='col-md-2 success' style='font-weight:bold; text-align: center;'>OK (Auto)</td>"; |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | } |
| 116 | 116 | break; |
| 117 | 117 | case 3: |
| 118 | - echo "<td class='col-md-2 warning' style='font-weight:bold; text-align: center; position: relative'>Intermediate <i class='fa fa-info-circle fa-lg' style='position: absolute; left: 10px; top: 12px;' data-toggle='tooltip' data-placement='bottom' title='". $status_item['comments'] ."'></i></td>"; |
|
| 118 | + echo "<td class='col-md-2 warning' style='font-weight:bold; text-align: center; position: relative'>Intermediate <i class='fa fa-info-circle fa-lg' style='position: absolute; left: 10px; top: 12px;' data-toggle='tooltip' data-placement='bottom' title='".$status_item['comments']."'></i></td>"; |
|
| 119 | 119 | break; |
| 120 | 120 | default: |
| 121 | 121 | echo "<td class='col-md-2 info' style='font-weight:bold; text-align: center;'>No data</td>"; |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | </tr> |
| 24 | 24 | </thead> |
| 25 | 25 | <tbody> |
| 26 | - <?php foreach ($status as $status_item): if ($status_item['category'] == 'network') {}else {
|
|
| 26 | + <?php foreach ($status as $status_item): if ($status_item['category'] == 'network') {} else {
|
|
| 27 | 27 | $sid = $status_item['id'];?> |
| 28 | 28 | <tr> |
| 29 | 29 | <td> <i class="fa <?= $status_item['icon'];?>" aria-hidden="true"></i> <?= $status_item['name'];?></td> |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | <div class="form-group"> |
| 46 | 46 | <label for="category">Category *</label> |
| 47 | 47 | <?php if (isset($get_current[0]['category'])) { $category_value = $get_current[0]['category']; } else { $category_value = NULL; } ?> |
| 48 | - <?php $options = array('web' => 'Web', 'communication' => 'Communication', 'file' => 'File', 'remote' => 'Remote','network' => 'Network', 'wireless' => 'Wireless'); |
|
| 48 | + <?php $options = array('web' => 'Web', 'communication' => 'Communication', 'file' => 'File', 'remote' => 'Remote', 'network' => 'Network', 'wireless' => 'Wireless'); |
|
| 49 | 49 | echo form_dropdown('category', $options, $category_value, 'class="form-control"'); ?> |
| 50 | 50 | </div> |
| 51 | 51 | <div class="form-group"> |
@@ -37,9 +37,9 @@ discard block |
||
| 37 | 37 | </thead> |
| 38 | 38 | <tbody> |
| 39 | 39 | <?php foreach ($status as $status_item): if ($status_item['category'] == 'network') {} else {
|
| 40 | - $sid = $status_item['id'];?> |
|
| 40 | + $sid = $status_item['id']; ?> |
|
| 41 | 41 | <tr> |
| 42 | - <td> <i class="fa <?= $status_item['icon'];?>" aria-hidden="true"></i> <?= $status_item['name'];?></td> |
|
| 42 | + <td> <i class="fa <?= $status_item['icon']; ?>" aria-hidden="true"></i> <?= $status_item['name']; ?></td> |
|
| 43 | 43 | <td class="col-md-1" style="text-transform: capitalize;"> <?= $status_item['category'] ?></td> |
| 44 | 44 | |
| 45 | 45 | <?php |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | <?php foreach ($status as $status_item): if ($status_item['category'] == 'network') {?>
|
| 88 | 88 | <?php $sid = $status_item['id']; ?> |
| 89 | 89 | <tr> |
| 90 | - <td> <i class="fa <?= $status_item['icon'];?>" aria-hidden="true"></i> <?= $status_item['name'];?></td> |
|
| 90 | + <td> <i class="fa <?= $status_item['icon']; ?>" aria-hidden="true"></i> <?= $status_item['name']; ?></td> |
|
| 91 | 91 | <td class="col-md-1" style="text-transform: capitalize;"> <?= $status_item['category'] ?></td> |
| 92 | 92 | |
| 93 | 93 | <?php |
@@ -6,13 +6,13 @@ discard block |
||
| 6 | 6 | $service_id = $status_item["id"]; |
| 7 | 7 | $service_status = 0; |
| 8 | 8 | $this->status_model->log($service_id, $service_status); |
| 9 | - echo 'Down - ID=' . $status_item['id'] . ' NAME=' . $status_item['name'] . ' TIME=' . date('h:i') . ' DATE=' . date('Y-m-d') . '<br>'; |
|
| 9 | + echo 'Down - ID='.$status_item['id'].' NAME='.$status_item['name'].' TIME='.date('h:i').' DATE='.date('Y-m-d').'<br>'; |
|
| 10 | 10 | break; |
| 11 | 11 | case 1: |
| 12 | 12 | $service_id = $status_item["id"]; |
| 13 | 13 | $service_status = 1; |
| 14 | 14 | $this->status_model->log($service_id, $service_status); |
| 15 | - echo 'Up - ID=' . $status_item['id'] . ' NAME=' . $status_item['name'] . ' TIME=' . date('h:i') . ' DATE=' . date('Y-m-d') . '<br>'; |
|
| 15 | + echo 'Up - ID='.$status_item['id'].' NAME='.$status_item['name'].' TIME='.date('h:i').' DATE='.date('Y-m-d').'<br>'; |
|
| 16 | 16 | break; |
| 17 | 17 | case 2: |
| 18 | 18 | $file = $status_item['url']; |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | $service_status = 1; |
| 32 | 32 | $this->status_model->auto_update_ok($service_id, $service_status); |
| 33 | 33 | $this->status_model->log($service_id, $service_status); |
| 34 | - echo 'Up - ID=' . $status_item['id'] . ' NAME=' . $status_item['name'] . ' TIME=' . date('h:i') . ' DATE=' . date('Y-m-d') . '<br>'; |
|
| 34 | + echo 'Up - ID='.$status_item['id'].' NAME='.$status_item['name'].' TIME='.date('h:i').' DATE='.date('Y-m-d').'<br>'; |
|
| 35 | 35 | } else { |
| 36 | 36 | if ($status_item['auto_status'] === '1') { |
| 37 | 37 | //$this->email->from('[email protected]', 'IT Service Status'); |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | $service_status = 0; |
| 47 | 47 | $this->status_model->auto_update_bad($service_id, $service_status); |
| 48 | 48 | $this->status_model->log($service_id, $service_status); |
| 49 | - echo 'Down - ID=' . $status_item['id'] . ' NAME=' . $status_item['name'] . ' TIME=' . date('h:i') . ' DATE=' . date('Y-m-d') . '<br>'; |
|
| 49 | + echo 'Down - ID='.$status_item['id'].' NAME='.$status_item['name'].' TIME='.date('h:i').' DATE='.date('Y-m-d').'<br>'; |
|
| 50 | 50 | } |
| 51 | 51 | break; |
| 52 | 52 | } |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | <input type="button" value="Approve" name="approve" class="btn btn-default" onclick="location.href = '<?= base_url('computing-support/room-move/eh-approve?id='.$room['id']); ?>';"/> |
| 74 | 74 | <input type="button" value="Reject" name="reject" class="btn btn-default" onclick="location.href = '<?= base_url('computing-support/room-move/history?reid='.$room['id']); ?>';"/> |
| 75 | 75 | <?php break; |
| 76 | - default: ?> |
|
| 76 | + default: ?> |
|
| 77 | 77 | No action Required |
| 78 | 78 | <?php break; ?> |
| 79 | 79 | <?php } } elseif (in_array('CN=Dashboard_CS_NS,OU=Dashboard_Group,OU=Intranet_Group,OU=Groups,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups'])) { ?> |
@@ -82,14 +82,14 @@ discard block |
||
| 82 | 82 | <input type="button" value="Overide Estates" name="overide_approve" class="btn btn-default" data-toggle="modal" data-target="#overide"/> |
| 83 | 83 | <input type="button" value="Reject" name="reject" class="btn btn-default" onclick="location.href = '<?= base_url('computing-support/room-move/history?rcid='.$room['id']); ?>';"/> |
| 84 | 84 | <?php break; |
| 85 | - case 1: ?> |
|
| 85 | + case 1: ?> |
|
| 86 | 86 | <input type="button" value="Approve" name="approve" class="btn btn-default" onclick="location.href = '<?= base_url('computing-support/room-move/cs-approve?id='.$room['id']); ?>';"/> |
| 87 | 87 | <input type="button" value="Reject" name="reject" class="btn btn-default" onclick="location.href = '<?= base_url('computing-support/room-move/history?rcid='.$room['id']); ?>';"/> |
| 88 | 88 | <?php break; |
| 89 | - case 5: ?> |
|
| 89 | + case 5: ?> |
|
| 90 | 90 | <input type="button" value="Move Complete" name="complete" class="btn btn-default" onclick="location.href = '<?= base_url('computing-support/room-move/cs-complete?id='.$room['id']); ?>';"/> |
| 91 | 91 | <?php break; |
| 92 | - default: ?> |
|
| 92 | + default: ?> |
|
| 93 | 93 | No action Required |
| 94 | 94 | <?php break; }?> |
| 95 | 95 | <?php } ?> |
@@ -32,15 +32,15 @@ discard block |
||
| 32 | 32 | <td><?= $room['furniture'] ?></td> |
| 33 | 33 | <td> |
| 34 | 34 | <?= $room['staff_involved'] ?> |
| 35 | - <?php if (isset($room['staff_involved2'])) { echo '<br>'. $room['staff_involved2']; } ?> |
|
| 36 | - <?php if (isset($room['staff_involved3'])) { echo '<br>'. $room['staff_involved3']; } ?> |
|
| 37 | - <?php if (isset($room['staff_involved4'])) { echo '<br>'. $room['staff_involved4']; } ?> |
|
| 38 | - <?php if (isset($room['staff_involved5'])) { echo '<br>'. $room['staff_involved5']; } ?> |
|
| 39 | - <?php if (isset($room['staff_involved6'])) { echo '<br>'. $room['staff_involved6']; } ?> |
|
| 40 | - <?php if (isset($room['staff_involved7'])) { echo '<br>'. $room['staff_involved7']; } ?> |
|
| 41 | - <?php if (isset($room['staff_involved8'])) { echo '<br>'. $room['staff_involved8']; } ?> |
|
| 42 | - <?php if (isset($room['staff_involved9'])) { echo '<br>'. $room['staff_involved9']; } ?> |
|
| 43 | - <?php if (isset($room['staff_involved10'])) { echo '<br>'. $room['staff_involved10']; } ?> |
|
| 35 | + <?php if (isset($room['staff_involved2'])) { echo '<br>'.$room['staff_involved2']; } ?> |
|
| 36 | + <?php if (isset($room['staff_involved3'])) { echo '<br>'.$room['staff_involved3']; } ?> |
|
| 37 | + <?php if (isset($room['staff_involved4'])) { echo '<br>'.$room['staff_involved4']; } ?> |
|
| 38 | + <?php if (isset($room['staff_involved5'])) { echo '<br>'.$room['staff_involved5']; } ?> |
|
| 39 | + <?php if (isset($room['staff_involved6'])) { echo '<br>'.$room['staff_involved6']; } ?> |
|
| 40 | + <?php if (isset($room['staff_involved7'])) { echo '<br>'.$room['staff_involved7']; } ?> |
|
| 41 | + <?php if (isset($room['staff_involved8'])) { echo '<br>'.$room['staff_involved8']; } ?> |
|
| 42 | + <?php if (isset($room['staff_involved9'])) { echo '<br>'.$room['staff_involved9']; } ?> |
|
| 43 | + <?php if (isset($room['staff_involved10'])) { echo '<br>'.$room['staff_involved10']; } ?> |
|
| 44 | 44 | </td> |
| 45 | 45 | <td width="20%"><?= $room['reason'] ?></td> |
| 46 | 46 | <?php switch ($room['status']) { |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | <?php break; |
| 65 | 65 | case 6: ?> |
| 66 | 66 | <td class='success'>Move Complete</td> |
| 67 | - <?php break;?> |
|
| 67 | + <?php break; ?> |
|
| 68 | 68 | <?php } ?> |
| 69 | 69 | <td> |
| 70 | 70 | <?php if (in_array('CN=Dashboard_Estates_Room_Move,OU=Dashboard_Group,OU=Intranet_Group,OU=Groups,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups'])) { ?> |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | $query = $this->db->get('users_ad'); |
| 8 | 8 | if ($query->num_rows() > 0) { |
| 9 | 9 | foreach ($query->result_array() as $row) { |
| 10 | - $row_set[] = htmlentities(stripslashes($row['first_name'] . ' ' . $row['last_name'] . ' (' . $row['username'] . ')')); //build an array |
|
| 10 | + $row_set[] = htmlentities(stripslashes($row['first_name'].' '.$row['last_name'].' ('.$row['username'].')')); //build an array |
|
| 11 | 11 | } |
| 12 | 12 | } |
| 13 | 13 | ?> |
@@ -31,15 +31,15 @@ discard block |
||
| 31 | 31 | <td><?= $room['furniture'] ?></td> |
| 32 | 32 | <td> |
| 33 | 33 | <?= $room['staff_involved'] ?> |
| 34 | - <?php if (isset($room['staff_involved2'])) { echo '<br>'. $room['staff_involved2']; } ?> |
|
| 35 | - <?php if (isset($room['staff_involved3'])) { echo '<br>'. $room['staff_involved3']; } ?> |
|
| 36 | - <?php if (isset($room['staff_involved4'])) { echo '<br>'. $room['staff_involved4']; } ?> |
|
| 37 | - <?php if (isset($room['staff_involved5'])) { echo '<br>'. $room['staff_involved5']; } ?> |
|
| 38 | - <?php if (isset($room['staff_involved6'])) { echo '<br>'. $room['staff_involved6']; } ?> |
|
| 39 | - <?php if (isset($room['staff_involved7'])) { echo '<br>'. $room['staff_involved7']; } ?> |
|
| 40 | - <?php if (isset($room['staff_involved8'])) { echo '<br>'. $room['staff_involved8']; } ?> |
|
| 41 | - <?php if (isset($room['staff_involved9'])) { echo '<br>'. $room['staff_involved9']; } ?> |
|
| 42 | - <?php if (isset($room['staff_involved10'])) { echo '<br>'. $room['staff_involved10']; } ?> |
|
| 34 | + <?php if (isset($room['staff_involved2'])) { echo '<br>'.$room['staff_involved2']; } ?> |
|
| 35 | + <?php if (isset($room['staff_involved3'])) { echo '<br>'.$room['staff_involved3']; } ?> |
|
| 36 | + <?php if (isset($room['staff_involved4'])) { echo '<br>'.$room['staff_involved4']; } ?> |
|
| 37 | + <?php if (isset($room['staff_involved5'])) { echo '<br>'.$room['staff_involved5']; } ?> |
|
| 38 | + <?php if (isset($room['staff_involved6'])) { echo '<br>'.$room['staff_involved6']; } ?> |
|
| 39 | + <?php if (isset($room['staff_involved7'])) { echo '<br>'.$room['staff_involved7']; } ?> |
|
| 40 | + <?php if (isset($room['staff_involved8'])) { echo '<br>'.$room['staff_involved8']; } ?> |
|
| 41 | + <?php if (isset($room['staff_involved9'])) { echo '<br>'.$room['staff_involved9']; } ?> |
|
| 42 | + <?php if (isset($room['staff_involved10'])) { echo '<br>'.$room['staff_involved10']; } ?> |
|
| 43 | 43 | </td> |
| 44 | 44 | <?php switch ($room['status']) { |
| 45 | 45 | case 0: ?> |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | <?php break; |
| 63 | 63 | case 6: ?> |
| 64 | 64 | <td class='success'>Move Complete</td> |
| 65 | - <?php break;?> |
|
| 65 | + <?php break; ?> |
|
| 66 | 66 | <?php } ?> |
| 67 | 67 | <td> |
| 68 | 68 | <?php switch ($room['status']) { |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | <td></td><td></td><td></td> |
| 24 | 24 | </tr> |
| 25 | 25 | <tr> |
| 26 | - <td><i class="fa fa-paperclip" aria-hidden="true"></i> <a href="<?= base_url('computing-support/status');?>">Service Status</a></td> |
|
| 26 | + <td><i class="fa fa-paperclip" aria-hidden="true"></i> <a href="<?= base_url('computing-support/status'); ?>">Service Status</a></td> |
|
| 27 | 27 | <td></td><td></td><td></td> |
| 28 | 28 | </tr> |
| 29 | 29 | <tr> |
@@ -74,11 +74,11 @@ discard block |
||
| 74 | 74 | in_array('CN=DG06,OU=Distribution Groups,OU=Email Groups,OU=Accounts,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups']) || |
| 75 | 75 | in_array('CN=Intranet_Edit_HR,OU=Intranet_Group,OU=Groups,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups'])) { ?> |
| 76 | 76 | <tr> |
| 77 | - <td><i class="fa fa-paperclip" aria-hidden="true"></i> <a href="<?= base_url('computing-support/new-account');?>">New Staff Account</a> |
|
| 78 | - - <a href="<?= base_url('/computing-support/new-account/pending');?>">Pending</a> |
|
| 79 | - - <a href="<?= base_url('/computing-support/new-account/history');?>">History</a> |
|
| 77 | + <td><i class="fa fa-paperclip" aria-hidden="true"></i> <a href="<?= base_url('computing-support/new-account'); ?>">New Staff Account</a> |
|
| 78 | + - <a href="<?= base_url('/computing-support/new-account/pending'); ?>">Pending</a> |
|
| 79 | + - <a href="<?= base_url('/computing-support/new-account/history'); ?>">History</a> |
|
| 80 | 80 | <?php if (in_array('CN=DG06,OU=Distribution Groups,OU=Email Groups,OU=Accounts,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups'])) { ?> |
| 81 | - - <a href="<?= base_url('/computing-support/new-account/export');?>">Export New Staff</a> |
|
| 81 | + - <a href="<?= base_url('/computing-support/new-account/export'); ?>">Export New Staff</a> |
|
| 82 | 82 | <?php } ?> |
| 83 | 83 | </td> |
| 84 | 84 | <td></td><td></td><td></td> |
@@ -88,39 +88,39 @@ discard block |
||
| 88 | 88 | in_array('CN=DG06,OU=Distribution Groups,OU=Email Groups,OU=Accounts,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups']) || |
| 89 | 89 | in_array('CN=Intranet_Edit_HR,OU=Intranet_Group,OU=Groups,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups'])) { ?> |
| 90 | 90 | <tr> |
| 91 | - <td><i class="fa fa-paperclip" aria-hidden="true"></i> <a href="<?= base_url('computing-support/new-account/disable-account');?>">Disable Staff Account</a> |
|
| 92 | - - <a href="<?= base_url('/computing-support/new-account/disable-account/pending');?>">Pending</a> |
|
| 93 | - - <a href="<?= base_url('/computing-support/new-account/disable-account/history');?>">History</a> |
|
| 91 | + <td><i class="fa fa-paperclip" aria-hidden="true"></i> <a href="<?= base_url('computing-support/new-account/disable-account'); ?>">Disable Staff Account</a> |
|
| 92 | + - <a href="<?= base_url('/computing-support/new-account/disable-account/pending'); ?>">Pending</a> |
|
| 93 | + - <a href="<?= base_url('/computing-support/new-account/disable-account/history'); ?>">History</a> |
|
| 94 | 94 | </td> |
| 95 | 95 | <td></td><td></td><td></td> |
| 96 | 96 | </tr> |
| 97 | 97 | <?php } ?> |
| 98 | 98 | <tr> |
| 99 | - <td><i class="fa fa-paperclip" aria-hidden="true"></i> <a href="<?= base_url('computing-support/address-book');?>">Address Book Update</a> |
|
| 99 | + <td><i class="fa fa-paperclip" aria-hidden="true"></i> <a href="<?= base_url('computing-support/address-book'); ?>">Address Book Update</a> |
|
| 100 | 100 | <?php if (in_array('CN=DG06,OU=Distribution Groups,OU=Email Groups,OU=Accounts,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups'])) { ?> |
| 101 | - - <a href="<?= base_url('computing-support/address-book/history');?>">History</a> |
|
| 101 | + - <a href="<?= base_url('computing-support/address-book/history'); ?>">History</a> |
|
| 102 | 102 | <?php } ?> |
| 103 | 103 | </td> |
| 104 | 104 | <td></td><td></td><td></td> |
| 105 | 105 | </tr> |
| 106 | 106 | <tr> |
| 107 | - <td><i class="fa fa-paperclip" aria-hidden="true"></i> <a href="<?= base_url('computing-support/mobile-policy');?>">Mobile Phone Policy</a> |
|
| 107 | + <td><i class="fa fa-paperclip" aria-hidden="true"></i> <a href="<?= base_url('computing-support/mobile-policy'); ?>">Mobile Phone Policy</a> |
|
| 108 | 108 | <?php if (in_array('CN=Dashboard_Admin,OU=Dashboard_Group,OU=Intranet_Group,OU=Groups,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups']) || |
| 109 | 109 | in_array('CN=Dashboard_CS_NS,OU=Dashboard_Group,OU=Intranet_Group,OU=Groups,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups'])) { ?> |
| 110 | - - <a href="<?= base_url('computing-support/mobile-policy/accepted');?>">Accepted</a> |
|
| 110 | + - <a href="<?= base_url('computing-support/mobile-policy/accepted'); ?>">Accepted</a> |
|
| 111 | 111 | <?php } ?> |
| 112 | 112 | </td> |
| 113 | 113 | <td></td><td></td><td></td> |
| 114 | 114 | </tr> |
| 115 | 115 | <tr> |
| 116 | 116 | <td><i class="fa fa-paperclip" aria-hidden="true"></i> <a href="<?= base_url('computing-support/room-move')?>">Room Move Request</a> |
| 117 | - - <a href="<?= base_url('computing-support/room-move/check');?>">Check</a> |
|
| 117 | + - <a href="<?= base_url('computing-support/room-move/check'); ?>">Check</a> |
|
| 118 | 118 | <?php if (in_array('CN=Dashboard_CS_NS,OU=Dashboard_Group,OU=Intranet_Group,OU=Groups,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups']) || |
| 119 | 119 | in_array('CN=Dashboard_Estates_Room_Move,OU=Dashboard_Group,OU=Intranet_Group,OU=Groups,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups'])) { ?> |
| 120 | - - <a href="<?= base_url('computing-support/room-move/pending');?>">Pending</a> |
|
| 120 | + - <a href="<?= base_url('computing-support/room-move/pending'); ?>">Pending</a> |
|
| 121 | 121 | <?php } if (in_array('CN=DG06,OU=Distribution Groups,OU=Email Groups,OU=Accounts,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups']) || |
| 122 | 122 | in_array('CN=Dashboard_Estates_Room_Move,OU=Dashboard_Group,OU=Intranet_Group,OU=Groups,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups'])) { ?> |
| 123 | - - <a href="<?= base_url('computing-support/room-move/history');?>">History</a> |
|
| 123 | + - <a href="<?= base_url('computing-support/room-move/history'); ?>">History</a> |
|
| 124 | 124 | <?php } ?> |
| 125 | 125 | </td> |
| 126 | 126 | <td></td><td></td><td></td> |
@@ -147,8 +147,8 @@ discard block |
||
| 147 | 147 | </thead> |
| 148 | 148 | <tbody> |
| 149 | 149 | <tr> |
| 150 | - <td><i class="fa fa-paperclip" aria-hidden="true"></i> <a href="<?= base_url('computing-support/equipment-loan');?>">Equipment Loan</a> |
|
| 151 | - - <a href="<?= base_url('computing-support/equipment-loan/history');?>">History</a></td> |
|
| 150 | + <td><i class="fa fa-paperclip" aria-hidden="true"></i> <a href="<?= base_url('computing-support/equipment-loan'); ?>">Equipment Loan</a> |
|
| 151 | + - <a href="<?= base_url('computing-support/equipment-loan/history'); ?>">History</a></td> |
|
| 152 | 152 | <td></td><td></td><td></td> |
| 153 | 153 | </tr> |
| 154 | 154 | <tr> |