Add links to certain column text in a list view.
Add ability to edit Call Block number.
This commit is contained in:
@@ -166,7 +166,14 @@ else {
|
||||
|
||||
echo "<tr >\n";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['device_uuid']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['device_mac_address']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>";
|
||||
if (permission_exists('device_edit')) {
|
||||
echo "<a href='device_edit.php?id=".$row['device_uuid']."'>".$row['device_mac_address']."</a>";
|
||||
}
|
||||
else {
|
||||
echo $row['device_mac_address'];
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['device_label']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['device_vendor']." </td>\n";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['device_model']." </td>\n";
|
||||
|
||||
Reference in New Issue
Block a user