diff --git a/app/calls/calls.php b/app/calls/calls.php
index 1016fb7c4f..1071d3fa94 100644
--- a/app/calls/calls.php
+++ b/app/calls/calls.php
@@ -158,7 +158,7 @@ else {
$tr_url = PROJECT_PATH."/app/calls/call_edit.php?id=".$row['extension_uuid']."&return_url=".urlencode($_SERVER['REQUEST_URI']);
$tr_link = (permission_exists('call_forward') || permission_exists('follow_me') || permission_exists('do_not_disturb')) ? "href='".$tr_url."'" : null;
echo "
\n";
- echo " | ".$row['extension']." | \n";
+ echo " ".$row['extension']." | \n";
if (permission_exists('call_forward')) {
echo "".(($row['forward_all_enabled'] == 'true') ? format_phone($row['forward_all_destination']) : ' ')." | ";
}
diff --git a/core/user_settings/user_dashboard.php b/core/user_settings/user_dashboard.php
index 0278c4b54e..6087aa5245 100644
--- a/core/user_settings/user_dashboard.php
+++ b/core/user_settings/user_dashboard.php
@@ -794,7 +794,7 @@
//domains
if (permission_exists('domain_view')) {
$tr_link = "href='".PROJECT_PATH."/core/domain_settings/domains.php'";
- $hud[$n]['html'] .= "
\n";
+ $hud[$n]['html'] .= "
\n";
$hud[$n]['html'] .= "| ".$text['label-domains']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['domains']['disabled']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['domains']['total']." | \n";
@@ -805,7 +805,7 @@
//devices
if (permission_exists('device_view') && file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/app/devices/")) {
$tr_link = "href='".PROJECT_PATH."/app/devices/devices.php'";
- $hud[$n]['html'] .= "
\n";
+ $hud[$n]['html'] .= "
\n";
$hud[$n]['html'] .= "| ".$text['label-devices']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['devices']['disabled']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['devices']['total']." | \n";
@@ -816,7 +816,7 @@
//extensions
if (permission_exists('extension_view') && file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/app/extensions/")) {
$tr_link = "href='".PROJECT_PATH."/app/extensions/extensions.php'";
- $hud[$n]['html'] .= "
\n";
+ $hud[$n]['html'] .= "
\n";
$hud[$n]['html'] .= "| ".$text['label-extensions']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['extensions']['disabled']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['extensions']['total']." | \n";
@@ -827,7 +827,7 @@
//gateways
if (permission_exists('gateway_view') && file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/app/gateways/")) {
$tr_link = "href='".PROJECT_PATH."/app/gateways/gateways.php'";
- $hud[$n]['html'] .= "
\n";
+ $hud[$n]['html'] .= "
\n";
$hud[$n]['html'] .= "| ".$text['label-gateways']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['gateways']['disabled']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['gateways']['total']." | \n";
@@ -838,7 +838,7 @@
//users
if ((permission_exists('user_view') || if_group("superadmin")) && file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/core/users/")) {
$tr_link = "href='".PROJECT_PATH."/core/users/index.php'";
- $hud[$n]['html'] .= "
\n";
+ $hud[$n]['html'] .= "
\n";
$hud[$n]['html'] .= "| ".$text['label-users']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['users']['disabled']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['users']['total']." | \n";
@@ -849,7 +849,7 @@
//destinations
if (permission_exists('destination_view') && file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/app/destinations/")) {
$tr_link = "href='".PROJECT_PATH."/app/destinations/destinations.php'";
- $hud[$n]['html'] .= "
\n";
+ $hud[$n]['html'] .= "
\n";
$hud[$n]['html'] .= "| ".$text['label-destinations']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['destinations']['disabled']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['destinations']['total']." | \n";
@@ -860,7 +860,7 @@
//call center queues
if (permission_exists('call_center_active_view') && file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/app/call_centers/")) {
$tr_link = "href='".PROJECT_PATH."/app/call_centers/call_center_queues.php'";
- $hud[$n]['html'] .= "
\n";
+ $hud[$n]['html'] .= "
\n";
$hud[$n]['html'] .= "| ".$text['label-call_center_queues']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['call_center_queues']['disabled']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['call_center_queues']['total']." | \n";
@@ -871,7 +871,7 @@
//ivr menus
if (permission_exists('ivr_menu_view') && file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/app/ivr_menus/")) {
$tr_link = "href='".PROJECT_PATH."/app/ivr_menus/ivr_menus.php'";
- $hud[$n]['html'] .= "
\n";
+ $hud[$n]['html'] .= "
\n";
$hud[$n]['html'] .= "| ".$text['label-ivr_menus']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['ivr_menus']['disabled']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['ivr_menus']['total']." | \n";
@@ -882,7 +882,7 @@
//ring groups
if (permission_exists('ring_group_view') && file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/app/ring_groups/")) {
$tr_link = "href='".PROJECT_PATH."/app/ring_groups/ring_groups.php'";
- $hud[$n]['html'] .= "
\n";
+ $hud[$n]['html'] .= "
\n";
$hud[$n]['html'] .= "| ".$text['label-ring_groups']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['ring_groups']['disabled']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['ring_groups']['total']." | \n";
@@ -893,7 +893,7 @@
//voicemails
if (permission_exists('voicemail_view') && file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/app/voicemails/")) {
$tr_link = "href='".PROJECT_PATH."/app/voicemails/voicemails.php'";
- $hud[$n]['html'] .= "
\n";
+ $hud[$n]['html'] .= "
\n";
$hud[$n]['html'] .= "| ".$text['label-voicemail']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['voicemails']['disabled']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['voicemails']['total']." | \n";
@@ -910,7 +910,7 @@
$hud[$n]['html'] .= "
\n";
$tr_link = "href='".PROJECT_PATH."/app/voicemails/voicemails.php'";
- $hud[$n]['html'] .= "\n";
+ $hud[$n]['html'] .= "
\n";
$hud[$n]['html'] .= "| ".$text['label-messages']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['messages']['new']." | \n";
$hud[$n]['html'] .= "".$stats[$scope]['messages']['total']." | \n";
@@ -1097,8 +1097,8 @@
preg_match("/(\d+)\s+session\(s\)\s+\-\speak/", $tmp, $matches);
$channels = $matches[1] ? $matches[1] : 0;
$tr_link = "href='".PROJECT_PATH."/app/calls_active/calls_active.php'";
- $hud[$n]['html'] .= "
\n";
- $hud[$n]['html'] .= "| ".$text['label-channels']." | \n";
+ $hud[$n]['html'] .= "
\n";
+ $hud[$n]['html'] .= "| ".$text['label-channels']." | \n";
$hud[$n]['html'] .= "".$channels." | \n";
$hud[$n]['html'] .= "
\n";
$c = ($c) ? 0 : 1;
@@ -1110,8 +1110,8 @@
$registrations = substr_count($tmp, '');
$registrations = (is_numeric($registrations)) ? $registrations : 0;
$tr_link = "href='".PROJECT_PATH."/app/registrations/status_registrations.php'";
- $hud[$n]['html'] .= "\n";
- $hud[$n]['html'] .= "| ".$text['label-registrations']." | \n";
+ $hud[$n]['html'] .= "
\n";
+ $hud[$n]['html'] .= "| ".$text['label-registrations']." | \n";
$hud[$n]['html'] .= "".$registrations." | \n";
$hud[$n]['html'] .= "
\n";
$c = ($c) ? 0 : 1;