.
This commit is contained in:
@@ -72,7 +72,7 @@ include "../../../api/php/log/add_server_entry.php"; //to log things
|
||||
echo('<table class="table">');
|
||||
echo('<thead>');
|
||||
echo('<tr>');
|
||||
echo('<th>Incident Id</th><th>Status</th><th>Goto Incident</th>');
|
||||
echo('<th>Incident Id</th><th>Status</th><th>Description</th><th>Goto Incident</th>');
|
||||
echo('</tr>');
|
||||
echo('</thead>');
|
||||
echo('<tbody>');
|
||||
@@ -86,10 +86,12 @@ include "../../../api/php/log/add_server_entry.php"; //to log things
|
||||
$row = $result->fetch_assoc();
|
||||
$last_id=$row["id"];
|
||||
$status=$row["status"];
|
||||
$description=$row["description"];
|
||||
if($last_id!=1){ //number 1 is the unauthenticated user
|
||||
echo('<tr>');
|
||||
echo('<td>'.$last_id.'</td>');
|
||||
echo('<td>'.$status.'</td>');
|
||||
echo('<td>'.$description.'</td>');
|
||||
echo('<td><a href="manage_incident.php?incident_id='.$last_id.'">Goto Incident</a></td>');
|
||||
echo('</tr>');
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ if(isset($_GET["page"])){
|
||||
<ul>
|
||||
<?php
|
||||
if($perms[9]=="1" or $perms[10]=="1")
|
||||
echo('<li><a href="index.php?page=manage_incident.php">View Incidents</a></li>');
|
||||
echo('<li><a href="index.php?page=incident_list.php">View Incidents</a></li>');
|
||||
if($perms[10]=="1")
|
||||
echo('<li><a href="index.php?page=add_incident.php">Add Incident</a></li>');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user