瀏覽代碼

Add. Make `Channels` link that point to `Active calls`

Alexey Melnichuk 9 年之前
父節點
當前提交
695712c525
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      core/user_settings/user_dashboard.php

+ 3 - 2
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'] .= "<tr class='tr_link_void'>\n";
-					$hud[$n]['html'] .= "<td valign='top' class='".$row_style[$c]." hud_text'>".$text['label-channels']."</td>\n";
+					$tr_link = "href='".PROJECT_PATH."/app/calls_active/calls_active.php'";
+					$hud[$n]['html'] .= "<tr ".$tr_link." style='cursor: pointer;'>\n";
+					$hud[$n]['html'] .= "<td valign='top' class='".$row_style[$c]." hud_text'><a href='javascript:void(0);'>".$text['label-channels']."</a></td>\n";
 					$hud[$n]['html'] .= "<td valign='top' class='".$row_style[$c]." hud_text' style='text-align: right;'>".$channels."</td>\n";
 					$hud[$n]['html'] .= "</tr>\n";
 					$c = ($c) ? 0 : 1;