From b347e2fc781e9ef6a662c25215d3cd3a17dffa17 Mon Sep 17 00:00:00 2001 From: mattf Date: Thu, 28 Dec 2017 23:11:14 +0000 Subject: [PATCH] Added no_empty_session_warnings as agc/options.php setting Allowed = in get2post.php script git-svn-id: svn://192.168.202.10@2877 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/extras/get2post.php | 2 +- agc_2-X/trunk/www/agc/options-example.php | 1 + agc_2-X/trunk/www/agc/vicidial.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/agc_2-X/trunk/extras/get2post.php b/agc_2-X/trunk/extras/get2post.php index 1243f296..7a20f460 100644 --- a/agc_2-X/trunk/extras/get2post.php +++ b/agc_2-X/trunk/extras/get2post.php @@ -78,7 +78,7 @@ if ($qm_conf_ct > 0) ##### END SETTINGS LOOKUP ##### ########################################### -$headers=preg_replace('/[^- !\$\.\_0-9a-zA-Z]/',"",$headers); +$headers=preg_replace('/[^- !\=\$\.\_0-9a-zA-Z]/',"",$headers); $uniqueid=preg_replace('/[^-\.\_0-9a-zA-Z]/',"",$uniqueid); $type=preg_replace('/[^-\_0-9a-zA-Z]/',"",$type); $DB=preg_replace('/[^0-9]/',"",$DB); diff --git a/agc_2-X/trunk/www/agc/options-example.php b/agc_2-X/trunk/www/agc/options-example.php index bfbf8e1b..6ea2bdad 100644 --- a/agc_2-X/trunk/www/agc/options-example.php +++ b/agc_2-X/trunk/www/agc/options-example.php @@ -49,6 +49,7 @@ $consult_custom_delay = '2'; # number of seconds to delay consultative transfers $mrglock_ig_select_ct = '4'; # number of seconds to leave in-group select screen open if agent select is disabled $link_to_grey_version = '1'; # show link to old grey version of agent screen at login screen, next to timeclock link $use_agent_colors = '1'; # agent chat colors +$no_empty_session_warnings=0; # set to 1 to disable empty session warnings on agent screen $TEST_all_statuses = '0'; # TEST variable allows all statuses in dispo screen diff --git a/agc_2-X/trunk/www/agc/vicidial.php b/agc_2-X/trunk/www/agc/vicidial.php index 6f398baa..e26bd42f 100644 --- a/agc_2-X/trunk/www/agc/vicidial.php +++ b/agc_2-X/trunk/www/agc/vicidial.php @@ -778,6 +778,7 @@ $focus_blur_enabled = '0'; # set to 1 to enable the focus/blur enter key blocki $consult_custom_delay = '2'; # number of seconds to delay consultative transfers when customfields are active $mrglock_ig_select_ct = '4'; # number of seconds to leave in-group select screen open if agent select is disabled $link_to_grey_version = '1'; # show link to old grey version of agent screen at login screen, next to timeclock link +$no_empty_session_warnings=0; # set to 1 to disable empty session warnings on agent screen $TEST_all_statuses = '0'; # TEST variable allows all statuses in dispo screen, FOR DEBUG ONLY @@ -2874,7 +2875,6 @@ else if (strlen($meetme_enter_login_filename) > 0) {$login_context = 'meetme-enter-login';} - $no_empty_session_warnings=0; if ( ($phone_login == 'nophone') or ($on_hook_agent == 'Y') ) { $no_empty_session_warnings=1;