Added RS_CUSTINFOdisplay & RS_CUSTINFOminUL options to vicidial/options.php
git-svn-id: svn://192.168.202.10@3242 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -118,10 +118,11 @@
|
||||
# 191113-2027 - Fixed cached carrier stats bug
|
||||
# 200401-1930 - Added option to show more customer info for level 9 users and customize the color chart times
|
||||
# 200428-1337 - Added RS_INcolumnsHIDE, RS_report_default_format & RS_AGENTstatusTALLY options.php settings
|
||||
# 200506-1642 - Added RS_CUSTINFOminUL options.php setting
|
||||
#
|
||||
|
||||
$version = '2.14-103';
|
||||
$build = '200428-1337';
|
||||
$version = '2.14-104';
|
||||
$build = '200506-1642';
|
||||
|
||||
header ("Content-type: text/html; charset=utf-8");
|
||||
|
||||
@@ -774,6 +775,13 @@ while ($i < $ingroups_to_print)
|
||||
|
||||
if (!isset($RR)) {$RR=4;}
|
||||
|
||||
if (isset($RS_CUSTINFOminUL))
|
||||
{
|
||||
$CUSTINFOminUL = $RS_CUSTINFOminUL;
|
||||
}
|
||||
else {$CUSTINFOminUL = 9;}
|
||||
if ($LOGuser_level < $CUSTINFOminUL) {$CUSTINFOdisplay=0;}
|
||||
|
||||
$NFB = '<b><font size=6 face="courier">';
|
||||
$NFE = '</font></b>';
|
||||
$F=''; $FG=''; $B=''; $BG='';
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
# 190525-2145 - Added RS_agentWAIT option
|
||||
# 200115-1157 - Added call report export ALTERNATE_2 header
|
||||
# 200428-1336 - Added RS_INcolumnsHIDE, RS_report_default_format & RS_AGENTstatusTALLY options
|
||||
# 200506-1628 - Added RS_CUSTINFOdisplay & RS_CUSTINFOminUL options
|
||||
#
|
||||
|
||||
# used by the realtime_report.php script
|
||||
@@ -61,6 +62,8 @@ $RS_SERVdisplay = 0; # 0=no, 1=yes
|
||||
$RS_CALLSdisplay = 1; # 0=no, 1=yes
|
||||
$RS_PHONEdisplay = 0; # 0=no, 1=yes
|
||||
$RS_CUSTPHONEdisplay = 0; # 0=no, 1=yes
|
||||
$RS_CUSTINFOdisplay = 0; # 0=no, 1=yes
|
||||
$RS_CUSTINFOminUL = 9; # 7-9 (minimum user level to use CUST INFO option)
|
||||
$RS_PAUSEcodes = 'N';
|
||||
$RS_with_inbound = 'Y';
|
||||
$RS_CARRIERstats = 0; # 0=no, 1=yes
|
||||
|
||||
@@ -49,12 +49,13 @@
|
||||
# 190927-1758 - Fixed PHP7 array issue
|
||||
# 200401-1930 - Added option to show more customer info to level 9 users
|
||||
# 200428-1002 - Added RS_report_default_format options.php setting
|
||||
# 200506-1633 - Added RS_CUSTINFOminUL options.php setting
|
||||
#
|
||||
|
||||
$startMS = microtime();
|
||||
|
||||
$version = '2.14-36';
|
||||
$build = '200428-1002';
|
||||
$version = '2.14-37';
|
||||
$build = '200506-1633';
|
||||
|
||||
header ("Content-type: text/html; charset=utf-8");
|
||||
|
||||
@@ -238,6 +239,11 @@ if (!isset($CUSTINFOdisplay))
|
||||
if (!isset($RS_CUSTINFOdisplay)) {$CUSTINFOdisplay=0;}
|
||||
else {$CUSTINFOdisplay = $RS_CUSTINFOdisplay;}
|
||||
}
|
||||
if (isset($RS_CUSTINFOminUL))
|
||||
{
|
||||
$CUSTINFOminUL = $RS_CUSTINFOminUL;
|
||||
}
|
||||
else {$CUSTINFOminUL = 9;}
|
||||
if (!isset($PAUSEcodes))
|
||||
{
|
||||
if (!isset($RS_PAUSEcodes)) {$PAUSEcodes='N';}
|
||||
@@ -1974,7 +1980,7 @@ if (!preg_match("/WALL/",$report_display_type))
|
||||
else
|
||||
{echo " <a href=\"#\" onclick=\"update_variables('CUSTPHONEdisplay','');\"><font class=\"top_settings_val\"><span id=CUSTPHONEdisplayTXT>"._QXZ("SHOW CUSTPHONES")."</span></font></a>";}
|
||||
|
||||
if ($LOGuser_level >= 9)
|
||||
if ($LOGuser_level >= $CUSTINFOminUL)
|
||||
{
|
||||
if ($CUSTINFOdisplay>0)
|
||||
{echo " <a href=\"#\" onclick=\"update_variables('CUSTINFOdisplay','');\"><font class=\"top_settings_val\"><span id=CUSTINFOdisplayTXT>"._QXZ("HIDE CUST INFO")."</span></font></a>";}
|
||||
|
||||
Reference in New Issue
Block a user