From e335405a50a40f461ab6b72cedffe23f91ebfb4b Mon Sep 17 00:00:00 2001 From: mattf Date: Thu, 11 Aug 2022 12:56:34 +0000 Subject: [PATCH] Added webphone inticator"(w)" to Phone Listing page admin.php git-svn-id: svn://192.168.202.10@3615 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/www/vicidial/admin.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/agc_2-X/trunk/www/vicidial/admin.php b/agc_2-X/trunk/www/vicidial/admin.php index 7ac3391d..1e62b0cf 100644 --- a/agc_2-X/trunk/www/vicidial/admin.php +++ b/agc_2-X/trunk/www/vicidial/admin.php @@ -5919,12 +5919,13 @@ if ($SSscript_remove_js > 0) # 220513-0819 - Added user_group_two to User Modify screen # 220623-0824 - Added max_logged_in_agents campaign/system settings and dial_prefix list setting # 220730-0859 - Added user_codes_admin user/system setting +# 220811-0854 - Added webphone inticator"(w)" to Phone Listing page # # make sure you have added a user to the vicidial_users MySQL table with at least user_level 9 to access this page the first time -$admin_version = '2.14-860a'; -$build = '220730-0859'; +$admin_version = '2.14-861a'; +$build = '220811-0854'; $STARTtime = date("U"); $SQLdate = date("Y-m-d H:i:s"); @@ -45351,7 +45352,7 @@ if ($ADD==10000000000) } } - $stmt="SELECT extension,protocol,server_ip,dialplan_number,voicemail_id,status,fullname,messages,old_messages,user_group from phones $whereLOGadmin_viewable_groupsSQL $SQLorder $limitSQL"; + $stmt="SELECT extension,protocol,server_ip,dialplan_number,voicemail_id,status,fullname,messages,old_messages,user_group,is_webphone from phones $whereLOGadmin_viewable_groupsSQL $SQLorder $limitSQL"; $rslt=mysql_to_mysqli($stmt, $link); $phones_to_print = mysqli_num_rows($rslt); @@ -45379,8 +45380,10 @@ if ($ADD==10000000000) {$bgcolor='class="records_list_x"';} else {$bgcolor='class="records_list_y"';} + $TEMPprotocol = $row[1]; + if ( ($row[10] == 'Y') or ($row[10] == 'Y_API_LAUNCH') ) {$TEMPprotocol = "$row[1](w)";} echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=31111111111&extension=$row[0]&server_ip=$row[2]'\"";} echo ">$row[0] - $row[1] + $TEMPprotocol "._QXZ("$row[2]")." $row[3] $row[4]