Add links to certain column text in a list view.

Misc bug fixes.
This commit is contained in:
Nate Jones
2014-06-21 03:42:09 +00:00
parent f1b8be9cda
commit fd5f2b8630
28 changed files with 203 additions and 74 deletions
+8 -1
View File
@@ -131,7 +131,14 @@ 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['extension']."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>";
if (permission_exists('extension_edit')) {
echo "<a href='extension_edit.php?id=".$row['extension_uuid']."'>".$row['extension']."</a>";
}
else {
echo $row['extension'];
}
echo " </td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['unique_id']."&nbsp;</td>\n";
if (strlen($row['dial_user']) > 0) {
echo " <td valign='top' class='".$row_style[$c]."'>".$row['dial_user']."@".$row['dial_domain']."&nbsp;</td>\n";