Usability Enhancement: Click on list rows to Edit items.

This commit is contained in:
Nate Jones
2014-06-22 01:10:24 +00:00
parent cf1a250b38
commit 1c20d24653
4 changed files with 16 additions and 12 deletions
+4 -3
View File
@@ -114,7 +114,7 @@ require_once "resources/paging.php";
$row_style["1"] = "row_style1";
echo "<div align='center'>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
//echo th_order_by('domain_uuid', 'domain_uuid', $order_by, $order);
@@ -132,13 +132,14 @@ require_once "resources/paging.php";
echo "<a href='call_center_agent_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
}
echo "</td>\n";
echo "<tr>\n";
echo "</tr>\n";
if ($result_count == 0) { //no results
}
else { //received results
foreach($result as $row) {
echo "<tr >\n";
$tr_link = (permission_exists('call_center_agent_edit')) ? "href='call_center_agent_edit.php?id=".$row[call_center_agent_uuid]."'" : null;
echo "<tr ".$tr_link.">\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row[domain_uuid]."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>";
if (permission_exists('call_center_agent_edit')) {