From b5daa190ab0f03a9ca4f1ad99eb61893b470f84a Mon Sep 17 00:00:00 2001 From: AlexanderDCrane <40072887+AlexanderDCrane@users.noreply.github.com> Date: Wed, 13 Jun 2018 01:13:38 -0600 Subject: [PATCH] Update extension_edit.php (#3125) --- app/extensions/extension_edit.php | 44 +++++++++++++++---------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index 2efbdd90ef..72ee1591ee 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -796,7 +796,7 @@ echo "\n"; echo " \n"; if ($action == 'update' && (permission_exists('follow_me') || permission_exists('call_forward') || permission_exists('do_not_disturb'))) { - echo " \n"; + echo " \n"; } if ($action == "update" && permission_exists('extension_copy')) { echo " \n"; @@ -895,10 +895,10 @@ echo " \n"; foreach($assigned_users as $field) { echo " \n"; - echo " \n"; + echo " \n"; echo " \n"; echo " \n"; } @@ -909,7 +909,7 @@ echo " "; echo " \n"; @@ -969,10 +969,10 @@ echo " \n"; echo " \n"; @@ -980,9 +980,9 @@ $device_mac_address = $row['device_mac_address']; $device_mac_address = substr($device_mac_address, 0,2).'-'.substr($device_mac_address, 2,2).'-'.substr($device_mac_address, 4,2).'-'.substr($device_mac_address, 6,2).'-'.substr($device_mac_address, 8,2).'-'.substr($device_mac_address, 10,2); echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; //echo " \n"; echo " \n"; @@ -1044,10 +1044,10 @@ foreach($devices as $field) { if (strlen($field["device_mac_address"]) > 0) { if ($field_current_value == $field["device_mac_address"]) { - echo " \n"; + echo " \n"; } else { - echo " \n"; + echo " \n"; } } } @@ -1077,10 +1077,10 @@ if($file_sub != '.' && $dir_sub != '..' && $dir_sub[0] != '.') { if(is_dir($template_dir . '/' . $dir .'/'. $dir_sub)) { if ($device_template == $dir."/".$dir_sub) { - echo "\n"; + echo "\n"; } else { - echo "\n"; + echo "\n"; } } } @@ -1143,10 +1143,10 @@ } if(strlen($tmp) > 0){ if ($outbound_caller_id_name == $tmp) { - echo " \n"; + echo " \n"; } else { - echo " \n"; + echo " \n"; } } } @@ -1182,10 +1182,10 @@ } if(strlen($tmp) > 0){ if ($outbound_caller_id_number == $tmp) { - echo " \n"; + echo " \n"; } else { - echo " \n"; + echo " \n"; } } } @@ -1411,10 +1411,10 @@ echo " \n"; foreach ($_SESSION['toll allow']['name'] as $name) { if ($name == $toll_allow) { - echo " \n"; + echo " \n"; } else { - echo " \n"; + echo " \n"; } } echo " \n"; @@ -1449,10 +1449,10 @@ echo " \n"; foreach ($_SESSION['call group']['name'] as $name) { if ($name == $call_group) { - echo " \n"; + echo " \n"; } else { - echo " \n"; + echo " \n"; } } echo " \n";
".$field['username']."".escape($field['username'])."\n"; echo " $v_link_label_delete\n"; - //echo " $v_link_label_delete\n"; + //echo " $v_link_label_delete\n"; echo "
\n"; //if (permission_exists('device_edit')) { - // echo " $v_link_label_edit\n"; + // echo " $v_link_label_edit\n"; //} //if (permission_exists('device_delete')) { - // echo " $v_link_label_delete\n"; + // echo " $v_link_label_delete\n"; //} echo "
".$row['line_number']."".$device_mac_address."".$row['device_template']." ".escape($row['line_number'])."".escape($device_mac_address)."".escape($row['device_template'])." ".$row['device_description']." \n"; echo " $v_link_label_delete\n"; @@ -995,7 +995,7 @@ echo " \n"; echo "