mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-07 20:23:51 +00:00
Update user_dashboard.php
This commit is contained in:
@@ -709,7 +709,7 @@
|
||||
switch ($category) {
|
||||
case 'users':
|
||||
if (!permission_exists('user_view')) { continue 2; }
|
||||
$url = '/core/users/index.php';
|
||||
$url = '/core/users/users.php';
|
||||
break;
|
||||
case 'call_center_queues':
|
||||
if (!permission_exists('call_center_active_view')) { continue 2; }
|
||||
@@ -775,7 +775,7 @@
|
||||
$hud_stat_title = $text['label-active_extensions'];
|
||||
}
|
||||
else if ((permission_exists('user_view') || if_group("superadmin")) && file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/core/users/")) {
|
||||
$onclick = "onclick=\"document.location.href='".PROJECT_PATH."/core/users/index.php'\"";
|
||||
$onclick = "onclick=\"document.location.href='".PROJECT_PATH."/core/users/users.php'\"";
|
||||
$hud_stat = $stats[$scope]['users']['total'] - $stats[$scope]['users']['disabled'];
|
||||
$hud_stat_title = $text['label-active_users'];
|
||||
}
|
||||
@@ -844,7 +844,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'";
|
||||
$tr_link = "href='".PROJECT_PATH."/core/users/users.php'";
|
||||
$hud[$n]['html'] .= "<tr ".$tr_link.">\n";
|
||||
$hud[$n]['html'] .= "<td valign='top' class='".$row_style[$c]." hud_text'><a ".$tr_link.">".$text['label-users']."</a></td>\n";
|
||||
$hud[$n]['html'] .= "<td valign='top' class='".$row_style[$c]." hud_text' style='text-align: center;'>".$stats[$scope]['users']['disabled']."</td>\n";
|
||||
|
||||
Reference in New Issue
Block a user