Add links to certain column text in a list view.
Add ability to edit Call Block number.
This commit is contained in:
+3
-3
@@ -118,9 +118,9 @@ 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['menu_name']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['menu_language']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['menu_description']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'><a href='menu_edit.php?id=".$row['menu_uuid']."'>".$row['menu_name']."</a></td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['menu_language']."</td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['menu_description']."</td>\n";
|
||||
echo " <td class='list_control_icons'>";
|
||||
echo "<a href='menu_edit.php?id=".$row['menu_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
||||
echo "<a href='menu_delete.php?id=".$row['menu_uuid']."&menu_uuid=".$row['menu_uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>";
|
||||
|
||||
@@ -150,7 +150,14 @@ echo " <td align=\"center\">\n";
|
||||
//hide
|
||||
} else {
|
||||
echo "<tr >\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['username']." </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'];
|
||||
|
||||
Reference in New Issue
Block a user