altered vicidial.php and vdc_db_query.php to allow for pound signs(hash) in the comments
docs updates git-svn-id: svn://192.168.202.10@553 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -929,7 +929,7 @@ them:
|
||||
- If you have chosen a Sangoma T1/E1 or analog card, you will need to
|
||||
follow their instructions for installation of their driver software
|
||||
LATEST Sangoma Wanpipe drivers:
|
||||
ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-beta4-2.3.4.tgz
|
||||
ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-2.3.4-7.tgz
|
||||
- now your asterisk installation is built and loaded and it's time to
|
||||
configure it.
|
||||
|
||||
|
||||
@@ -125,10 +125,11 @@
|
||||
# 70216-1051 - Fixed double call complete queuemetrics logging
|
||||
# 70222-1616 - Changed queue_log PAUSE/UNPAUSE to PAUSEALL/UNPAUSEALL
|
||||
# 70309-1034 - Allow amphersands and questions marks in comments to pass through
|
||||
# 70313-1052 - Allow pound signs(hash) in comments to pass through
|
||||
#
|
||||
|
||||
$version = '2.0.52';
|
||||
$build = '70309-1034';
|
||||
$version = '2.0.53';
|
||||
$build = '70313-1052';
|
||||
|
||||
require("dbconnect.php");
|
||||
|
||||
@@ -1927,6 +1928,7 @@ if ($ACTION == 'updateLEAD')
|
||||
$comments = eregi_replace("\n",'!N',$comments);
|
||||
$comments = eregi_replace("--AMP--",'&',$comments);
|
||||
$comments = eregi_replace("--QUES--",'?',$comments);
|
||||
$comments = eregi_replace("--POUND--",'#',$comments);
|
||||
|
||||
$stmt="UPDATE vicidial_list set vendor_lead_code='" . mysql_real_escape_string($vendor_lead_code) . "', title='" . mysql_real_escape_string($title) . "', first_name='" . mysql_real_escape_string($first_name) . "', middle_initial='" . mysql_real_escape_string($middle_initial) . "', last_name='" . mysql_real_escape_string($last_name) . "', address1='" . mysql_real_escape_string($address1) . "', address2='" . mysql_real_escape_string($address2) . "', address3='" . mysql_real_escape_string($address3) . "', city='" . mysql_real_escape_string($city) . "', state='" . mysql_real_escape_string($state) . "', province='" . mysql_real_escape_string($province) . "', postal_code='" . mysql_real_escape_string($postal_code) . "', country_code='" . mysql_real_escape_string($country_code) . "', gender='" . mysql_real_escape_string($gender) . "', date_of_birth='" . mysql_real_escape_string($date_of_birth) . "', alt_phone='" . mysql_real_escape_string($alt_phone) . "', email='" . mysql_real_escape_string($email) . "', security_phrase='" . mysql_real_escape_string($security_phrase) . "', comments='" . mysql_real_escape_string($comments) . "' where lead_id='$lead_id';";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
|
||||
@@ -152,10 +152,11 @@
|
||||
# 70222-1617 - Changed queue_log PAUSE/UNPAUSE to PAUSEALL/UNPAUSEALL
|
||||
# 70226-1252 - Added Mute/UnMute to agent screen
|
||||
# 70309-1035 - Allow amphersands and questions marks in comments to pass through
|
||||
# 70313-1052 - Allow pound signs(hash) in comments to pass through
|
||||
#
|
||||
|
||||
$version = '2.0.123';
|
||||
$build = '70309-1035';
|
||||
$version = '2.0.124';
|
||||
$build = '70313-1052';
|
||||
|
||||
require("dbconnect.php");
|
||||
|
||||
@@ -4273,8 +4274,10 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
|
||||
var REGcommentsAMP = new RegExp('&',"g");
|
||||
var REGcommentsQUES = new RegExp("\\?","g");
|
||||
var REGcommentsPOUND = new RegExp("\\#","g");
|
||||
var REGcommentsRESULT = document.vicidial_form.comments.value.replace(REGcommentsAMP, "--AMP--");
|
||||
REGcommentsRESULT = REGcommentsRESULT.replace(REGcommentsQUES, "--QUES--");
|
||||
REGcommentsRESULT = REGcommentsRESULT.replace(REGcommentsPOUND, "--POUND--");
|
||||
|
||||
var xmlhttp=false;
|
||||
/*@cc_on @*/
|
||||
|
||||
Reference in New Issue
Block a user