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
+1 -1
View File
@@ -287,7 +287,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-unique_id'].":\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
+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";