From ca6906472ac77ada8f5f7b484f2ee53b18329703 Mon Sep 17 00:00:00 2001 From: mattf Date: Fri, 10 Nov 2006 20:08:12 +0000 Subject: [PATCH] added option to select NONE in dial statuses in admin.php list_id must not be < 100 for new lists in admin.php git-svn-id: svn://192.168.202.10@382 3d104415-ff17-0410-8863-d5cf3c621b8a --- www/vicidial/admin.php | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/www/vicidial/admin.php b/www/vicidial/admin.php index 85fea04f..fe266ba8 100644 --- a/www/vicidial/admin.php +++ b/www/vicidial/admin.php @@ -787,12 +787,13 @@ $lead_filter_sql = ereg_replace(";","",$lead_filter_sql); # 61002-1402 - added fields for vicidial balance trunk controls # 61003-1123 - added functions for vicidial_server_trunks records # 61109-1022 - added Emergency VDAC Jam Clear function to Campaign Detail screen +# 61110-1502 - add ability to select NONE in dial statuses, new list_id must not be < 100 # # 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 -$version = '2.0.69'; -$build = '61109-1022'; +$version = '2.0.70'; +$build = '61110-1502'; $STARTtime = date("U"); @@ -1607,7 +1608,7 @@ echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; @@ -6390,6 +6397,7 @@ echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n";
VICIDIAL_LISTS TABLE


-List ID - This is the numerical name of the list, it is not editable after initial submission, must contain only numbers and must be between 2 and 8 characters in length. +List ID - This is the numerical name of the list, it is not editable after initial submission, must contain only numbers and must be between 2 and 8 characters in length. Must be a number greater than 100.
@@ -3376,11 +3377,12 @@ if ($ADD==211) {echo "
LIST NOT ADDED - there is already a list in the system with this ID\n";} else { - if ( (strlen($campaign_id) < 2) or (strlen($list_name) < 2) or (strlen($list_id) < 2) or (strlen($list_id) > 8) ) + if ( (strlen($campaign_id) < 2) or (strlen($list_name) < 2) or ($list_id < 100) or (strlen($list_id) > 8) ) { echo "
LIST NOT ADDED - Please go back and look at the data you entered\n"; echo "
List ID must be between 2 and 8 characters in length\n"; echo "
List name must be at least 2 characters in length\n"; + echo "
List ID must be greater than 100\n"; } else { @@ -5931,6 +5933,7 @@ echo "
Park Extension: Web Form: $NWB#vicidial_campaigns-web_form_address$NWE
Allow Closers: $NWB#vicidial_campaigns-allow_closers$NWE
Dial status 1: $NWB#vicidial_campaigns-dial_status$NWE
Dial status 2: $NWB#vicidial_campaigns-dial_status$NWE
Dial status 3: $NWB#vicidial_campaigns-dial_status$NWE
Dial status 4: $NWB#vicidial_campaigns-dial_status$NWE
Dial status 5: $NWB#vicidial_campaigns-dial_status$NWE
Park Extension: $r echo "
Web Form: $row[11]$NWB#vicidial_campaigns-web_form_address$NWE
Allow Closers: $row[12] $NWB#vicidial_campaigns-allow_closers$NWE
Dial status 1: $NWB#vicidial_campaigns-dial_status$NWE
Dial status 2: $NWB#vicidial_campaigns-dial_status$NWE
Dial status 3: $NWB#vicidial_campaigns-dial_status$NWE
Dial status 4: $NWB#vicidial_campaigns-dial_status$NWE
Dial status 5: $NWB#vicidial_campaigns-dial_status$NWE