diff --git a/app/call_center_active/call_center_active_inc.php b/app/call_center_active/call_center_active_inc.php index d57b6b3aaf..c3e276c028 100644 --- a/app/call_center_active/call_center_active_inc.php +++ b/app/call_center_active/call_center_active_inc.php @@ -154,6 +154,7 @@ } //list the agents + echo "
\n"; echo "\n"; echo "\n"; echo "\n"; @@ -270,6 +271,7 @@ } //foreach } //if echo "
".$text['label-name']."
\n\n"; + echo "
\n"; //add vertical spacing echo "


"; @@ -310,6 +312,7 @@ echo $text['description-queue']."\n"; echo "

\n"; + echo "
\n"; echo "\n"; echo "\n"; echo "\n"; @@ -382,6 +385,7 @@ } } echo "
".$text['label-time']."
\n"; + echo "
\n"; } diff --git a/app/call_center_active/call_center_queue.php b/app/call_center_active/call_center_queue.php index e33e2f3d0b..a21ace6e43 100644 --- a/app/call_center_active/call_center_queue.php +++ b/app/call_center_active/call_center_queue.php @@ -104,6 +104,7 @@ echo $text['description-active_call_center']."\n"; echo "

\n"; + echo "
\n"; echo "\n"; echo "\n"; echo th_order_by('queue_name', $text['label-queue_name'], $order_by, $order); @@ -150,6 +151,7 @@ } echo "
\n"; + echo "
\n"; echo "
\n"; echo "
".$paging_controls."
\n"; diff --git a/app/call_centers/call_center_agent_status.php b/app/call_centers/call_center_agent_status.php index 137e1db0cc..13bb06c106 100644 --- a/app/call_centers/call_center_agent_status.php +++ b/app/call_centers/call_center_agent_status.php @@ -348,6 +348,7 @@ echo "
\n"; + echo "
\n"; echo "\n"; echo "\n"; echo " \n"; @@ -436,6 +437,7 @@ } echo "
".$text['label-agent']."
\n"; + echo "
\n"; echo "
\n"; echo "\n"; echo "
\n"; diff --git a/app/calls_active/calls_active_inc.php b/app/calls_active/calls_active_inc.php index e64da75106..f6ec0f7c3a 100644 --- a/app/calls_active/calls_active_inc.php +++ b/app/calls_active/calls_active_inc.php @@ -160,6 +160,7 @@ echo "
\n"; echo "\n"; + echo "
\n"; echo "\n"; echo "\n"; if (permission_exists('call_active_hangup')) { @@ -262,6 +263,7 @@ } echo "
\n"; + echo "
\n"; echo "\n"; diff --git a/app/conferences_active/conference_interactive_inc.php b/app/conferences_active/conference_interactive_inc.php index 092a4a75d8..4a30193f5e 100644 --- a/app/conferences_active/conference_interactive_inc.php +++ b/app/conferences_active/conference_interactive_inc.php @@ -150,6 +150,7 @@ echo "".$text['label-members'].": ".escape($member_count ?? '')."\n"; echo "

\n"; + echo "
\n"; echo "\n"; echo "\n"; echo "\n"; @@ -273,6 +274,7 @@ } } echo "
 
\n"; + echo "
\n"; echo "

"; } diff --git a/app/conferences_active/conferences_active_inc.php b/app/conferences_active/conferences_active_inc.php index e3f427db46..5320b34e35 100644 --- a/app/conferences_active/conferences_active_inc.php +++ b/app/conferences_active/conferences_active_inc.php @@ -66,6 +66,7 @@ //echo $e->getMessage(); } + echo "
\n"; echo "\n"; echo "\n"; echo " \n"; @@ -153,6 +154,7 @@ } } echo "
".$text['label-name']."
\n"; + echo "
\n"; echo "

"; } diff --git a/app/destinations/destination_summary.php b/app/destinations/destination_summary.php index 753593549a..2a8af15005 100644 --- a/app/destinations/destination_summary.php +++ b/app/destinations/destination_summary.php @@ -139,7 +139,8 @@ if (permission_exists('xml_cdr_search')) { echo "\n"; - echo "
\n"; + echo "
\n"; + echo "
\n"; echo "
\n"; echo "
\n"; @@ -189,6 +190,7 @@ echo "
\n"; echo "
\n"; + echo "
\n"; echo "
\n"; if (!empty($_GET['show']) && $_GET['show'] == 'all' && permission_exists('destination_summary_all')) { @@ -199,6 +201,7 @@ } //show the results + echo "
\n"; echo "\n"; echo " \n"; if (!empty($_GET['show']) && $_GET['show'] === "all" && permission_exists('destination_summary_all')) { @@ -236,6 +239,7 @@ } echo "
\n"; + echo "
\n"; echo "
\n"; //show the footer diff --git a/app/email_queue/email_queue.php b/app/email_queue/email_queue.php index 73b7c69cf1..16f71e9cbd 100644 --- a/app/email_queue/email_queue.php +++ b/app/email_queue/email_queue.php @@ -307,6 +307,7 @@ echo "\n"; echo "\n"; + echo "
\n"; echo "\n"; echo "\n"; if (permission_exists('email_queue_add') || permission_exists('email_queue_edit') || permission_exists('email_queue_delete')) { @@ -380,6 +381,7 @@ } echo "
\n"; + echo "
\n"; echo "
\n"; echo "
".$paging_controls."
\n"; echo "\n"; diff --git a/app/email_queue/email_queue_edit.php b/app/email_queue/email_queue_edit.php index 7c578ea366..882ece7875 100644 --- a/app/email_queue/email_queue_edit.php +++ b/app/email_queue/email_queue_edit.php @@ -329,6 +329,7 @@ } } + echo "
\n"; echo "\n"; echo "\n"; @@ -531,6 +532,7 @@ } echo "
"; + echo "
"; echo "

"; echo "\n"; diff --git a/app/emergency/emergency.php b/app/emergency/emergency.php index 68db2e3455..c36ea11d4e 100644 --- a/app/emergency/emergency.php +++ b/app/emergency/emergency.php @@ -183,6 +183,7 @@ if ($emergency_logs) { echo $text['title_description-emergency_logs']."\n"; echo "

\n"; +echo "
\n"; echo "\n"; echo "\n"; if (!empty($show) && $show == 'all' && permission_exists('emergency_logs_view_all')) { @@ -212,6 +213,7 @@ if (!empty($emergency_logs) && is_array($emergency_logs) && @sizeof($emergency_l } echo "
\n"; +echo "
\n"; echo "
\n"; echo "
".$paging_controls."
\n"; echo "\n"; diff --git a/app/event_guard/event_guard_log_edit.php b/app/event_guard/event_guard_log_edit.php index 57fe155c31..b635e26f72 100644 --- a/app/event_guard/event_guard_log_edit.php +++ b/app/event_guard/event_guard_log_edit.php @@ -228,6 +228,7 @@ } } + echo "
\n"; echo "\n"; echo "\n"; @@ -309,6 +310,7 @@ echo "\n"; echo "
"; + echo "
"; echo "

"; echo "\n"; diff --git a/app/event_guard/event_guard_logs.php b/app/event_guard/event_guard_logs.php index 9884f0b3b5..39d195ba5f 100644 --- a/app/event_guard/event_guard_logs.php +++ b/app/event_guard/event_guard_logs.php @@ -220,6 +220,7 @@ echo "\n"; echo "\n"; + echo "
\n"; echo "\n"; echo "\n"; if (permission_exists('event_guard_log_add') || permission_exists('event_guard_log_edit') || permission_exists('event_guard_log_delete')) { @@ -284,6 +285,7 @@ } echo "
\n"; + echo "
\n"; echo "
\n"; echo "
".$paging_controls."
\n"; echo "\n"; diff --git a/app/fax_queue/fax_queue.php b/app/fax_queue/fax_queue.php index 4c30f2177b..0d62db5710 100644 --- a/app/fax_queue/fax_queue.php +++ b/app/fax_queue/fax_queue.php @@ -290,6 +290,7 @@ echo "\n"; echo "\n"; + echo "
\n"; echo "\n"; echo "\n"; if (permission_exists('fax_queue_add') || permission_exists('fax_queue_edit') || permission_exists('fax_queue_delete')) { @@ -360,6 +361,7 @@ } echo "
\n"; + echo "
\n"; echo "
\n"; echo "
".$paging_controls."
\n"; echo "\n"; diff --git a/app/fax_queue/fax_queue_edit.php b/app/fax_queue/fax_queue_edit.php index 983c76889e..c8fb727ea9 100644 --- a/app/fax_queue/fax_queue_edit.php +++ b/app/fax_queue/fax_queue_edit.php @@ -275,6 +275,7 @@ } } + echo "
\n"; echo "\n"; //echo "\n"; @@ -461,6 +462,7 @@ echo "\n"; echo "
"; + echo "
"; echo "

"; echo "\n"; diff --git a/app/fifo_list/fifo_interactive_inc.php b/app/fifo_list/fifo_interactive_inc.php index 9b288d9b64..4957ecf2e1 100644 --- a/app/fifo_list/fifo_interactive_inc.php +++ b/app/fifo_list/fifo_interactive_inc.php @@ -98,6 +98,7 @@ echo "
\n"; //show the content + echo "
\n"; echo "\n"; /* echo "\n"; @@ -196,6 +197,7 @@ } } echo "
\n"; + echo "
\n"; //Current logged members //set the alternating row styles @@ -209,6 +211,7 @@ echo "

Logged in agents

\n"; //show the content + echo "
\n"; echo "\n"; echo "\n"; echo "\n"; @@ -235,6 +238,7 @@ } } echo "
".$text['label-username']."
\n"; + echo "
\n"; } ?> diff --git a/app/fifo_list/fifo_list_inc.php b/app/fifo_list/fifo_list_inc.php index 28234d644e..58f5ecfd22 100644 --- a/app/fifo_list/fifo_list_inc.php +++ b/app/fifo_list/fifo_list_inc.php @@ -77,6 +77,7 @@ $row_style["0"] = "row_style0"; $row_style["1"] = "row_style1"; + echo "
\n"; echo "\n"; echo "\n"; echo "\n"; @@ -129,6 +130,7 @@ $c = $c ? 0 : 1; } echo "
".$text['label-name']."
\n"; + echo "
\n"; } ?> diff --git a/app/registrations/registrations.php b/app/registrations/registrations.php index 8f6830d50b..67276d65bc 100644 --- a/app/registrations/registrations.php +++ b/app/registrations/registrations.php @@ -169,6 +169,7 @@ echo "\n"; echo ""; + echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; @@ -252,6 +253,7 @@ unset($registrations); echo "
\n"; + echo "
\n"; echo "
\n"; echo "
".($paging_controls ?? '')."
\n"; diff --git a/app/sip_status/sip_status.php b/app/sip_status/sip_status.php index 1ca59e01ce..80aab198c2 100644 --- a/app/sip_status/sip_status.php +++ b/app/sip_status/sip_status.php @@ -131,6 +131,8 @@ echo "
\n"; echo "
"; + + echo "
\n"; echo "\n"; echo "\n"; echo " \n"; @@ -217,6 +219,7 @@ echo "
".$text['label-name']."
\n"; echo "
\n"; + echo "
\n"; unset($gateways, $xml, $xml_gateways); } @@ -258,6 +261,8 @@ echo "\n"; echo ""; unset($xml); } } @@ -311,10 +317,12 @@ $response = event_socket::api("status"); echo "".$text['title-status']."\n"; echo "
"; - echo "
";
+		echo "
\n"; + echo "
";
 		echo trim(escape($response));
 		echo "
\n"; echo "
"; + echo "
"; } //include the footer diff --git a/app/system/system.php b/app/system/system.php index af867089ed..38b14c0e69 100644 --- a/app/system/system.php +++ b/app/system/system.php @@ -122,6 +122,7 @@ echo "".$text['header-sys-status'].""; echo "

"; + echo "
\n"; echo "\n"; echo "\n"; echo " \n"; @@ -137,8 +138,8 @@ echo "\n"; $git_path = $system_information['git']['path']; - if(file_exists($git_path)){ - if($system_information['git']['status'] === 'unknown'){ + if (file_exists($git_path)){ + if ($system_information['git']['status'] === 'unknown') { echo "\n"; echo " \n"; echo "\n"; - }else{ + } + else { echo "\n"; echo " \n"; echo " \n"; echo "\n"; - if($system_information['switch']['git']['info'] !== 'connection failed'){ + if ($system_information['switch']['git']['info'] !== 'connection failed') { echo "\n"; echo " \n"; echo "\n"; + echo "
".$text['title-sys-info']."
\n"; echo " ".$text['label-git_info']."\n"; @@ -147,7 +148,8 @@ echo " ".$text['label-git_corrupted']."\n"; echo "
\n"; echo " ".$text['label-git_info']."\n"; @@ -178,7 +180,7 @@ echo " {$system_information['switch']['version']} ({$system_information['switch']['bits']})
\n"; echo " ".$text['label-switch']." ".$text['label-git_info']."\n"; @@ -195,8 +197,14 @@ echo " ".$system_information['php']['version']."
\n"; + echo "
\n"; + + + echo "
\n"; + echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "\n"; if ($system_information['os']['name'] !== 'permission denied') { @@ -250,11 +258,12 @@ echo " \n"; echo "\n"; echo "
".$text['title-os-info']."".$text['title-os-info']."
\n"; - echo "

"; + echo "
\n"; //memory information if (permission_exists('system_view_ram')) { if ($system_information['os']['mem'] !== 'unknown' && $system_information['os']['mem'] !== 'permission denied') { + echo "
\n"; echo "\n"; echo "\n"; echo " \n"; @@ -270,13 +279,14 @@ echo " \n"; echo "\n"; echo "
".$text['title-mem']."
\n"; - echo "

"; + echo "
\n"; } } //cpu information if (permission_exists('system_view_cpu')) { if ($system_information['os']['cpu'] !== 'unknown' && $system_information['os']['cpu'] !== 'permission denied') { + echo "
\n"; echo "\n"; echo "\n"; echo " \n"; @@ -292,15 +302,14 @@ echo " \n"; echo "\n"; echo "
".$text['title-cpu']."
\n"; - echo "

"; + echo "
\n"; } } //drive space if (permission_exists('system_view_hdd')) { if (stristr(PHP_OS, 'Linux') || stristr(PHP_OS, 'FreeBSD')) { - echo "\n"; + echo "
\n"; echo "\n"; echo "\n"; echo " \n"; @@ -316,7 +325,9 @@ echo " \n"; echo "\n"; echo "
".$text['title-drive']."
\n"; - } else if (stristr(PHP_OS, 'WIN')) { + echo "
\n"; + } + else if (stristr(PHP_OS, 'WIN')) { //disk_free_space returns the number of bytes available on the drive; //1 kilobyte = 1024 byte //1 megabyte = 1024 kilobyte @@ -325,6 +336,7 @@ $disk_size_free = round(disk_free_space($drive_letter)/1024/1024, 2); $disk_percent_available = round(($disk_size_free/$disk_size) * 100, 2); + echo "
\n"; echo "\n"; echo "\n"; echo " \n"; @@ -356,14 +368,15 @@ echo " \n"; echo "\n"; echo "
".$text['label-drive']."
\n"; + echo "
\n"; } - echo "

"; } //database information if (permission_exists('system_view_database')) { if ($system_information['database']['type'] == 'pgsql') { + echo "
\n"; echo "\n"; echo "\n"; echo " \n"; @@ -401,12 +414,13 @@ echo "\n"; echo "
".$text['title-database']."
\n"; + echo "
\n"; } - echo "

"; } //memcache information if (permission_exists("system_view_memcache") && file_exists($_SERVER["PROJECT_ROOT"]."/app/sip_status/app_config.php")){ + echo "
\n"; echo "\n"; echo " \n"; echo " \n"; @@ -430,24 +444,22 @@ } echo "
".$text['title-memcache']."
\n"; - echo "

\n"; + echo "
\n"; } if (permission_exists("system_view_support")) { + echo "
\n"; echo "\n"; echo "\n"; - echo " \n"; - echo " \n"; + echo " \n"; echo "\n"; echo "\n"; - echo " \n"; - echo "
".$text['label-support']."\n"; + echo " ".$text['label-support']."\n"; echo " \n"; echo "
\n"; - echo "  \n"; - echo " \n"; + echo " \n"; echo " \n"; - echo "
\n"; + echo "
\n"; 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 c00454e4e2..b242476dca 100644 --- a/app/xml_cdr/xml_cdr_extension_summary.php +++ b/app/xml_cdr/xml_cdr_extension_summary.php @@ -129,7 +129,8 @@ if (permission_exists('xml_cdr_search')) { echo "\n"; - echo "
\n"; + echo "
\n"; + echo "
\n"; echo "
\n"; echo "
\n"; @@ -179,6 +180,7 @@ echo "
\n"; echo "
\n"; + echo "
\n"; echo "
\n"; if (!empty($_GET['show']) && $_GET['show'] == 'all' && permission_exists('xml_cdr_extension_summary_all')) { @@ -189,6 +191,7 @@ } //show the results + echo "
\n"; echo "
\n"; echo " \n"; if (!empty($_GET['show']) && $_GET['show'] === "all" && permission_exists('xml_cdr_extension_summary_all')) { @@ -237,6 +240,7 @@ } echo "
\n"; + echo "\n"; echo "
\n"; //show the footer diff --git a/app/xml_cdr/xml_cdr_statistics.php b/app/xml_cdr/xml_cdr_statistics.php index 9f1e74d1b8..92cd922155 100644 --- a/app/xml_cdr/xml_cdr_statistics.php +++ b/app/xml_cdr/xml_cdr_statistics.php @@ -156,11 +156,12 @@ echo $text['label-call-statistics-description']."\n"; echo "

\n"; + echo "
\n"; ?> -
+
@@ -334,6 +335,7 @@ $i++; } echo "
\n"; + echo "
\n"; echo "

"; //include the footer diff --git a/core/user_logs/user_log_edit.php b/core/user_logs/user_log_edit.php index c48ade8c63..1afa5cd34a 100644 --- a/core/user_logs/user_log_edit.php +++ b/core/user_logs/user_log_edit.php @@ -74,6 +74,7 @@ echo $text['title_description-user_logs']."\n"; echo "

\n"; + echo "
\n"; echo "\n"; echo "\n"; @@ -200,6 +201,7 @@ echo "\n"; echo "
"; + echo "
"; echo "

"; echo "\n"; diff --git a/core/user_logs/user_logs.php b/core/user_logs/user_logs.php index d976ed7f8e..8f8a2a4ffa 100644 --- a/core/user_logs/user_logs.php +++ b/core/user_logs/user_logs.php @@ -232,6 +232,7 @@ echo "\n"; echo "\n"; + echo "
\n"; echo "\n"; echo "\n"; if (permission_exists('user_log_delete')) { @@ -286,6 +287,7 @@ } echo "
\n"; + echo "
\n"; echo "
\n"; echo "
".$paging_controls."
\n"; echo "\n";