"._QXZ("Dates").": ";
+$MAIN.=" "._QXZ("Dates").": ";
$MAIN.="\n";
diff --git a/www/vicidial/AST_rt_whiteboard_rpt.php b/www/vicidial/AST_rt_whiteboard_rpt.php
index e0fdcb03..775b35d7 100644
--- a/www/vicidial/AST_rt_whiteboard_rpt.php
+++ b/www/vicidial/AST_rt_whiteboard_rpt.php
@@ -1,12 +1,14 @@
, Joe Johnson LICENSE: AGPLv2
+# Copyright (C) 2018 Matt Florell , Joe Johnson LICENSE: AGPLv2
#
# Real-time report that allows users to create a customized, graphical display of various data sets
#
# 171027-2352 - First build
# 180129-1745 - Translation corrections, uses vicidial_state_report_functions.php instead of vicidial_state_report_functions.js
+# 180507-2315 - Added new help display
+# 180512-0000 - Fixed slave server capability
#
$startMS = microtime();
@@ -79,6 +81,15 @@ if ($qm_conf_ct > 0)
##### END SETTINGS LOOKUP #####
###########################################
+if ( (strlen($slave_db_server)>5) and (preg_match("/$report_name/",$reports_use_slave_db)) )
+ {
+ mysqli_close($link);
+ $use_slave_server=1;
+ $db_source = 'S';
+ require("dbconnect_mysqli.php");
+ $MAIN.="\n";
+ }
+
$stmt = "SELECT local_gmt FROM servers where active='Y' limit 1;";
$rslt=mysql_to_mysqli($stmt, $link);
if ($DB) {$MAIN.="$stmt\n";}
@@ -548,14 +559,21 @@ if ($admin_screen_colors != 'default')
-$NWB = " ";
+# $NWB = " ";
+
+$NWB = " ";
$rerun_rpt_URL="$PHP_SELF?query_date=$query_date&end_date=$end_date&report_display_type=$report_display_type$campaignQS$userQS$managerQS&SUBMIT=$SUBMIT";
$HEADER.="\n";
$HEADER.="\n";
-$HEADER.="";
+
+$HEADER.="\n";
+$HEADER.="\n";
+$HEADER.="";
+
$HEADER.="\n";
$HEADER.="\n";
$HEADER.="\n";
diff --git a/www/vicidial/AST_source_vlc_status_report.php b/www/vicidial/AST_source_vlc_status_report.php
index 090609ad..2a4dceaa 100644
--- a/www/vicidial/AST_source_vlc_status_report.php
+++ b/www/vicidial/AST_source_vlc_status_report.php
@@ -11,6 +11,7 @@
#
# 180211-1111 - First build
# 180214-2230 - Added column to download for VLC or source_id
+# 180507-2315 - Added new help display
#
$startMS = microtime();
@@ -313,8 +314,11 @@ $end_date="$end_date_D $end_date_T";
require("screen_colors.php");
-$NWB = " ";
+# $NWB = " ";
+
+$NWB = " ";
$HTML_head.="\n";
$HTML_head.="\n";
@@ -327,6 +331,10 @@ $HTML_head.=" .purple {color: white; background-color: purple}\n";
$HTML_head.="-->\n";
$HTML_head.=" \n";
+$HTML_head.="\n";
+$HTML_head.="\n";
+$HTML_head.="";
+
$HTML_head.="\n";
$HTML_head.="\n";
$HTML_head.="\n";
diff --git a/www/vicidial/AST_team_performance_detail.php b/www/vicidial/AST_team_performance_detail.php
index fc4d7eea..5054d8a1 100644
--- a/www/vicidial/AST_team_performance_detail.php
+++ b/www/vicidial/AST_team_performance_detail.php
@@ -6,7 +6,7 @@
# QC statuses of QCFAIL, QCCANC and sales are defined by the Sale=Y status
# flags being set on those statuses.
#
-# Copyright (C) 2017 Joe Johnson, Matt Florell LICENSE: AGPLv2
+# Copyright (C) 2018 Joe Johnson, Matt Florell LICENSE: AGPLv2
#
# CHANGES
#
@@ -31,6 +31,7 @@
# 170409-1542 - Added IP List validation code
# 170829-0040 - Added screen color settings
# 171012-2015 - Fixed javascript/apache errors with graphs
+# 180507-2315 - Added new help display
#
$startMS = microtime();
@@ -462,8 +463,11 @@ if ($DB) {$HTML_text.="$user_group_string|$user_group_ct|$user_groupQS|$i ";}
require("screen_colors.php");
-$NWB = " ";
+# $NWB = " ";
+
+$NWB = " ";
###########################
@@ -481,6 +485,10 @@ $HTML_head.=" \n";
$query_date="$query_date_D $query_date_T";
$end_date="$end_date_D $end_date_T";
+$HTML_head.="\n";
+$HTML_head.="\n";
+$HTML_head.="";
+
$HTML_head.="\n";
$HTML_head.="\n";
$HTML_head.="\n";
diff --git a/www/vicidial/AST_user_group_hourly_detail.php b/www/vicidial/AST_user_group_hourly_detail.php
index c1b7baba..75ac0156 100644
--- a/www/vicidial/AST_user_group_hourly_detail.php
+++ b/www/vicidial/AST_user_group_hourly_detail.php
@@ -1,7 +1,7 @@
LICENSE: AGPLv2
+# Copyright (C) 2018 Joseph Johnson LICENSE: AGPLv2
#
# Gives hourly count of distinct agents per user group, with totals.
# For single days only
@@ -11,6 +11,7 @@
# 170409-1542 - Added IP List validation code
# 170816-2026 - Added HTML formatting
# 170829-0040 - Added screen color settings
+# 180507-2315 - Added new help display
#
$startMS = microtime();
@@ -371,8 +372,11 @@ $LINKbase = "$PHP_SELF?query_date=$query_date&end_date=$end_date&shift=$shift&DB
require("screen_colors.php");
-$NWB = " ";
+# $NWB = " ";
+
+$NWB = " ";
if ($file_download < 1)
{
@@ -387,6 +391,10 @@ if ($file_download < 1)
echo "-->\n";
echo " \n";
+ echo "\n";
+ echo "\n";
+ echo "";
+
echo "\n";
echo "\n";
echo "\n";
@@ -404,7 +412,7 @@ if ($file_download < 1)
echo "\n";
echo "\n";
- echo ""._QXZ("$report_name")."\n";
+ echo ""._QXZ("$report_name")." $NWB#user_group_hourly_detail$NWE\n";
echo "";
}
diff --git a/www/vicidial/AST_user_group_hourly_detail_v2.php b/www/vicidial/AST_user_group_hourly_detail_v2.php
index e467c344..88df3745 100644
--- a/www/vicidial/AST_user_group_hourly_detail_v2.php
+++ b/www/vicidial/AST_user_group_hourly_detail_v2.php
@@ -1,7 +1,7 @@
+# Copyright (C) 2018 Liz Tejada
# Joseph Johnson
# Matt Florell
#
@@ -16,6 +16,7 @@
# 170816-2152 - Added HTML option
# 170818-0749 - Added upgraded code, fixes and link to v1 of report
# 170829-0040 - Added screen color settings
+# 180507-2315 - Added new help display
#
$startMS = microtime();
@@ -364,8 +365,11 @@ else
$LINKbase = "$PHP_SELF?query_date=$query_date&end_date=$end_date&shift=$shift&DB=$DB&user=$user$groupQS&search_archived_data=$search_archived_data&report_display_type=$report_display_type";
-$NWB = " ";
+# $NWB = " ";
+
+$NWB = " ";
if ($file_download < 1)
{
@@ -380,6 +384,10 @@ if ($file_download < 1)
echo "-->\n";
echo " \n";
+ echo "\n";
+ echo "\n";
+ echo "";
+
echo "\n";
echo "\n";
echo "\n";
@@ -394,7 +402,7 @@ if ($file_download < 1)
echo " \n";
echo "\n";
- echo ""._QXZ("$report_name")."\n";
+ echo ""._QXZ("$report_name")." $NWB#user_group_hourly_detail$NWE\n";
echo "";
}
diff --git a/www/vicidial/AST_usergroup_login_report.php b/www/vicidial/AST_usergroup_login_report.php
index 1f36946d..51de8f56 100644
--- a/www/vicidial/AST_usergroup_login_report.php
+++ b/www/vicidial/AST_usergroup_login_report.php
@@ -4,7 +4,7 @@
# This User-Group based report runs some very intensive SQL queries, so it is
# not recommended to run this on long time periods.
#
-# Copyright (C) 2017 Joe Johnson, Matt Florell LICENSE: AGPLv2
+# Copyright (C) 2018 Joe Johnson, Matt Florell LICENSE: AGPLv2
#
# CHANGES
#
@@ -22,6 +22,7 @@
# 160121-2218 - Added report title header, default report format, cleaned up formatting
# 170409-1538 - Added IP List validation code
# 170829-0040 - Added screen color settings
+# 180507-2315 - Added new help display
#
$startMS = microtime();
@@ -312,8 +313,11 @@ if ($DB) {$HTML_text.="$user_group_string|$user_group_ct|$user_groupQS|$i ";}
require("screen_colors.php");
-$NWB = " ";
+# $NWB = " ";
+
+$NWB = " ";
###########################
@@ -327,6 +331,11 @@ $HTML_head.=" .blue {color: white; background-color: blue}\n";
$HTML_head.=" .purple {color: white; background-color: purple}\n";
$HTML_head.="-->\n";
$HTML_head.=" \n";
+
+$HTML_head.="\n";
+$HTML_head.="\n";
+$HTML_head.="";
+
$HTML_text.="\n";
+$HEADER.="";
$HEADER.="\n";
$HEADER.="\n";
$HEADER.="\n";
diff --git a/www/vicidial/admin.php b/www/vicidial/admin.php
index 5a7054ea..240654a3 100644
--- a/www/vicidial/admin.php
+++ b/www/vicidial/admin.php
@@ -4345,12 +4345,13 @@ else
# 180411-1647 - Added DISPO_FILTER as Settings Container type
# 180424-1521 - Added in-group populate_lead_source, populate_lead_vendor settings
# 180430-1834 - Added in-group park_file_name override
+# 180512-0852 - New AJAX-based help interface
#
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 9 to access this page the first time
-$admin_version = '2.14-671a';
-$build = '180430-1834';
+$admin_version = '2.14-672a';
+$build = '180512-0852';
$STARTtime = date("U");
$SQLdate = date("Y-m-d H:i:s");
@@ -4854,8 +4855,14 @@ echo "\n";
echo "\n";
echo "\n";
echo "\n";
+echo "\n";
+
+
+echo "";
+
echo "\n";
-echo "";
+echo "\n";
+
if ($SSnocache_admin=='1')
{
echo "\n";
@@ -5941,8 +5948,8 @@ if ( (strlen($ADD)==11) or (strlen($ADD)>12) or ( ($ADD > 1299) and ($ADD < 9999
-$NWB = " ";
+$NWB = " ";
@@ -7402,7 +7409,7 @@ if ($ADD==1811)
echo "$NWB#inbound_groups-user_group$NWE | \n";
echo "| "._QXZ("Web Form").": | $NWB#inbound_groups-web_form_address$NWE | \n";
# echo "| Voicemail: | $NWB#inbound_groups-voicemail_ext$NWE | \n";
- echo "| "._QXZ("Next Agent Email").": | $NWB#inbound_groups-next_agent_call$NWE | \n";
+ echo "| "._QXZ("Next Agent Email").": | $NWB#inbound_groups-next_agent_email$NWE | \n";
echo "| "._QXZ("Fronter Display").": | $NWB#inbound_groups-fronter_display$NWE | \n";
echo "| "._QXZ("Script").": | | \n";
}
@@ -29955,7 +29962,7 @@ if ($ADD==3911)
echo " |
\n";
$temp_chart_title = _QXZ("8 Day inbound call count for this in-group");
@@ -31881,7 +31888,7 @@ if ($ADD==3711)
echo "\n";
echo "\n";
echo "\n";
- echo "| "._QXZ("Filter Phone Group ID").": | $filter_phone_group_id $NWB#filter_phone_groups-user_start$NWE | \n";
+ echo "| "._QXZ("Filter Phone Group ID").": | $filter_phone_group_id $NWB#filter_phone_groups-filter_phone_group_id$NWE | \n";
echo "| "._QXZ("Filter Phone Group Name").": | $NWB#filter_phone_groups-filter_phone_group_name$NWE | \n";
echo "| "._QXZ("Filter Phone Group Description").": | $NWB#filter_phone_groups-filter_phone_group_description$NWE | \n";
echo "| "._QXZ("Admin User Group").": | \n";
@@ -31967,7 +31974,7 @@ if ($ADD==32111)
{echo "\n";}
echo " $NWB#extension_groups-rank$NWE | \n";
- echo "| "._QXZ("Campaigns Groups").": | ("._QXZ("pipe-delimited list").")$NWB#extension_groups-extension$NWE | \n";
+ echo "| "._QXZ("Campaigns Groups").": | ("._QXZ("pipe-delimited list").")$NWB#extension_groups-campaign_groups$NWE | \n";
echo "| "._QXZ("Call Count Today").": | $call_count_today | \n";
echo "| "._QXZ("Last Call Time").": | $last_call_time | \n";
echo "| "._QXZ("Last Call ID").": | $last_callerid | \n";
@@ -33757,7 +33764,7 @@ if ($ADD==31111111111)
echo "| "._QXZ("Agent Default Campaign").": | $NWB#phones-login_campaign$NWE | \n";
echo "| "._QXZ("Park Exten").": | $NWB#phones-park_on_extension$NWE | \n";
echo "| "._QXZ("Conf Exten").": | $NWB#phones-conf_on_extension$NWE | \n";
- echo "| "._QXZ("Agent Park Exten").": | $NWB#phones-park_on_extension$NWE | \n";
+ echo "| "._QXZ("Agent Park Exten").": | $NWB#phones-agent_park_on_extension$NWE | \n";
echo "| "._QXZ("Agent Park File").": | $NWB#phones-park_on_filename$NWE | \n";
echo "| "._QXZ("Monitor Prefix").": | $NWB#phones-monitor_prefix$NWE | \n";
echo "| "._QXZ("Recording Exten").": | $NWB#phones-recording_exten$NWE | \n";
@@ -41299,6 +41306,7 @@ if ($ADD==999994)
{
echo "\n";
# echo "- "._QXZ("Welcome Languages Page")."\n";
+ echo "
- "._QXZ("Old Help Page")."\n";
echo "
- "._QXZ("Servers Versions")."\n";
echo "
\n";
echo " - "._QXZ("Campaign Debug Page")."\n";
diff --git a/www/vicidial/admin_NANPA_updater.php b/www/vicidial/admin_NANPA_updater.php
index 1df9bfaf..8262caa2 100644
--- a/www/vicidial/admin_NANPA_updater.php
+++ b/www/vicidial/admin_NANPA_updater.php
@@ -1,7 +1,7 @@
LICENSE: AGPLv2
+# Copyright (C) 2018 Matt Florell LICENSE: AGPLv2
#
# This script is designed to launch NANPA filter batch proccesses through the
# triggering process
@@ -15,6 +15,7 @@
# 160108-2300 - Changed some mysqli_query to mysql_to_mysqli for consistency
# 170409-1536 - Added IP List validation code
# 170822-2230 - Added screen color settings
+# 180503-2015 - Added new help display
#
$version = '2.14-7';
@@ -389,12 +390,18 @@ function openNewWindow(url)
\n";
+echo "\n";
+echo "";
echo "\n";
$ADMIN=$PHP_SELF;
$short_header=1;
-$NWB = "
";
+# $NWB = " ";
+
+$NWB = " ";
echo "\n\n";
diff --git a/www/vicidial/admin_amm_multi.php b/www/vicidial/admin_amm_multi.php
index 3488ce0c..766ac067 100644
--- a/www/vicidial/admin_amm_multi.php
+++ b/www/vicidial/admin_amm_multi.php
@@ -1,7 +1,7 @@
LICENSE: AGPLv2
+# Copyright (C) 2018 Matt Florell LICENSE: AGPLv2
#
# this screen will control the *amd* settings needed when the Campaign setting
# "AM Message Wildcards" is enabled. This screen allows for multiple messages
@@ -12,6 +12,7 @@
# 151109-1653 - First Build
# 160801-1201 - Added colors features
# 170409-1544 - Added IP List validation code
+# 180502-2115 - Added new help display
#
$admin_version = '2.14-3';
@@ -98,8 +99,11 @@ $date = date("r");
$ip = getenv("REMOTE_ADDR");
$browser = getenv("HTTP_USER_AGENT");
$user = $PHP_AUTH_USER;
-$NWB = " ";
+# $NWB = " ";
+
+$NWB = " ";
$stmt="SELECT selected_language,qc_enabled from vicidial_users where user='$PHP_AUTH_USER';";
if ($DB) {echo "|$stmt|\n";}
@@ -228,6 +232,11 @@ if ($names_to_print > 0)
+
+
+
+
+
";
+# $NWB = " ";
+
+$NWB = " ";
$form_to_run = "NONE";
$DB=0; # Debug flag
$INSERTmax_limit = 5000; # Maximum number of items allowed to insert
@@ -271,7 +275,11 @@ if ($user_level < 9)
echo "You do not have permission to be here.";
exit;
}
-
+
+echo "\n";
+echo "\n";
+echo "";
+
################################################################################
##### Help
if ($form_to_run == "help")
diff --git a/www/vicidial/admin_email_accounts.php b/www/vicidial/admin_email_accounts.php
index aa6085bf..8a99528d 100644
--- a/www/vicidial/admin_email_accounts.php
+++ b/www/vicidial/admin_email_accounts.php
@@ -23,10 +23,11 @@
# 160508-0139 - Added screen colors feature
# 170409-1540 - Added IP List validation code
# 180219-1233 - Fixed translation issue #1069
+# 180502-2215 - Added new help display
#
-$admin_version = '2.14-17';
-$build = '180219-1233';
+$admin_version = '2.14-18';
+$build = '180502-2215';
$sh="emails";
@@ -334,6 +335,11 @@ $Mhead_color = $SSstd_row5_background;
+
+
+
+
+
";
+# $NWB = " ";
+
+$NWB = " ";
if ($DB > 0)
@@ -529,7 +538,7 @@ if ($eact == "COPY")
echo "$accounts_list";
echo "\n";
echo "| "._QXZ("New Account ID").": | | \n";
- echo "| "._QXZ("New Account Name").": | $NWB#email_accounts-carrier_name$NWE | \n";
+ echo "| "._QXZ("New Account Name").": | $NWB#email_accounts-email_account_name$NWE | \n";
echo " | \n";
echo " \n";
echo " |