Update user_dashboard.php
This commit is contained in:
parent
d848c6aacd
commit
22c185a1bd
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue