diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_br/vdc_db_query.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_br/vdc_db_query.php
index b45d821e..7143c727 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_br/vdc_db_query.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_br/vdc_db_query.php
@@ -514,7 +514,7 @@ if ($non_latin < 1)
$pass=ereg_replace("[^-_0-9a-zA-Z]","",$pass);
$length_in_sec = ereg_replace("[^0-9]","",$length_in_sec);
$phone_code = ereg_replace("[^0-9]","",$phone_code);
- $phone_number = ereg_replace("[^0-9]","",$phone_number);
+ $phone_number = ereg_replace("[^0-9a-zA-Z]","",$phone_number);
}
else
{
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_br/vdc_script_display.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_br/vdc_script_display.php
index 8c9bb87d..66308b73 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_br/vdc_script_display.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_br/vdc_script_display.php
@@ -262,6 +262,12 @@ if ($ignore_list_script < 1)
{$call_script = $agent_script_override;}
}
+$stmt="SELECT list_name,list_description from vicidial_lists where list_id='$list_id';";
+$rslt=mysql_query($stmt, $link);
+$row=mysql_fetch_row($rslt);
+$list_name = $row[0];
+$list_description = $row[1];
+
$stmt="SELECT script_name,script_text from vicidial_scripts where script_id='$call_script';";
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
@@ -275,6 +281,8 @@ if (eregi("iframe src",$script_text))
$vendor_id = eregi_replace(' ','+',$vendor_id);
$vendor_lead_code = eregi_replace(' ','+',$vendor_lead_code);
$list_id = eregi_replace(' ','+',$list_id);
+ $list_name = eregi_replace(' ','+',$list_name);
+ $list_description = eregi_replace(' ','+',$list_description);
$gmt_offset_now = eregi_replace(' ','+',$gmt_offset_now);
$phone_code = eregi_replace(' ','+',$phone_code);
$phone_number = eregi_replace(' ','+',$phone_number);
@@ -348,6 +356,8 @@ $script_text = eregi_replace('--A--lead_id--B--',"$lead_id",$script_text);
$script_text = eregi_replace('--A--vendor_id--B--',"$vendor_id",$script_text);
$script_text = eregi_replace('--A--vendor_lead_code--B--',"$vendor_lead_code",$script_text);
$script_text = eregi_replace('--A--list_id--B--',"$list_id",$script_text);
+$script_text = eregi_replace('--A--list_name--B--',"$list_name",$script_text);
+$script_text = eregi_replace('--A--list_description--B--',"$list_description",$script_text);
$script_text = eregi_replace('--A--gmt_offset_now--B--',"$gmt_offset_now",$script_text);
$script_text = eregi_replace('--A--phone_code--B--',"$phone_code",$script_text);
$script_text = eregi_replace('--A--phone_number--B--',"$phone_number",$script_text);
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_br/vicidial.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_br/vicidial.php
index bd189ced..e7270fc7 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_br/vicidial.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_br/vicidial.php
@@ -280,10 +280,10 @@
# 100315-1149 - fix for rare recording_log uniqueid issue on manual dial calls to same number
# 100327-0902 - fix for manual dial answering machine message
# 100413-1347 - Various fixes for logging and extended alt-dialing
-#
+# 100510-2014 - 2.2.1 release prep
-$version = '2.2.0-258';
-$build = '100413-1347';
+$version = '2.2.1-259';
+$build = '100510-2014';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=64;
$one_mysql_log=0;
@@ -5025,6 +5025,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5120,6 +5125,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -5441,6 +5451,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5536,6 +5551,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -6774,6 +6794,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -6869,6 +6894,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
@@ -7150,6 +7180,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
@@ -7275,6 +7310,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_de/vdc_db_query.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_de/vdc_db_query.php
index d88f1f8f..16041e2f 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_de/vdc_db_query.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_de/vdc_db_query.php
@@ -514,7 +514,7 @@ if ($non_latin < 1)
$pass=ereg_replace("[^-_0-9a-zA-Z]","",$pass);
$length_in_sec = ereg_replace("[^0-9]","",$length_in_sec);
$phone_code = ereg_replace("[^0-9]","",$phone_code);
- $phone_number = ereg_replace("[^0-9]","",$phone_number);
+ $phone_number = ereg_replace("[^0-9a-zA-Z]","",$phone_number);
}
else
{
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_de/vdc_script_display.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_de/vdc_script_display.php
index 8c9bb87d..66308b73 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_de/vdc_script_display.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_de/vdc_script_display.php
@@ -262,6 +262,12 @@ if ($ignore_list_script < 1)
{$call_script = $agent_script_override;}
}
+$stmt="SELECT list_name,list_description from vicidial_lists where list_id='$list_id';";
+$rslt=mysql_query($stmt, $link);
+$row=mysql_fetch_row($rslt);
+$list_name = $row[0];
+$list_description = $row[1];
+
$stmt="SELECT script_name,script_text from vicidial_scripts where script_id='$call_script';";
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
@@ -275,6 +281,8 @@ if (eregi("iframe src",$script_text))
$vendor_id = eregi_replace(' ','+',$vendor_id);
$vendor_lead_code = eregi_replace(' ','+',$vendor_lead_code);
$list_id = eregi_replace(' ','+',$list_id);
+ $list_name = eregi_replace(' ','+',$list_name);
+ $list_description = eregi_replace(' ','+',$list_description);
$gmt_offset_now = eregi_replace(' ','+',$gmt_offset_now);
$phone_code = eregi_replace(' ','+',$phone_code);
$phone_number = eregi_replace(' ','+',$phone_number);
@@ -348,6 +356,8 @@ $script_text = eregi_replace('--A--lead_id--B--',"$lead_id",$script_text);
$script_text = eregi_replace('--A--vendor_id--B--',"$vendor_id",$script_text);
$script_text = eregi_replace('--A--vendor_lead_code--B--',"$vendor_lead_code",$script_text);
$script_text = eregi_replace('--A--list_id--B--',"$list_id",$script_text);
+$script_text = eregi_replace('--A--list_name--B--',"$list_name",$script_text);
+$script_text = eregi_replace('--A--list_description--B--',"$list_description",$script_text);
$script_text = eregi_replace('--A--gmt_offset_now--B--',"$gmt_offset_now",$script_text);
$script_text = eregi_replace('--A--phone_code--B--',"$phone_code",$script_text);
$script_text = eregi_replace('--A--phone_number--B--',"$phone_number",$script_text);
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_de/vicidial.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_de/vicidial.php
index e55a28ca..33b4a21b 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_de/vicidial.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_de/vicidial.php
@@ -280,10 +280,10 @@
# 100315-1149 - fix for rare recording_log uniqueid issue on manual dial calls to same number
# 100327-0902 - fix for manual dial answering machine message
# 100413-1347 - Various fixes for logging and extended alt-dialing
-#
+# 100510-2014 - 2.2.1 release prep
-$version = '2.2.0-258';
-$build = '100413-1347';
+$version = '2.2.1-259';
+$build = '100510-2014';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=64;
$one_mysql_log=0;
@@ -5025,6 +5025,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5120,6 +5125,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -5441,6 +5451,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5536,6 +5551,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -6774,6 +6794,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -6869,6 +6894,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
@@ -7150,6 +7180,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
@@ -7275,6 +7310,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_el/vdc_db_query.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_el/vdc_db_query.php
index a95e4f07..5a380a49 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_el/vdc_db_query.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_el/vdc_db_query.php
@@ -514,7 +514,7 @@ if ($non_latin < 1)
$pass=ereg_replace("[^-_0-9a-zA-Z]","",$pass);
$length_in_sec = ereg_replace("[^0-9]","",$length_in_sec);
$phone_code = ereg_replace("[^0-9]","",$phone_code);
- $phone_number = ereg_replace("[^0-9]","",$phone_number);
+ $phone_number = ereg_replace("[^0-9a-zA-Z]","",$phone_number);
}
else
{
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_el/vdc_script_display.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_el/vdc_script_display.php
index 8c9bb87d..66308b73 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_el/vdc_script_display.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_el/vdc_script_display.php
@@ -262,6 +262,12 @@ if ($ignore_list_script < 1)
{$call_script = $agent_script_override;}
}
+$stmt="SELECT list_name,list_description from vicidial_lists where list_id='$list_id';";
+$rslt=mysql_query($stmt, $link);
+$row=mysql_fetch_row($rslt);
+$list_name = $row[0];
+$list_description = $row[1];
+
$stmt="SELECT script_name,script_text from vicidial_scripts where script_id='$call_script';";
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
@@ -275,6 +281,8 @@ if (eregi("iframe src",$script_text))
$vendor_id = eregi_replace(' ','+',$vendor_id);
$vendor_lead_code = eregi_replace(' ','+',$vendor_lead_code);
$list_id = eregi_replace(' ','+',$list_id);
+ $list_name = eregi_replace(' ','+',$list_name);
+ $list_description = eregi_replace(' ','+',$list_description);
$gmt_offset_now = eregi_replace(' ','+',$gmt_offset_now);
$phone_code = eregi_replace(' ','+',$phone_code);
$phone_number = eregi_replace(' ','+',$phone_number);
@@ -348,6 +356,8 @@ $script_text = eregi_replace('--A--lead_id--B--',"$lead_id",$script_text);
$script_text = eregi_replace('--A--vendor_id--B--',"$vendor_id",$script_text);
$script_text = eregi_replace('--A--vendor_lead_code--B--',"$vendor_lead_code",$script_text);
$script_text = eregi_replace('--A--list_id--B--',"$list_id",$script_text);
+$script_text = eregi_replace('--A--list_name--B--',"$list_name",$script_text);
+$script_text = eregi_replace('--A--list_description--B--',"$list_description",$script_text);
$script_text = eregi_replace('--A--gmt_offset_now--B--',"$gmt_offset_now",$script_text);
$script_text = eregi_replace('--A--phone_code--B--',"$phone_code",$script_text);
$script_text = eregi_replace('--A--phone_number--B--',"$phone_number",$script_text);
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_el/vicidial.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_el/vicidial.php
index f4250380..7a4577f2 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_el/vicidial.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_el/vicidial.php
@@ -280,10 +280,10 @@
# 100315-1149 - fix for rare recording_log uniqueid issue on manual dial calls to same number
# 100327-0902 - fix for manual dial answering machine message
# 100413-1347 - Various fixes for logging and extended alt-dialing
-#
+# 100510-2014 - 2.2.1 release prep
-$version = '2.2.0-258';
-$build = '100413-1347';
+$version = '2.2.1-259';
+$build = '100510-2014';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=64;
$one_mysql_log=0;
@@ -5025,6 +5025,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5120,6 +5125,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -5441,6 +5451,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5536,6 +5551,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -6774,6 +6794,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -6869,6 +6894,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
@@ -7150,6 +7180,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
@@ -7275,6 +7310,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_es/vdc_db_query.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_es/vdc_db_query.php
index befb5107..f92889b4 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_es/vdc_db_query.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_es/vdc_db_query.php
@@ -514,7 +514,7 @@ if ($non_latin < 1)
$pass=ereg_replace("[^-_0-9a-zA-Z]","",$pass);
$length_in_sec = ereg_replace("[^0-9]","",$length_in_sec);
$phone_code = ereg_replace("[^0-9]","",$phone_code);
- $phone_number = ereg_replace("[^0-9]","",$phone_number);
+ $phone_number = ereg_replace("[^0-9a-zA-Z]","",$phone_number);
}
else
{
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_es/vdc_script_display.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_es/vdc_script_display.php
index 8c9bb87d..66308b73 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_es/vdc_script_display.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_es/vdc_script_display.php
@@ -262,6 +262,12 @@ if ($ignore_list_script < 1)
{$call_script = $agent_script_override;}
}
+$stmt="SELECT list_name,list_description from vicidial_lists where list_id='$list_id';";
+$rslt=mysql_query($stmt, $link);
+$row=mysql_fetch_row($rslt);
+$list_name = $row[0];
+$list_description = $row[1];
+
$stmt="SELECT script_name,script_text from vicidial_scripts where script_id='$call_script';";
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
@@ -275,6 +281,8 @@ if (eregi("iframe src",$script_text))
$vendor_id = eregi_replace(' ','+',$vendor_id);
$vendor_lead_code = eregi_replace(' ','+',$vendor_lead_code);
$list_id = eregi_replace(' ','+',$list_id);
+ $list_name = eregi_replace(' ','+',$list_name);
+ $list_description = eregi_replace(' ','+',$list_description);
$gmt_offset_now = eregi_replace(' ','+',$gmt_offset_now);
$phone_code = eregi_replace(' ','+',$phone_code);
$phone_number = eregi_replace(' ','+',$phone_number);
@@ -348,6 +356,8 @@ $script_text = eregi_replace('--A--lead_id--B--',"$lead_id",$script_text);
$script_text = eregi_replace('--A--vendor_id--B--',"$vendor_id",$script_text);
$script_text = eregi_replace('--A--vendor_lead_code--B--',"$vendor_lead_code",$script_text);
$script_text = eregi_replace('--A--list_id--B--',"$list_id",$script_text);
+$script_text = eregi_replace('--A--list_name--B--',"$list_name",$script_text);
+$script_text = eregi_replace('--A--list_description--B--',"$list_description",$script_text);
$script_text = eregi_replace('--A--gmt_offset_now--B--',"$gmt_offset_now",$script_text);
$script_text = eregi_replace('--A--phone_code--B--',"$phone_code",$script_text);
$script_text = eregi_replace('--A--phone_number--B--',"$phone_number",$script_text);
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_es/vicidial.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_es/vicidial.php
index aff22ce6..0bf8094f 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_es/vicidial.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_es/vicidial.php
@@ -280,10 +280,10 @@
# 100315-1149 - fix for rare recording_log uniqueid issue on manual dial calls to same number
# 100327-0902 - fix for manual dial answering machine message
# 100413-1347 - Various fixes for logging and extended alt-dialing
-#
+# 100510-2014 - 2.2.1 release prep
-$version = '2.2.0-258';
-$build = '100413-1347';
+$version = '2.2.1-259';
+$build = '100510-2014';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=64;
$one_mysql_log=0;
@@ -5025,6 +5025,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5120,6 +5125,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -5441,6 +5451,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5536,6 +5551,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -6774,6 +6794,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -6869,6 +6894,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
@@ -7150,6 +7180,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
@@ -7275,6 +7310,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_fr/vdc_db_query.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_fr/vdc_db_query.php
index 5616afa2..03dab10d 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_fr/vdc_db_query.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_fr/vdc_db_query.php
@@ -514,7 +514,7 @@ if ($non_latin < 1)
$pass=ereg_replace("[^-_0-9a-zA-Z]","",$pass);
$length_in_sec = ereg_replace("[^0-9]","",$length_in_sec);
$phone_code = ereg_replace("[^0-9]","",$phone_code);
- $phone_number = ereg_replace("[^0-9]","",$phone_number);
+ $phone_number = ereg_replace("[^0-9a-zA-Z]","",$phone_number);
}
else
{
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_fr/vdc_script_display.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_fr/vdc_script_display.php
index 8c9bb87d..66308b73 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_fr/vdc_script_display.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_fr/vdc_script_display.php
@@ -262,6 +262,12 @@ if ($ignore_list_script < 1)
{$call_script = $agent_script_override;}
}
+$stmt="SELECT list_name,list_description from vicidial_lists where list_id='$list_id';";
+$rslt=mysql_query($stmt, $link);
+$row=mysql_fetch_row($rslt);
+$list_name = $row[0];
+$list_description = $row[1];
+
$stmt="SELECT script_name,script_text from vicidial_scripts where script_id='$call_script';";
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
@@ -275,6 +281,8 @@ if (eregi("iframe src",$script_text))
$vendor_id = eregi_replace(' ','+',$vendor_id);
$vendor_lead_code = eregi_replace(' ','+',$vendor_lead_code);
$list_id = eregi_replace(' ','+',$list_id);
+ $list_name = eregi_replace(' ','+',$list_name);
+ $list_description = eregi_replace(' ','+',$list_description);
$gmt_offset_now = eregi_replace(' ','+',$gmt_offset_now);
$phone_code = eregi_replace(' ','+',$phone_code);
$phone_number = eregi_replace(' ','+',$phone_number);
@@ -348,6 +356,8 @@ $script_text = eregi_replace('--A--lead_id--B--',"$lead_id",$script_text);
$script_text = eregi_replace('--A--vendor_id--B--',"$vendor_id",$script_text);
$script_text = eregi_replace('--A--vendor_lead_code--B--',"$vendor_lead_code",$script_text);
$script_text = eregi_replace('--A--list_id--B--',"$list_id",$script_text);
+$script_text = eregi_replace('--A--list_name--B--',"$list_name",$script_text);
+$script_text = eregi_replace('--A--list_description--B--',"$list_description",$script_text);
$script_text = eregi_replace('--A--gmt_offset_now--B--',"$gmt_offset_now",$script_text);
$script_text = eregi_replace('--A--phone_code--B--',"$phone_code",$script_text);
$script_text = eregi_replace('--A--phone_number--B--',"$phone_number",$script_text);
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_fr/vicidial.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_fr/vicidial.php
index fe551f90..4c34d0bf 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_fr/vicidial.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_fr/vicidial.php
@@ -280,10 +280,10 @@
# 100315-1149 - fix for rare recording_log uniqueid issue on manual dial calls to same number
# 100327-0902 - fix for manual dial answering machine message
# 100413-1347 - Various fixes for logging and extended alt-dialing
-#
+# 100510-2014 - 2.2.1 release prep
-$version = '2.2.0-258';
-$build = '100413-1347';
+$version = '2.2.1-259';
+$build = '100510-2014';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=64;
$one_mysql_log=0;
@@ -5025,6 +5025,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5120,6 +5125,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -5441,6 +5451,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5536,6 +5551,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -6774,6 +6794,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -6869,6 +6894,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
@@ -7150,6 +7180,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
@@ -7275,6 +7310,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_it/vdc_db_query.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_it/vdc_db_query.php
index d186768d..75ac9c8c 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_it/vdc_db_query.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_it/vdc_db_query.php
@@ -514,7 +514,7 @@ if ($non_latin < 1)
$pass=ereg_replace("[^-_0-9a-zA-Z]","",$pass);
$length_in_sec = ereg_replace("[^0-9]","",$length_in_sec);
$phone_code = ereg_replace("[^0-9]","",$phone_code);
- $phone_number = ereg_replace("[^0-9]","",$phone_number);
+ $phone_number = ereg_replace("[^0-9a-zA-Z]","",$phone_number);
}
else
{
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_it/vdc_script_display.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_it/vdc_script_display.php
index 8c9bb87d..66308b73 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_it/vdc_script_display.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_it/vdc_script_display.php
@@ -262,6 +262,12 @@ if ($ignore_list_script < 1)
{$call_script = $agent_script_override;}
}
+$stmt="SELECT list_name,list_description from vicidial_lists where list_id='$list_id';";
+$rslt=mysql_query($stmt, $link);
+$row=mysql_fetch_row($rslt);
+$list_name = $row[0];
+$list_description = $row[1];
+
$stmt="SELECT script_name,script_text from vicidial_scripts where script_id='$call_script';";
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
@@ -275,6 +281,8 @@ if (eregi("iframe src",$script_text))
$vendor_id = eregi_replace(' ','+',$vendor_id);
$vendor_lead_code = eregi_replace(' ','+',$vendor_lead_code);
$list_id = eregi_replace(' ','+',$list_id);
+ $list_name = eregi_replace(' ','+',$list_name);
+ $list_description = eregi_replace(' ','+',$list_description);
$gmt_offset_now = eregi_replace(' ','+',$gmt_offset_now);
$phone_code = eregi_replace(' ','+',$phone_code);
$phone_number = eregi_replace(' ','+',$phone_number);
@@ -348,6 +356,8 @@ $script_text = eregi_replace('--A--lead_id--B--',"$lead_id",$script_text);
$script_text = eregi_replace('--A--vendor_id--B--',"$vendor_id",$script_text);
$script_text = eregi_replace('--A--vendor_lead_code--B--',"$vendor_lead_code",$script_text);
$script_text = eregi_replace('--A--list_id--B--',"$list_id",$script_text);
+$script_text = eregi_replace('--A--list_name--B--',"$list_name",$script_text);
+$script_text = eregi_replace('--A--list_description--B--',"$list_description",$script_text);
$script_text = eregi_replace('--A--gmt_offset_now--B--',"$gmt_offset_now",$script_text);
$script_text = eregi_replace('--A--phone_code--B--',"$phone_code",$script_text);
$script_text = eregi_replace('--A--phone_number--B--',"$phone_number",$script_text);
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_it/vicidial.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_it/vicidial.php
index c8bdc2ee..edc05108 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_it/vicidial.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_it/vicidial.php
@@ -280,10 +280,10 @@
# 100315-1149 - fix for rare recording_log uniqueid issue on manual dial calls to same number
# 100327-0902 - fix for manual dial answering machine message
# 100413-1347 - Various fixes for logging and extended alt-dialing
-#
+# 100510-2014 - 2.2.1 release prep
-$version = '2.2.0-258';
-$build = '100413-1347';
+$version = '2.2.1-259';
+$build = '100510-2014';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=64;
$one_mysql_log=0;
@@ -5025,6 +5025,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5120,6 +5125,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -5441,6 +5451,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5536,6 +5551,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -6774,6 +6794,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -6869,6 +6894,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
@@ -7150,6 +7180,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
@@ -7275,6 +7310,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_nl/vdc_db_query.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_nl/vdc_db_query.php
index 5a505dde..20ee4845 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_nl/vdc_db_query.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_nl/vdc_db_query.php
@@ -514,7 +514,7 @@ if ($non_latin < 1)
$pass=ereg_replace("[^-_0-9a-zA-Z]","",$pass);
$length_in_sec = ereg_replace("[^0-9]","",$length_in_sec);
$phone_code = ereg_replace("[^0-9]","",$phone_code);
- $phone_number = ereg_replace("[^0-9]","",$phone_number);
+ $phone_number = ereg_replace("[^0-9a-zA-Z]","",$phone_number);
}
else
{
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_nl/vdc_script_display.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_nl/vdc_script_display.php
index 8c9bb87d..66308b73 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_nl/vdc_script_display.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_nl/vdc_script_display.php
@@ -262,6 +262,12 @@ if ($ignore_list_script < 1)
{$call_script = $agent_script_override;}
}
+$stmt="SELECT list_name,list_description from vicidial_lists where list_id='$list_id';";
+$rslt=mysql_query($stmt, $link);
+$row=mysql_fetch_row($rslt);
+$list_name = $row[0];
+$list_description = $row[1];
+
$stmt="SELECT script_name,script_text from vicidial_scripts where script_id='$call_script';";
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
@@ -275,6 +281,8 @@ if (eregi("iframe src",$script_text))
$vendor_id = eregi_replace(' ','+',$vendor_id);
$vendor_lead_code = eregi_replace(' ','+',$vendor_lead_code);
$list_id = eregi_replace(' ','+',$list_id);
+ $list_name = eregi_replace(' ','+',$list_name);
+ $list_description = eregi_replace(' ','+',$list_description);
$gmt_offset_now = eregi_replace(' ','+',$gmt_offset_now);
$phone_code = eregi_replace(' ','+',$phone_code);
$phone_number = eregi_replace(' ','+',$phone_number);
@@ -348,6 +356,8 @@ $script_text = eregi_replace('--A--lead_id--B--',"$lead_id",$script_text);
$script_text = eregi_replace('--A--vendor_id--B--',"$vendor_id",$script_text);
$script_text = eregi_replace('--A--vendor_lead_code--B--',"$vendor_lead_code",$script_text);
$script_text = eregi_replace('--A--list_id--B--',"$list_id",$script_text);
+$script_text = eregi_replace('--A--list_name--B--',"$list_name",$script_text);
+$script_text = eregi_replace('--A--list_description--B--',"$list_description",$script_text);
$script_text = eregi_replace('--A--gmt_offset_now--B--',"$gmt_offset_now",$script_text);
$script_text = eregi_replace('--A--phone_code--B--',"$phone_code",$script_text);
$script_text = eregi_replace('--A--phone_number--B--',"$phone_number",$script_text);
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_nl/vicidial.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_nl/vicidial.php
index abb5985b..270f252c 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_nl/vicidial.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_nl/vicidial.php
@@ -280,10 +280,10 @@
# 100315-1149 - fix for rare recording_log uniqueid issue on manual dial calls to same number
# 100327-0902 - fix for manual dial answering machine message
# 100413-1347 - Various fixes for logging and extended alt-dialing
-#
+# 100510-2014 - 2.2.1 release prep
-$version = '2.2.0-258';
-$build = '100413-1347';
+$version = '2.2.1-259';
+$build = '100510-2014';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=64;
$one_mysql_log=0;
@@ -5025,6 +5025,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5120,6 +5125,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -5441,6 +5451,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5536,6 +5551,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -6774,6 +6794,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -6869,6 +6894,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
@@ -7150,6 +7180,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
@@ -7275,6 +7310,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pl/vdc_db_query.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pl/vdc_db_query.php
index 6930f5a9..b7276f38 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pl/vdc_db_query.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pl/vdc_db_query.php
@@ -514,7 +514,7 @@ if ($non_latin < 1)
$pass=ereg_replace("[^-_0-9a-zA-Z]","",$pass);
$length_in_sec = ereg_replace("[^0-9]","",$length_in_sec);
$phone_code = ereg_replace("[^0-9]","",$phone_code);
- $phone_number = ereg_replace("[^0-9]","",$phone_number);
+ $phone_number = ereg_replace("[^0-9a-zA-Z]","",$phone_number);
}
else
{
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pl/vdc_script_display.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pl/vdc_script_display.php
index 8c9bb87d..66308b73 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pl/vdc_script_display.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pl/vdc_script_display.php
@@ -262,6 +262,12 @@ if ($ignore_list_script < 1)
{$call_script = $agent_script_override;}
}
+$stmt="SELECT list_name,list_description from vicidial_lists where list_id='$list_id';";
+$rslt=mysql_query($stmt, $link);
+$row=mysql_fetch_row($rslt);
+$list_name = $row[0];
+$list_description = $row[1];
+
$stmt="SELECT script_name,script_text from vicidial_scripts where script_id='$call_script';";
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
@@ -275,6 +281,8 @@ if (eregi("iframe src",$script_text))
$vendor_id = eregi_replace(' ','+',$vendor_id);
$vendor_lead_code = eregi_replace(' ','+',$vendor_lead_code);
$list_id = eregi_replace(' ','+',$list_id);
+ $list_name = eregi_replace(' ','+',$list_name);
+ $list_description = eregi_replace(' ','+',$list_description);
$gmt_offset_now = eregi_replace(' ','+',$gmt_offset_now);
$phone_code = eregi_replace(' ','+',$phone_code);
$phone_number = eregi_replace(' ','+',$phone_number);
@@ -348,6 +356,8 @@ $script_text = eregi_replace('--A--lead_id--B--',"$lead_id",$script_text);
$script_text = eregi_replace('--A--vendor_id--B--',"$vendor_id",$script_text);
$script_text = eregi_replace('--A--vendor_lead_code--B--',"$vendor_lead_code",$script_text);
$script_text = eregi_replace('--A--list_id--B--',"$list_id",$script_text);
+$script_text = eregi_replace('--A--list_name--B--',"$list_name",$script_text);
+$script_text = eregi_replace('--A--list_description--B--',"$list_description",$script_text);
$script_text = eregi_replace('--A--gmt_offset_now--B--',"$gmt_offset_now",$script_text);
$script_text = eregi_replace('--A--phone_code--B--',"$phone_code",$script_text);
$script_text = eregi_replace('--A--phone_number--B--',"$phone_number",$script_text);
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pl/vicidial.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pl/vicidial.php
index 3c4069be..6a4fab70 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pl/vicidial.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pl/vicidial.php
@@ -280,10 +280,10 @@
# 100315-1149 - fix for rare recording_log uniqueid issue on manual dial calls to same number
# 100327-0902 - fix for manual dial answering machine message
# 100413-1347 - Various fixes for logging and extended alt-dialing
-#
+# 100510-2014 - 2.2.1 release prep
-$version = '2.2.0-258';
-$build = '100413-1347';
+$version = '2.2.1-259';
+$build = '100510-2014';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=64;
$one_mysql_log=0;
@@ -5025,6 +5025,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5120,6 +5125,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -5441,6 +5451,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5536,6 +5551,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -6774,6 +6794,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -6869,6 +6894,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
@@ -7150,6 +7180,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
@@ -7275,6 +7310,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pt/vdc_db_query.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pt/vdc_db_query.php
index de3025e9..42fc1ea2 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pt/vdc_db_query.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pt/vdc_db_query.php
@@ -514,7 +514,7 @@ if ($non_latin < 1)
$pass=ereg_replace("[^-_0-9a-zA-Z]","",$pass);
$length_in_sec = ereg_replace("[^0-9]","",$length_in_sec);
$phone_code = ereg_replace("[^0-9]","",$phone_code);
- $phone_number = ereg_replace("[^0-9]","",$phone_number);
+ $phone_number = ereg_replace("[^0-9a-zA-Z]","",$phone_number);
}
else
{
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pt/vdc_script_display.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pt/vdc_script_display.php
index 8c9bb87d..66308b73 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pt/vdc_script_display.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pt/vdc_script_display.php
@@ -262,6 +262,12 @@ if ($ignore_list_script < 1)
{$call_script = $agent_script_override;}
}
+$stmt="SELECT list_name,list_description from vicidial_lists where list_id='$list_id';";
+$rslt=mysql_query($stmt, $link);
+$row=mysql_fetch_row($rslt);
+$list_name = $row[0];
+$list_description = $row[1];
+
$stmt="SELECT script_name,script_text from vicidial_scripts where script_id='$call_script';";
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
@@ -275,6 +281,8 @@ if (eregi("iframe src",$script_text))
$vendor_id = eregi_replace(' ','+',$vendor_id);
$vendor_lead_code = eregi_replace(' ','+',$vendor_lead_code);
$list_id = eregi_replace(' ','+',$list_id);
+ $list_name = eregi_replace(' ','+',$list_name);
+ $list_description = eregi_replace(' ','+',$list_description);
$gmt_offset_now = eregi_replace(' ','+',$gmt_offset_now);
$phone_code = eregi_replace(' ','+',$phone_code);
$phone_number = eregi_replace(' ','+',$phone_number);
@@ -348,6 +356,8 @@ $script_text = eregi_replace('--A--lead_id--B--',"$lead_id",$script_text);
$script_text = eregi_replace('--A--vendor_id--B--',"$vendor_id",$script_text);
$script_text = eregi_replace('--A--vendor_lead_code--B--',"$vendor_lead_code",$script_text);
$script_text = eregi_replace('--A--list_id--B--',"$list_id",$script_text);
+$script_text = eregi_replace('--A--list_name--B--',"$list_name",$script_text);
+$script_text = eregi_replace('--A--list_description--B--',"$list_description",$script_text);
$script_text = eregi_replace('--A--gmt_offset_now--B--',"$gmt_offset_now",$script_text);
$script_text = eregi_replace('--A--phone_code--B--',"$phone_code",$script_text);
$script_text = eregi_replace('--A--phone_number--B--',"$phone_number",$script_text);
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pt/vicidial.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pt/vicidial.php
index a405637e..df3dab1e 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pt/vicidial.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_pt/vicidial.php
@@ -280,10 +280,10 @@
# 100315-1149 - fix for rare recording_log uniqueid issue on manual dial calls to same number
# 100327-0902 - fix for manual dial answering machine message
# 100413-1347 - Various fixes for logging and extended alt-dialing
-#
+# 100510-2014 - 2.2.1 release prep
-$version = '2.2.0-258';
-$build = '100413-1347';
+$version = '2.2.1-259';
+$build = '100510-2014';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=64;
$one_mysql_log=0;
@@ -5025,6 +5025,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5120,6 +5125,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -5441,6 +5451,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5536,6 +5551,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -6774,6 +6794,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -6869,6 +6894,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
@@ -7150,6 +7180,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
@@ -7275,6 +7310,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_ru/vdc_db_query.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_ru/vdc_db_query.php
index 20cf7d5f..e80f6112 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_ru/vdc_db_query.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_ru/vdc_db_query.php
@@ -514,7 +514,7 @@ if ($non_latin < 1)
$pass=ereg_replace("[^-_0-9a-zA-Z]","",$pass);
$length_in_sec = ereg_replace("[^0-9]","",$length_in_sec);
$phone_code = ereg_replace("[^0-9]","",$phone_code);
- $phone_number = ereg_replace("[^0-9]","",$phone_number);
+ $phone_number = ereg_replace("[^0-9a-zA-Z]","",$phone_number);
}
else
{
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_ru/vdc_script_display.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_ru/vdc_script_display.php
index 8c9bb87d..66308b73 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_ru/vdc_script_display.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_ru/vdc_script_display.php
@@ -262,6 +262,12 @@ if ($ignore_list_script < 1)
{$call_script = $agent_script_override;}
}
+$stmt="SELECT list_name,list_description from vicidial_lists where list_id='$list_id';";
+$rslt=mysql_query($stmt, $link);
+$row=mysql_fetch_row($rslt);
+$list_name = $row[0];
+$list_description = $row[1];
+
$stmt="SELECT script_name,script_text from vicidial_scripts where script_id='$call_script';";
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
@@ -275,6 +281,8 @@ if (eregi("iframe src",$script_text))
$vendor_id = eregi_replace(' ','+',$vendor_id);
$vendor_lead_code = eregi_replace(' ','+',$vendor_lead_code);
$list_id = eregi_replace(' ','+',$list_id);
+ $list_name = eregi_replace(' ','+',$list_name);
+ $list_description = eregi_replace(' ','+',$list_description);
$gmt_offset_now = eregi_replace(' ','+',$gmt_offset_now);
$phone_code = eregi_replace(' ','+',$phone_code);
$phone_number = eregi_replace(' ','+',$phone_number);
@@ -348,6 +356,8 @@ $script_text = eregi_replace('--A--lead_id--B--',"$lead_id",$script_text);
$script_text = eregi_replace('--A--vendor_id--B--',"$vendor_id",$script_text);
$script_text = eregi_replace('--A--vendor_lead_code--B--',"$vendor_lead_code",$script_text);
$script_text = eregi_replace('--A--list_id--B--',"$list_id",$script_text);
+$script_text = eregi_replace('--A--list_name--B--',"$list_name",$script_text);
+$script_text = eregi_replace('--A--list_description--B--',"$list_description",$script_text);
$script_text = eregi_replace('--A--gmt_offset_now--B--',"$gmt_offset_now",$script_text);
$script_text = eregi_replace('--A--phone_code--B--',"$phone_code",$script_text);
$script_text = eregi_replace('--A--phone_number--B--',"$phone_number",$script_text);
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_ru/vicidial.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_ru/vicidial.php
index 24c75182..5fdf271d 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_ru/vicidial.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_ru/vicidial.php
@@ -280,10 +280,10 @@
# 100315-1149 - fix for rare recording_log uniqueid issue on manual dial calls to same number
# 100327-0902 - fix for manual dial answering machine message
# 100413-1347 - Various fixes for logging and extended alt-dialing
-#
+# 100510-2014 - 2.2.1 release prep
-$version = '2.2.0-258';
-$build = '100413-1347';
+$version = '2.2.1-259';
+$build = '100510-2014';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=64;
$one_mysql_log=0;
@@ -5025,6 +5025,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5120,6 +5125,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -5441,6 +5451,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5536,6 +5551,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -6774,6 +6794,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -6869,6 +6894,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
@@ -7150,6 +7180,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
@@ -7275,6 +7310,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_se/vdc_db_query.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_se/vdc_db_query.php
index f4db3a5d..b46dba44 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_se/vdc_db_query.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_se/vdc_db_query.php
@@ -514,7 +514,7 @@ if ($non_latin < 1)
$pass=ereg_replace("[^-_0-9a-zA-Z]","",$pass);
$length_in_sec = ereg_replace("[^0-9]","",$length_in_sec);
$phone_code = ereg_replace("[^0-9]","",$phone_code);
- $phone_number = ereg_replace("[^0-9]","",$phone_number);
+ $phone_number = ereg_replace("[^0-9a-zA-Z]","",$phone_number);
}
else
{
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_se/vdc_script_display.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_se/vdc_script_display.php
index 8c9bb87d..66308b73 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_se/vdc_script_display.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_se/vdc_script_display.php
@@ -262,6 +262,12 @@ if ($ignore_list_script < 1)
{$call_script = $agent_script_override;}
}
+$stmt="SELECT list_name,list_description from vicidial_lists where list_id='$list_id';";
+$rslt=mysql_query($stmt, $link);
+$row=mysql_fetch_row($rslt);
+$list_name = $row[0];
+$list_description = $row[1];
+
$stmt="SELECT script_name,script_text from vicidial_scripts where script_id='$call_script';";
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
@@ -275,6 +281,8 @@ if (eregi("iframe src",$script_text))
$vendor_id = eregi_replace(' ','+',$vendor_id);
$vendor_lead_code = eregi_replace(' ','+',$vendor_lead_code);
$list_id = eregi_replace(' ','+',$list_id);
+ $list_name = eregi_replace(' ','+',$list_name);
+ $list_description = eregi_replace(' ','+',$list_description);
$gmt_offset_now = eregi_replace(' ','+',$gmt_offset_now);
$phone_code = eregi_replace(' ','+',$phone_code);
$phone_number = eregi_replace(' ','+',$phone_number);
@@ -348,6 +356,8 @@ $script_text = eregi_replace('--A--lead_id--B--',"$lead_id",$script_text);
$script_text = eregi_replace('--A--vendor_id--B--',"$vendor_id",$script_text);
$script_text = eregi_replace('--A--vendor_lead_code--B--',"$vendor_lead_code",$script_text);
$script_text = eregi_replace('--A--list_id--B--',"$list_id",$script_text);
+$script_text = eregi_replace('--A--list_name--B--',"$list_name",$script_text);
+$script_text = eregi_replace('--A--list_description--B--',"$list_description",$script_text);
$script_text = eregi_replace('--A--gmt_offset_now--B--',"$gmt_offset_now",$script_text);
$script_text = eregi_replace('--A--phone_code--B--',"$phone_code",$script_text);
$script_text = eregi_replace('--A--phone_number--B--',"$phone_number",$script_text);
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_se/vicidial.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_se/vicidial.php
index 609d5f49..044ce328 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_se/vicidial.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_se/vicidial.php
@@ -280,10 +280,10 @@
# 100315-1149 - fix for rare recording_log uniqueid issue on manual dial calls to same number
# 100327-0902 - fix for manual dial answering machine message
# 100413-1347 - Various fixes for logging and extended alt-dialing
-#
+# 100510-2014 - 2.2.1 release prep
-$version = '2.2.0-258';
-$build = '100413-1347';
+$version = '2.2.1-259';
+$build = '100510-2014';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=64;
$one_mysql_log=0;
@@ -5026,6 +5026,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5121,6 +5126,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -5442,6 +5452,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5537,6 +5552,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -6775,6 +6795,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -6870,6 +6895,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
@@ -7151,6 +7181,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
@@ -7276,6 +7311,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_sk/vdc_db_query.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_sk/vdc_db_query.php
index 3b1319a3..7a629a11 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_sk/vdc_db_query.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_sk/vdc_db_query.php
@@ -514,7 +514,7 @@ if ($non_latin < 1)
$pass=ereg_replace("[^-_0-9a-zA-Z]","",$pass);
$length_in_sec = ereg_replace("[^0-9]","",$length_in_sec);
$phone_code = ereg_replace("[^0-9]","",$phone_code);
- $phone_number = ereg_replace("[^0-9]","",$phone_number);
+ $phone_number = ereg_replace("[^0-9a-zA-Z]","",$phone_number);
}
else
{
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_sk/vdc_script_display.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_sk/vdc_script_display.php
index 8c9bb87d..66308b73 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_sk/vdc_script_display.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_sk/vdc_script_display.php
@@ -262,6 +262,12 @@ if ($ignore_list_script < 1)
{$call_script = $agent_script_override;}
}
+$stmt="SELECT list_name,list_description from vicidial_lists where list_id='$list_id';";
+$rslt=mysql_query($stmt, $link);
+$row=mysql_fetch_row($rslt);
+$list_name = $row[0];
+$list_description = $row[1];
+
$stmt="SELECT script_name,script_text from vicidial_scripts where script_id='$call_script';";
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
@@ -275,6 +281,8 @@ if (eregi("iframe src",$script_text))
$vendor_id = eregi_replace(' ','+',$vendor_id);
$vendor_lead_code = eregi_replace(' ','+',$vendor_lead_code);
$list_id = eregi_replace(' ','+',$list_id);
+ $list_name = eregi_replace(' ','+',$list_name);
+ $list_description = eregi_replace(' ','+',$list_description);
$gmt_offset_now = eregi_replace(' ','+',$gmt_offset_now);
$phone_code = eregi_replace(' ','+',$phone_code);
$phone_number = eregi_replace(' ','+',$phone_number);
@@ -348,6 +356,8 @@ $script_text = eregi_replace('--A--lead_id--B--',"$lead_id",$script_text);
$script_text = eregi_replace('--A--vendor_id--B--',"$vendor_id",$script_text);
$script_text = eregi_replace('--A--vendor_lead_code--B--',"$vendor_lead_code",$script_text);
$script_text = eregi_replace('--A--list_id--B--',"$list_id",$script_text);
+$script_text = eregi_replace('--A--list_name--B--',"$list_name",$script_text);
+$script_text = eregi_replace('--A--list_description--B--',"$list_description",$script_text);
$script_text = eregi_replace('--A--gmt_offset_now--B--',"$gmt_offset_now",$script_text);
$script_text = eregi_replace('--A--phone_code--B--',"$phone_code",$script_text);
$script_text = eregi_replace('--A--phone_number--B--',"$phone_number",$script_text);
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_sk/vicidial.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_sk/vicidial.php
index 7c2331e6..60c5d013 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_sk/vicidial.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_sk/vicidial.php
@@ -280,10 +280,10 @@
# 100315-1149 - fix for rare recording_log uniqueid issue on manual dial calls to same number
# 100327-0902 - fix for manual dial answering machine message
# 100413-1347 - Various fixes for logging and extended alt-dialing
-#
+# 100510-2014 - 2.2.1 release prep
-$version = '2.2.0-258';
-$build = '100413-1347';
+$version = '2.2.1-259';
+$build = '100510-2014';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=64;
$one_mysql_log=0;
@@ -5025,6 +5025,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5120,6 +5125,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -5441,6 +5451,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5536,6 +5551,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -6774,6 +6794,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -6869,6 +6894,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
@@ -7150,6 +7180,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
@@ -7275,6 +7310,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_tw/vdc_db_query.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_tw/vdc_db_query.php
index 6b8003dc..729413b9 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_tw/vdc_db_query.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_tw/vdc_db_query.php
@@ -514,7 +514,7 @@ if ($non_latin < 1)
$pass=ereg_replace("[^-_0-9a-zA-Z]","",$pass);
$length_in_sec = ereg_replace("[^0-9]","",$length_in_sec);
$phone_code = ereg_replace("[^0-9]","",$phone_code);
- $phone_number = ereg_replace("[^0-9]","",$phone_number);
+ $phone_number = ereg_replace("[^0-9a-zA-Z]","",$phone_number);
}
else
{
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_tw/vdc_script_display.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_tw/vdc_script_display.php
index 8c9bb87d..66308b73 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_tw/vdc_script_display.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_tw/vdc_script_display.php
@@ -262,6 +262,12 @@ if ($ignore_list_script < 1)
{$call_script = $agent_script_override;}
}
+$stmt="SELECT list_name,list_description from vicidial_lists where list_id='$list_id';";
+$rslt=mysql_query($stmt, $link);
+$row=mysql_fetch_row($rslt);
+$list_name = $row[0];
+$list_description = $row[1];
+
$stmt="SELECT script_name,script_text from vicidial_scripts where script_id='$call_script';";
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
@@ -275,6 +281,8 @@ if (eregi("iframe src",$script_text))
$vendor_id = eregi_replace(' ','+',$vendor_id);
$vendor_lead_code = eregi_replace(' ','+',$vendor_lead_code);
$list_id = eregi_replace(' ','+',$list_id);
+ $list_name = eregi_replace(' ','+',$list_name);
+ $list_description = eregi_replace(' ','+',$list_description);
$gmt_offset_now = eregi_replace(' ','+',$gmt_offset_now);
$phone_code = eregi_replace(' ','+',$phone_code);
$phone_number = eregi_replace(' ','+',$phone_number);
@@ -348,6 +356,8 @@ $script_text = eregi_replace('--A--lead_id--B--',"$lead_id",$script_text);
$script_text = eregi_replace('--A--vendor_id--B--',"$vendor_id",$script_text);
$script_text = eregi_replace('--A--vendor_lead_code--B--',"$vendor_lead_code",$script_text);
$script_text = eregi_replace('--A--list_id--B--',"$list_id",$script_text);
+$script_text = eregi_replace('--A--list_name--B--',"$list_name",$script_text);
+$script_text = eregi_replace('--A--list_description--B--',"$list_description",$script_text);
$script_text = eregi_replace('--A--gmt_offset_now--B--',"$gmt_offset_now",$script_text);
$script_text = eregi_replace('--A--phone_code--B--',"$phone_code",$script_text);
$script_text = eregi_replace('--A--phone_number--B--',"$phone_number",$script_text);
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_tw/vicidial.php b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_tw/vicidial.php
index 91de4031..fad724da 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/agc_tw/vicidial.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/agc_tw/vicidial.php
@@ -280,10 +280,10 @@
# 100315-1149 - fix for rare recording_log uniqueid issue on manual dial calls to same number
# 100327-0902 - fix for manual dial answering machine message
# 100413-1347 - Various fixes for logging and extended alt-dialing
-#
+# 100510-2014 - 2.2.1 release prep
-$version = '2.2.0-258';
-$build = '100413-1347';
+$version = '2.2.1-259';
+$build = '100510-2014';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=64;
$one_mysql_log=0;
@@ -5025,6 +5025,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5120,6 +5125,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -5441,6 +5451,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -5536,6 +5551,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
document.getElementById("WebFormSpan").innerHTML = "
\n";
@@ -6774,6 +6794,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
if (VDIC_web_form_address_two.match(regWFAcustom))
@@ -6869,6 +6894,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
@@ -7150,6 +7180,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars = '?' + web_form_vars}
TEMP_VDIC_web_form_address = VDIC_web_form_address + "" + web_form_vars;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address = TEMP_VDIC_web_form_address.replace(regWFAaavars, '&');
}
@@ -7275,6 +7310,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
{web_form_vars_two = '?' + web_form_vars_two}
TEMP_VDIC_web_form_address_two = VDIC_web_form_address_two + "" + web_form_vars_two;
+
+ var regWFAqavars = new RegExp("\\?&","ig");
+ var regWFAaavars = new RegExp("&&","ig");
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAqavars, '?');
+ TEMP_VDIC_web_form_address_two = TEMP_VDIC_web_form_address_two.replace(regWFAaavars, '&');
}
diff --git a/agc_2-X/branches/agc_2.2.0/LANG_www/vicidial_br/admin.php b/agc_2-X/branches/agc_2.2.0/LANG_www/vicidial_br/admin.php
index 209385a8..ac315ffa 100644
--- a/agc_2-X/branches/agc_2.2.0/LANG_www/vicidial_br/admin.php
+++ b/agc_2-X/branches/agc_2.2.0/LANG_www/vicidial_br/admin.php
@@ -2048,11 +2048,12 @@ else
# 100116-0718 - Added presets to script select list
# 100319-1708 - Changed user/pass for users to 20 characters in length, highlighted conf file secret in phones
# 100413-2328 - several small fixes, logging, removal of old SIP/IAX monitor/barge links
+# 100510-2015 - prep for 2.2.1 release
#
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time
-$admin_version = '2.2.0-236';
-$build = '100413-2328';
+$admin_version = '2.2.1-237';
+$build = '100510-2015';
$STARTtime = date("U");
$SQLdate = date("Y-m-d H:i:s");
@@ -6151,6 +6152,8 @@ if ($ADD==7111111)
##### TEST VARIABLES #####
$vendor_lead_code = 'VENDOR:LEAD;CODE';
$list_id = 'LISTID';
+ $list_name = 'LISTNAME';
+ $list_description = 'LISTDESCRIPTION';
$gmt_offset_now = 'GMTOFFSET';
$phone_code = '1';
$phone_number = '7275551212';
@@ -6225,6 +6228,8 @@ if ($ADD==7111111)
{
$vendor_lead_code = eregi_replace(' ','+',$vendor_lead_code);
$list_id = eregi_replace(' ','+',$list_id);
+ $list_name = eregi_replace(' ','+',$list_name);
+ $list_description = eregi_replace(' ','+',$list_description);
$gmt_offset_now = eregi_replace(' ','+',$gmt_offset_now);
$phone_code = eregi_replace(' ','+',$phone_code);
$phone_number = eregi_replace(' ','+',$phone_number);
@@ -6287,6 +6292,8 @@ if ($ADD==7111111)
$script_text = eregi_replace('--A--vendor_lead_code--B--',"$vendor_lead_code",$script_text);
$script_text = eregi_replace('--A--list_id--B--',"$list_id",$script_text);
+ $script_text = eregi_replace('--A--list_name--B--',"$list_name",$script_text);
+ $script_text = eregi_replace('--A--list_description--B--',"$list_description",$script_text);
$script_text = eregi_replace('--A--gmt_offset_now--B--',"$gmt_offset_now",$script_text);
$script_text = eregi_replace('--A--phone_code--B--',"$phone_code",$script_text);
$script_text = eregi_replace('--A--phone_number--B--',"$phone_number",$script_text);
@@ -7356,6 +7363,8 @@ if ($ADD==1111111)
echo "";
echo "";
echo "";
+ echo "";
+ echo "";
echo "";
echo "";
echo "";
@@ -24666,9 +24675,19 @@ if ($ADD==999999)
}
?>
| SERVER | DESCRIÇÃO | IP | ACT | LOAD | CHAN | DISK | SAINTE | ENTRANTE | SERVIDOR - | "; + echo "DESCRIÇÃO | IP | ACT | LOAD | CHAN | DISK | TIME | \n"; + } + else + { + echo "
| SERVIDOR + | "; + echo "DESCRIÇÃO | IP | ACT | LOAD | CHAN | DISK | SAINTE | ENTRANTE | $sysload[$o] - $cpu% | \n"; echo "$channels_total[$o] | \n"; echo "$disk | \n"; - echo "LINK | \n"; - echo "LINK | \n"; + if ($stage == 'TIME') + { + $stmt="select last_update from server_updater where server_ip='$server_ip[$o]';"; + $rslt=mysql_query($stmt, $link); + if ($DB) {echo "$stmt\n";} + $servertime_to_print = mysql_num_rows($rslt); + if ($servertime_to_print) + { + $row=mysql_fetch_row($rslt); + echo "$row[0] | "; + } + } + else + { + echo "LINK | \n"; + echo "LINK | \n"; + } echo "\n"; $o++; } + if ($stage == 'TIME') + { + echo "
| PHP Time | " . date("Y-m-d H:i:s") . " | |||||||
| DB Time | $row[0] | |||||||