|
@@ -97,7 +97,7 @@ require_once "resources/paging.php";
|
|
echo th_order_by('user_company_name', 'Organization', $order_by, $order);
|
|
echo th_order_by('user_company_name', 'Organization', $order_by, $order);
|
|
echo th_order_by('user_phone_1', 'Phone', $order_by, $order);
|
|
echo th_order_by('user_phone_1', 'Phone', $order_by, $order);
|
|
echo "<td align='right' width='42'>\n";
|
|
echo "<td align='right' width='42'>\n";
|
|
- if (permission_exists('contacts_add')) {
|
|
|
|
|
|
+ if (permission_exists('contact_add')) {
|
|
echo " <a href='user_edit.php' alt='add'>$v_link_label_add</a>\n";
|
|
echo " <a href='user_edit.php' alt='add'>$v_link_label_add</a>\n";
|
|
}
|
|
}
|
|
echo "</td>\n";
|
|
echo "</td>\n";
|
|
@@ -119,7 +119,7 @@ require_once "resources/paging.php";
|
|
echo " <td valign='top' class='".$row_style[$c]."'>".$row['user_company_name']." </td>\n";
|
|
echo " <td valign='top' class='".$row_style[$c]."'>".$row['user_company_name']." </td>\n";
|
|
echo " <td valign='top' class='".$row_style[$c]."'>".$row['user_phone_1']." </td>\n";
|
|
echo " <td valign='top' class='".$row_style[$c]."'>".$row['user_phone_1']." </td>\n";
|
|
echo " <td valign='top' align='right'>\n";
|
|
echo " <td valign='top' align='right'>\n";
|
|
- if (permission_exists('contacts_edit')) {
|
|
|
|
|
|
+ if (permission_exists('contact_edit')) {
|
|
echo " <a href='user_edit.php?id=".$row['user_uuid']."' alt='edit'>$v_link_label_edit</a>\n";
|
|
echo " <a href='user_edit.php?id=".$row['user_uuid']."' alt='edit'>$v_link_label_edit</a>\n";
|
|
}
|
|
}
|
|
if (permission_exists('contact_delete')) {
|
|
if (permission_exists('contact_delete')) {
|
|
@@ -139,7 +139,7 @@ require_once "resources/paging.php";
|
|
echo " <td width='33.3%' nowrap> </td>\n";
|
|
echo " <td width='33.3%' nowrap> </td>\n";
|
|
echo " <td width='33.3%' align='center' nowrap>$paging_controls</td>\n";
|
|
echo " <td width='33.3%' align='center' nowrap>$paging_controls</td>\n";
|
|
echo " <td width='33.3%' align='right'>\n";
|
|
echo " <td width='33.3%' align='right'>\n";
|
|
- if (permission_exists('contacts_add')) {
|
|
|
|
|
|
+ if (permission_exists('contact_add')) {
|
|
echo " <a href='user_edit.php' alt='add'>$v_link_label_add</a>\n";
|
|
echo " <a href='user_edit.php' alt='add'>$v_link_label_add</a>\n";
|
|
}
|
|
}
|
|
echo " </td>\n";
|
|
echo " </td>\n";
|