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
This commit is contained in:
+16
-4
@@ -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 "<TABLE WIDTH=98% BGCOLOR=#E6E6E6 cellpadding=2 cellspacing=0><TR><TD ALIGN
|
||||
<B><FONT SIZE=3>VICIDIAL_LISTS TABLE</FONT></B><BR><BR>
|
||||
<A NAME="vicidial_lists-list_id">
|
||||
<BR>
|
||||
<B>List ID -</B> 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.
|
||||
<B>List ID -</B> 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.
|
||||
|
||||
<BR>
|
||||
<A NAME="vicidial_lists-list_name">
|
||||
@@ -3376,11 +3377,12 @@ if ($ADD==211)
|
||||
{echo "<br>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 "<br>LIST NOT ADDED - Please go back and look at the data you entered\n";
|
||||
echo "<br>List ID must be between 2 and 8 characters in length\n";
|
||||
echo "<br>List name must be at least 2 characters in length\n";
|
||||
echo "<br>List ID must be greater than 100\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -5931,6 +5933,7 @@ echo "<tr bgcolor=#B6D3FC><td align=right>Park Extension: </td><td align=left><i
|
||||
echo "<tr bgcolor=#B6D3FC><td align=right>Web Form: </td><td align=left><input type=text name=web_form_address size=50 maxlength=255 value=\"$row[11]\">$NWB#vicidial_campaigns-web_form_address$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#B6D3FC><td align=right>Allow Closers: </td><td align=left><select size=1 name=allow_closers><option>Y</option><option>N</option><option SELECTED>$row[12]</option></select>$NWB#vicidial_campaigns-allow_closers$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#B6D3FC><td align=right>Dial status 1: </td><td align=left><select size=1 name=dial_status_a>\n";
|
||||
echo "<option value=\"\"> - NONE - </option>\n";
|
||||
|
||||
$stmt="SELECT * from vicidial_statuses order by status";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
@@ -5968,18 +5971,22 @@ echo "$statuses_list";
|
||||
echo "<option value=\"$dial_status_a\" SELECTED>$dial_status_a - $statname_list[$dial_status_a]</option>\n";
|
||||
echo "</select>$NWB#vicidial_campaigns-dial_status$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#B6D3FC><td align=right>Dial status 2: </td><td align=left><select size=1 name=dial_status_b>\n";
|
||||
echo "<option value=\"\"> - NONE - </option>\n";
|
||||
echo "$statuses_list";
|
||||
echo "<option value=\"$dial_status_b\" SELECTED>$dial_status_b - $statname_list[$dial_status_b]</option>\n";
|
||||
echo "</select>$NWB#vicidial_campaigns-dial_status$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#B6D3FC><td align=right>Dial status 3: </td><td align=left><select size=1 name=dial_status_c>\n";
|
||||
echo "<option value=\"\"> - NONE - </option>\n";
|
||||
echo "$statuses_list";
|
||||
echo "<option value=\"$dial_status_c\" SELECTED>$dial_status_c - $statname_list[$dial_status_c]</option>\n";
|
||||
echo "</select>$NWB#vicidial_campaigns-dial_status$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#B6D3FC><td align=right>Dial status 4: </td><td align=left><select size=1 name=dial_status_d>\n";
|
||||
echo "<option value=\"\"> - NONE - </option>\n";
|
||||
echo "$statuses_list";
|
||||
echo "<option value=\"$dial_status_d\" SELECTED>$dial_status_d - $statname_list[$dial_status_d]</option>\n";
|
||||
echo "</select>$NWB#vicidial_campaigns-dial_status$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#B6D3FC><td align=right>Dial status 5: </td><td align=left><select size=1 name=dial_status_e>\n";
|
||||
echo "<option value=\"\"> - NONE - </option>\n";
|
||||
echo "$statuses_list";
|
||||
echo "<option value=\"$dial_status_e\" SELECTED>$dial_status_e - $statname_list[$dial_status_e]</option>\n";
|
||||
echo "</select>$NWB#vicidial_campaigns-dial_status$NWE</td></tr>\n";
|
||||
@@ -6390,6 +6397,7 @@ echo "<tr bgcolor=#B6D3FC><td align=right>Park Extension: </td><td align=left>$r
|
||||
echo "<tr bgcolor=#B6D3FC><td align=right>Web Form: </td><td align=left>$row[11]$NWB#vicidial_campaigns-web_form_address$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#B6D3FC><td align=right>Allow Closers: </td><td align=left>$row[12] $NWB#vicidial_campaigns-allow_closers$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#B6D3FC><td align=right>Dial status 1: </td><td align=left><select size=1 name=dial_status_a>\n";
|
||||
echo "<option value=\"\"> - NONE - </option>\n";
|
||||
|
||||
$stmt="SELECT * from vicidial_statuses order by status";
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
@@ -6421,18 +6429,22 @@ echo "$statuses_list";
|
||||
echo "<option value=\"$dial_status_a\" SELECTED>$dial_status_a - $statname_list[$dial_status_a]</option>\n";
|
||||
echo "</select>$NWB#vicidial_campaigns-dial_status$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#B6D3FC><td align=right>Dial status 2: </td><td align=left><select size=1 name=dial_status_b>\n";
|
||||
echo "<option value=\"\"> - NONE - </option>\n";
|
||||
echo "$statuses_list";
|
||||
echo "<option value=\"$dial_status_b\" SELECTED>$dial_status_b - $statname_list[$dial_status_b]</option>\n";
|
||||
echo "</select>$NWB#vicidial_campaigns-dial_status$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#B6D3FC><td align=right>Dial status 3: </td><td align=left><select size=1 name=dial_status_c>\n";
|
||||
echo "<option value=\"\"> - NONE - </option>\n";
|
||||
echo "$statuses_list";
|
||||
echo "<option value=\"$dial_status_c\" SELECTED>$dial_status_c - $statname_list[$dial_status_c]</option>\n";
|
||||
echo "</select>$NWB#vicidial_campaigns-dial_status$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#B6D3FC><td align=right>Dial status 4: </td><td align=left><select size=1 name=dial_status_d>\n";
|
||||
echo "<option value=\"\"> - NONE - </option>\n";
|
||||
echo "$statuses_list";
|
||||
echo "<option value=\"$dial_status_d\" SELECTED>$dial_status_d - $statname_list[$dial_status_d]</option>\n";
|
||||
echo "</select>$NWB#vicidial_campaigns-dial_status$NWE</td></tr>\n";
|
||||
echo "<tr bgcolor=#B6D3FC><td align=right>Dial status 5: </td><td align=left><select size=1 name=dial_status_e>\n";
|
||||
echo "<option value=\"\"> - NONE - </option>\n";
|
||||
echo "$statuses_list";
|
||||
echo "<option value=\"$dial_status_e\" SELECTED>$dial_status_e - $statname_list[$dial_status_e]</option>\n";
|
||||
echo "</select>$NWB#vicidial_campaigns-dial_status$NWE</td></tr>\n";
|
||||
|
||||
Reference in New Issue
Block a user