Add links to certain column text in a list view.

Add ability to edit Call Block number.
This commit is contained in:
Nate Jones
2014-06-21 00:58:16 +00:00
parent 93786dd1b9
commit e979147858
14 changed files with 165 additions and 146 deletions

View File

@@ -150,7 +150,14 @@ echo " <td align=\"center\">\n";
//hide
} else {
echo "<tr >\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['username']."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>";
if (permission_exists('user_edit')) {
echo "<a href='usersupdate.php?id=".$row['user_uuid']."'>".$row['username']."</a>";
}
else {
echo $row['username'];
}
echo " </td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>";
if ($row['user_enabled'] == 'true') {
echo $text['option-true'];