Add links to certain column text in a list view.
Add ability to edit Call Block number.
This commit is contained in:
@@ -148,11 +148,11 @@ require_once "resources/paging.php";
|
||||
if ($result_count > 0) {
|
||||
foreach($result as $row) {
|
||||
echo "<tr >\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['destination_type']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['destination_number']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['destination_context']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['destination_enabled']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['destination_description']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".ucwords($row['destination_type'])."</td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'><a href='destination_edit.php?id=".$row['destination_uuid']."'>".$row['destination_number']."</a></td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['destination_context']."</td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".ucwords($row['destination_enabled'])."</td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['destination_description']."</td>\n";
|
||||
echo " <td class='list_control_icons'>";
|
||||
echo "<a href='destination_edit.php?id=".$row['destination_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
||||
echo "<a href='destination_delete.php?id=".$row['destination_uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>";
|
||||
|
||||
Reference in New Issue
Block a user