From bc3bbcf41ef49a014fa6297be697e279906d08ea Mon Sep 17 00:00:00 2001 From: Alexey Melnichuk Date: Tue, 12 Apr 2016 16:25:06 +0300 Subject: [PATCH] Add. Make `Channels` link that point to `Active calls` --- core/user_settings/user_dashboard.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/user_settings/user_dashboard.php b/core/user_settings/user_dashboard.php index 1ce65b73eb..27f3807b45 100644 --- a/core/user_settings/user_dashboard.php +++ b/core/user_settings/user_dashboard.php @@ -1096,8 +1096,9 @@ $matches = Array(); preg_match("/(\d+)\s+session\(s\)\s+\-\speak/", $tmp, $matches); $channels = $matches[1] ? $matches[1] : 0; - $hud[$n]['html'] .= "\n"; - $hud[$n]['html'] .= "".$text['label-channels']."\n"; + $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'] .= "".$channels."\n"; $hud[$n]['html'] .= "\n"; $c = ($c) ? 0 : 1;