diff --git a/bin/ADMIN_area_code_populate.pl b/bin/ADMIN_area_code_populate.pl index 8f19c7a7..c387d5f7 100644 --- a/bin/ADMIN_area_code_populate.pl +++ b/bin/ADMIN_area_code_populate.pl @@ -1,8 +1,8 @@ #!/usr/bin/perl # -# ADMIN_area_code_populate.pl version 2.6 +# ADMIN_area_code_populate.pl version 2.10 # -# Copyright (C) 2013 Matt Florell LICENSE: AGPLv2 +# Copyright (C) 2015 Matt Florell LICENSE: AGPLv2 # # Description: # server application that allows load areacodes into to asterisk list database @@ -20,6 +20,7 @@ # 100902-1536 - Move old data files if wgetting new ones # 110424-0735 - Added timezone abbreviation column # 130419-1237 - Added lata_type field to NANPA file format +# 150203-1751 - code cleanup # @@ -159,11 +160,10 @@ $dbhA = DBI->connect("DBI:mysql:$VARDB_database:$VARDB_server:$VARDB_port", "$VA or die "Couldn't connect to database: " . DBI->errstr; - if ($nanpa_load > 0) { #### load special North American phone code prefix table #### - # LONG # NPA,NXX,,,,LTYPE,,STATE,COUNTRY,,,,,RC,TZ,DST,ZIP,,,,,,,,,,,LATITUDE,LONGITUDE,,,,, + # LONG # NPA,NXX,,,,LTYPE,,STATE,COUNTRY,,,,,RC,TZ,DST,ZIP,,,,,,,,,,,LATITUDE,LONGITUDE,,,,,,, # SHORT # NPA,NXX,TZ,DST,LATITUDE,LONGITUDE,CITY,STATE,POSTAL_CODE,COUNTRY,LTYPE #### BEGIN vicidial_nanpa_prefix_codes population from NANPA_prefix-latest.txt file #### @@ -229,7 +229,7 @@ if ($nanpa_load > 0) if ($sthArows > 0) { @aryA = $sthA->fetchrow_array; - $dup_check = "$aryA[0]"; + $dup_check = $aryA[0]; } $sthA->finish(); @@ -267,7 +267,6 @@ if ($nanpa_load > 0) $ins_stmt="insert into vicidial_nanpa_prefix_codes VALUES "; print STDERR "$pc Lines $ins_count Inserted $dup_count Duplicates\n"; #### END vicidial_nanpa_prefix_codes population #### - } else { diff --git a/www/vicidial/help.php b/www/vicidial/help.php index 0b0a58cd..031e99ba 100644 --- a/www/vicidial/help.php +++ b/www/vicidial/help.php @@ -36,6 +36,7 @@ # 150111-1542 - Added lists-local_call_time and manual_dial_search_filter # 150117-1439 - Added NAME option to campaigns-status_display_fields # 150120-0636 - Hide non-functional agent_extended_alt_dial campaign feature +# 150204-1246 - Small fixes, issue #826 # require("dbconnect_mysqli.php"); @@ -454,7 +455,7 @@ if ($SScustom_fields_enabled > 0) - "); ?> +?>
@@ -504,7 +505,7 @@ if ($SSoutbound_autodial_active > 0)

- Delete Filters"); ?> - - @@ -552,17 +553,17 @@ if ($SSqc_features_active > 0)

- QC Record Pass"); ?> - + -

- QC Record Finish"); ?> - + -

- QC Record Commit"); ?> - - @@ -913,7 +914,7 @@ if ($SSoutbound_autodial_active > 0)

- - + -
@@ -2875,7 +2876,7 @@ if ($SSqc_features_active > 0) -



"); ?> +