Update contact_edit.php

This commit is contained in:
FusionPBX
2019-03-01 06:08:47 -07:00
committed by GitHub
parent 12726e4289
commit 9a9bbac7f1
+2 -8
View File
@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com> Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2018 Portions created by the Initial Developer are Copyright (C) 2008-2019
the Initial Developer. All Rights Reserved. the Initial Developer. All Rights Reserved.
Contributor(s): Contributor(s):
@@ -660,12 +660,8 @@
echo " </td>"; echo " </td>";
echo " </tr>"; echo " </tr>";
} }
echo "</table>";
if (permission_exists('contact_group_view')) { if (permission_exists('contact_group_view')) {
$contact_shared = 'true';
echo "<div id='div_groups' ".(($contact_shared != 'true') ? "style='display: none;'" : null).">\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>\n";
echo "<tr>"; echo "<tr>";
echo " <td width='30%' class='vncell' valign='top'>".$text['label-groups']."</td>"; echo " <td width='30%' class='vncell' valign='top'>".$text['label-groups']."</td>";
echo " <td width='70%' class='vtable'>"; echo " <td width='70%' class='vtable'>";
@@ -739,11 +735,8 @@
echo " </td>"; echo " </td>";
echo "</tr>"; echo "</tr>";
echo "</table>\n";
echo "</div>";
} }
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>\n";
echo "<tr>\n"; echo "<tr>\n";
echo "<td width='30%' class='vncell' valign='top' align='left' nowrap='nowrap'>\n"; echo "<td width='30%' class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-contact_note']."\n"; echo " ".$text['label-contact_note']."\n";
@@ -763,6 +756,7 @@
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n"; echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";
echo " </td>\n"; echo " </td>\n";
echo " </tr>"; echo " </tr>";
echo "</table>"; echo "</table>";
echo "</td>\n"; echo "</td>\n";