diff --git a/app/access_controls/access_control_node_edit.php b/app/access_controls/access_control_node_edit.php index 08d13ef7c..277df3fb1 100644 --- a/app/access_controls/access_control_node_edit.php +++ b/app/access_controls/access_control_node_edit.php @@ -192,7 +192,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { require_once "resources/header.php"; //show the content - echo "
\n"; + echo "\n"; echo "
\n"; echo "
".$text['title-access_control_node']."
\n"; diff --git a/app/call_block/call_block_edit.php b/app/call_block/call_block_edit.php index 23ed8f197..17021c08a 100644 --- a/app/call_block/call_block_edit.php +++ b/app/call_block/call_block_edit.php @@ -282,7 +282,7 @@ require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
"; @@ -365,8 +365,8 @@ echo "\n"; echo "\n"; function call_block_action_select($label = false) { - global $text, $call_block_app, $call_block_data, $extensions, $voicemails; - echo "\n"; if ($label) { echo " \n"; } @@ -508,21 +508,25 @@ echo "
\n"; echo "
".$text['heading-recent_calls']."
\n"; echo "
\n"; - echo button::create(['type'=>'button','id'=>'action_bar_sub_button_back','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'collapse'=>'hide-xs','style'=>'margin-right: 15px; display: none;','link'=>'call_block.php']); - if (permission_exists('call_block_all')) { - echo "\n"; + echo " \n"; + echo " \n"; + if (is_array($extensions) && sizeof($extensions) != 0) { + foreach ($extensions as $row) { + $selected = $extension_uuid == $row['extension_uuid'] ? "selected='selected'" : null; + echo " \n"; + } } + echo " "; + unset($select_margin); } - echo " "; + call_block_action_select(true); + echo button::create(['type'=>'button','label'=>$text['button-block'],'icon'=>'ban','collapse'=>'hide-xs','onclick'=>"if (confirm('".$text['confirm-block']."')) { list_form_submit('form_list'); } else { this.blur(); return false; }"]); } - call_block_action_select(true); - echo button::create(['type'=>'button','label'=>$text['button-block'],'icon'=>'ban','collapse'=>'hide-xs','onclick'=>"if (confirm('".$text['confirm-block']."')) { list_form_submit('form_list'); } else { this.blur(); return false; }"]); echo "
\n"; echo "
\n"; echo "
\n"; diff --git a/app/call_broadcast/call_broadcast_edit.php b/app/call_broadcast/call_broadcast_edit.php index 69d1f3fa3..f2ea7b74f 100644 --- a/app/call_broadcast/call_broadcast_edit.php +++ b/app/call_broadcast/call_broadcast_edit.php @@ -284,7 +284,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { require_once "resources/header.php"; //begin content - echo "\n"; + echo "\n"; echo "
\n"; echo "
".$text['title-call_broadcast']."
\n"; diff --git a/app/call_centers/call_center_agent_dashboard.php b/app/call_centers/call_center_agent_dashboard.php index 67994a102..6c3598245 100644 --- a/app/call_centers/call_center_agent_dashboard.php +++ b/app/call_centers/call_center_agent_dashboard.php @@ -170,7 +170,7 @@ echo "
\n"; echo "
\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "\n"; diff --git a/app/call_centers/call_center_agent_status.php b/app/call_centers/call_center_agent_status.php index ad4e5b79e..47d6c65ce 100644 --- a/app/call_centers/call_center_agent_status.php +++ b/app/call_centers/call_center_agent_status.php @@ -297,7 +297,7 @@ echo $text['description-call_center_agent_status']."\n"; echo "

\n"; - echo "\n"; + echo "\n"; echo "
\n"; echo "\n"; diff --git a/app/call_recordings/call_recording_edit.php b/app/call_recordings/call_recording_edit.php index d84e330d7..1771243c9 100644 --- a/app/call_recordings/call_recording_edit.php +++ b/app/call_recordings/call_recording_edit.php @@ -178,7 +178,7 @@ require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "\n"; diff --git a/app/calls/call_edit.php b/app/calls/call_edit.php index fb0238dfb..757b8fd3a 100644 --- a/app/calls/call_edit.php +++ b/app/calls/call_edit.php @@ -498,7 +498,7 @@ $token = $object->create($_SERVER['PHP_SELF']); //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
".$text['title-call_routing']."
\n"; diff --git a/app/conference_centers/conference_center_edit.php b/app/conference_centers/conference_center_edit.php index 1cabb3ba7..d5de5405c 100644 --- a/app/conference_centers/conference_center_edit.php +++ b/app/conference_centers/conference_center_edit.php @@ -264,7 +264,7 @@ require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
".$text['title-conference_center']."
\n"; diff --git a/app/conference_centers/conference_room_edit.php b/app/conference_centers/conference_room_edit.php index 17e74fe5d..4a79e270d 100644 --- a/app/conference_centers/conference_room_edit.php +++ b/app/conference_centers/conference_room_edit.php @@ -569,7 +569,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
".$text['title-conference_room']."
\n"; diff --git a/app/conference_profiles/conference_profile_edit.php b/app/conference_profiles/conference_profile_edit.php index e93d10404..156ee1481 100644 --- a/app/conference_profiles/conference_profile_edit.php +++ b/app/conference_profiles/conference_profile_edit.php @@ -126,7 +126,7 @@ require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
".$text['title-conference_profile']."
\n"; diff --git a/app/conferences/conference_edit.php b/app/conferences/conference_edit.php index 9e61e6536..2a21ffc44 100644 --- a/app/conferences/conference_edit.php +++ b/app/conferences/conference_edit.php @@ -317,7 +317,7 @@ require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
"; diff --git a/app/contacts/contact_address_edit.php b/app/contacts/contact_address_edit.php index f7a6de90d..60ffa0204 100644 --- a/app/contacts/contact_address_edit.php +++ b/app/contacts/contact_address_edit.php @@ -237,7 +237,7 @@ echo ""; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
"; diff --git a/app/contacts/contact_attachment_edit.php b/app/contacts/contact_attachment_edit.php index 920698992..8009d0300 100644 --- a/app/contacts/contact_attachment_edit.php +++ b/app/contacts/contact_attachment_edit.php @@ -152,7 +152,7 @@ require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
"; diff --git a/app/contacts/contact_email_edit.php b/app/contacts/contact_email_edit.php index 277628c71..6d41d4fec 100644 --- a/app/contacts/contact_email_edit.php +++ b/app/contacts/contact_email_edit.php @@ -209,7 +209,7 @@ if (is_uuid($_GET["contact_uuid"])) { echo ""; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
"; diff --git a/app/contacts/contact_timer.php b/app/contacts/contact_timer.php index 5a9ca76f9..15a61dbfe 100644 --- a/app/contacts/contact_timer.php +++ b/app/contacts/contact_timer.php @@ -334,7 +334,7 @@ if (!permission_exists('contact_time_add')) { echo "access denied"; exit; }

00:00:00

- + diff --git a/app/contacts/contact_url_edit.php b/app/contacts/contact_url_edit.php index 688796097..c7bf4a951 100644 --- a/app/contacts/contact_url_edit.php +++ b/app/contacts/contact_url_edit.php @@ -210,7 +210,7 @@ echo ""; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
"; diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index 898fccbd8..88a79dc57 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -864,7 +864,7 @@ echo "\n"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
"; diff --git a/app/devices/device_download.php b/app/devices/device_download.php index 69b218ffd..ae70f8464 100644 --- a/app/devices/device_download.php +++ b/app/devices/device_download.php @@ -132,7 +132,7 @@ require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
".$text['header-device_export']."
\n"; diff --git a/app/devices/device_profile_edit.php b/app/devices/device_profile_edit.php index 9f3ef9102..728f23d1a 100644 --- a/app/devices/device_profile_edit.php +++ b/app/devices/device_profile_edit.php @@ -357,7 +357,7 @@ require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
".$text['title-device_profile']."
\n"; diff --git a/app/devices/device_vendor_function_edit.php b/app/devices/device_vendor_function_edit.php index 550181a44..d35f5b91a 100644 --- a/app/devices/device_vendor_function_edit.php +++ b/app/devices/device_vendor_function_edit.php @@ -267,7 +267,7 @@ require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
".$text['title-device_vendor_function']."
\n"; diff --git a/app/dialplan_inbound/dialplan_inbound_add.php b/app/dialplan_inbound/dialplan_inbound_add.php index d18456716..3fb417af4 100644 --- a/app/dialplan_inbound/dialplan_inbound_add.php +++ b/app/dialplan_inbound/dialplan_inbound_add.php @@ -476,7 +476,7 @@ \n"; + echo "\n"; echo "
\n"; echo "
".$text['title-dialplan-inbound-add']."
\n"; diff --git a/app/dialplans/dialplan_add.php b/app/dialplans/dialplan_add.php index 814b90747..0f12e956e 100644 --- a/app/dialplans/dialplan_add.php +++ b/app/dialplans/dialplan_add.php @@ -239,7 +239,7 @@ require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
".$text['header-dialplan-add']."
\n"; diff --git a/app/extensions/extension_download.php b/app/extensions/extension_download.php index 248a1ebb7..4ade0e978 100644 --- a/app/extensions/extension_download.php +++ b/app/extensions/extension_download.php @@ -169,7 +169,7 @@ require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
".$text['header-extension_export']."
\n"; diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index 4332cbc60..57f414362 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -822,7 +822,7 @@ echo "}\n"; echo ""; - echo "\n"; + echo "\n"; echo "
\n"; echo "
"; diff --git a/app/fax/fax_edit.php b/app/fax/fax_edit.php index 616e3b187..70154625b 100644 --- a/app/fax/fax_edit.php +++ b/app/fax/fax_edit.php @@ -498,7 +498,7 @@ echo "\n"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
".$text['header-fax_server_settings']."
\n"; diff --git a/app/fax/fax_log_view.php b/app/fax/fax_log_view.php index 2bcc31b31..20d5794c2 100644 --- a/app/fax/fax_log_view.php +++ b/app/fax/fax_log_view.php @@ -111,7 +111,7 @@ require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
".$text['title-fax_log']."
\n"; diff --git a/app/fax/fax_send.php b/app/fax/fax_send.php index 7b844f0fc..acad795a3 100644 --- a/app/fax/fax_send.php +++ b/app/fax/fax_send.php @@ -906,7 +906,7 @@ if (!$included) { echo ""; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
".$text['header-new_fax']."
\n"; diff --git a/app/fifo/fifo_add.php b/app/fifo/fifo_add.php index a9ac1a9d8..4f935ffee 100644 --- a/app/fifo/fifo_add.php +++ b/app/fifo/fifo_add.php @@ -295,7 +295,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { $document['title'] = $text['title-queue_add']; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
".$text['header-queue_add']."
\n"; diff --git a/app/gswave/index.php b/app/gswave/index.php index 11cccf325..c00ecd007 100644 --- a/app/gswave/index.php +++ b/app/gswave/index.php @@ -120,7 +120,7 @@ require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
".$text['title-gswave']."
\n"; diff --git a/app/modules/module_edit.php b/app/modules/module_edit.php index 868beb373..f678568fa 100644 --- a/app/modules/module_edit.php +++ b/app/modules/module_edit.php @@ -174,7 +174,7 @@ require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
"; diff --git a/app/music_on_hold/music_on_hold_edit.php b/app/music_on_hold/music_on_hold_edit.php index bed0fceca..922f6d63a 100644 --- a/app/music_on_hold/music_on_hold_edit.php +++ b/app/music_on_hold/music_on_hold_edit.php @@ -207,7 +207,7 @@ require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "\n"; echo "\n"; diff --git a/app/pin_numbers/pin_download.php b/app/pin_numbers/pin_download.php index d46bc6088..085798a8f 100644 --- a/app/pin_numbers/pin_download.php +++ b/app/pin_numbers/pin_download.php @@ -123,7 +123,7 @@ require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "
".$text['header-export']."
\n"; diff --git a/app/recordings/recording_edit.php b/app/recordings/recording_edit.php index cc63213c6..dec3daef5 100644 --- a/app/recordings/recording_edit.php +++ b/app/recordings/recording_edit.php @@ -145,7 +145,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
".$text['title-music_on_hold']."

\n"; echo "\n"; diff --git a/app/time_conditions/time_condition_edit.php b/app/time_conditions/time_condition_edit.php index 635f4cfac..e085e17ff 100644 --- a/app/time_conditions/time_condition_edit.php +++ b/app/time_conditions/time_condition_edit.php @@ -898,7 +898,7 @@ \n"; +echo "\n"; echo "
\n"; echo "
".$text['title-time_condition']."
\n"; diff --git a/app/vars/var_edit.php b/app/vars/var_edit.php index 60f4eade8..0800cd279 100644 --- a/app/vars/var_edit.php +++ b/app/vars/var_edit.php @@ -184,7 +184,7 @@ require_once "resources/header.php"; //show contents - echo "\n"; + echo "\n"; echo "
\n"; echo "
".$text['header-variable']."
\n"; diff --git a/app/voicemail_greetings/voicemail_greeting_edit.php b/app/voicemail_greetings/voicemail_greeting_edit.php index 1791c1fc9..401abe947 100644 --- a/app/voicemail_greetings/voicemail_greeting_edit.php +++ b/app/voicemail_greetings/voicemail_greeting_edit.php @@ -130,7 +130,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { require_once "resources/header.php"; //show the content - echo "\n"; + echo "\n"; echo "
\n"; echo "\n"; diff --git a/app/xml_cdr/xml_cdr.php b/app/xml_cdr/xml_cdr.php index 89d61e4a2..75ab6cb73 100644 --- a/app/xml_cdr/xml_cdr.php +++ b/app/xml_cdr/xml_cdr.php @@ -211,7 +211,7 @@ //basic search of call detail records if (permission_exists('xml_cdr_search')) { - echo "\n"; + echo "\n"; echo "
\n"; diff --git a/app/xml_cdr/xml_cdr_extension_summary.php b/app/xml_cdr/xml_cdr_extension_summary.php index 2c2e0e24e..bae053748 100644 --- a/app/xml_cdr/xml_cdr_extension_summary.php +++ b/app/xml_cdr/xml_cdr_extension_summary.php @@ -124,7 +124,7 @@ echo "
\n"; if (permission_exists('xml_cdr_search')) { - echo "\n"; + echo "\n"; echo "
\n"; diff --git a/resources/login.php b/resources/login.php index c2858a96e..6d4cc98ae 100644 --- a/resources/login.php +++ b/resources/login.php @@ -267,7 +267,7 @@ echo "
"; echo "