From 55ba4cb2a525f74b81c0f48d6db00dd1d4e8dc2d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 18 Jan 2022 21:49:59 -0700 Subject: [PATCH] Make contact edit more interactive. CDR Search for phone numbers Click to Call for phone numbers Added mailto link for email address Link for the URL --- app/contacts/contact_edit.php | 47 +++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/app/contacts/contact_edit.php b/app/contacts/contact_edit.php index 70f09a381d..5554338dda 100644 --- a/app/contacts/contact_edit.php +++ b/app/contacts/contact_edit.php @@ -1502,6 +1502,21 @@ if (permission_exists('contact_user_view') || permission_exists('contact_group_v } if (permission_exists('contact_phone_view')) { + + echo "\n"; + $x = 0; foreach($contact_phones as $row) { echo "
\n"; @@ -1516,6 +1531,28 @@ if (permission_exists('contact_phone_view')) { echo " \n"; echo "
\n"; } + echo " \n"; echo " \n"; echo "
\n"; echo "
\n"; @@ -1938,6 +1975,11 @@ if (permission_exists('contact_email_view')) { echo " \n"; echo " \n"; } + echo " \n"; echo " \n"; echo "
\n"; @@ -2025,6 +2067,11 @@ if (permission_exists('contact_url_view')) { echo " \n"; echo " \n"; } + echo " \n"; echo " \n"; echo "
\n"; echo " \n";