From a476d2621651cf47821387ebd334b6ab2ce2a827 Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 26 Aug 2020 04:29:50 +0000 Subject: [PATCH] Finished adding button colors for admin web screens git-svn-id: svn://192.168.202.10@3280 3d104415-ff17-0410-8863-d5cf3c621b8a --- .../VICIDIAL_international_DNC_parser_2.pl | 1 + agc_2-X/trunk/www/vicidial/admin.php | 2 +- .../vicidial/admin_listloader_fourth_gen.php | 4 +-- .../www/vicidial/callcard_report_export.php | 4 +-- .../www/vicidial/closer-fronter_popup.php | 14 ++++---- .../www/vicidial/closer-fronter_popup2.php | 8 +++-- agc_2-X/trunk/www/vicidial/closer.php | 8 +++-- agc_2-X/trunk/www/vicidial/closer_dispo.php | 7 ++-- agc_2-X/trunk/www/vicidial/closer_popup.php | 14 ++++---- .../trunk/www/vicidial/group_hourly_stats.php | 2 +- .../trunk/www/vicidial/help_documentation.txt | 3 ++ agc_2-X/trunk/www/vicidial/lead_tools.php | 16 ++++----- .../www/vicidial/lead_tools_advanced.php | 16 ++++----- agc_2-X/trunk/www/vicidial/list_merge.php | 2 +- agc_2-X/trunk/www/vicidial/list_split.php | 4 +-- .../www/vicidial/manager_chat_interface.php | 4 +-- .../vicidial/medialog_inventory_report.php | 2 +- agc_2-X/trunk/www/vicidial/phone_stats.php | 3 +- agc_2-X/trunk/www/vicidial/qc_modify_lead.php | 11 +++--- .../trunk/www/vicidial/realtime_report.php | 3 +- .../trunk/www/vicidial/record_conf_1_hour.php | 4 +-- .../trunk/www/vicidial/recording_lookup.php | 4 ++- agc_2-X/trunk/www/vicidial/remote_dispo.php | 6 ++-- .../www/vicidial/reset_campaign_lists.php | 2 +- agc_2-X/trunk/www/vicidial/timeclock_edit.php | 2 +- .../trunk/www/vicidial/timeclock_status.php | 36 ++----------------- .../www/vicidial/user_group_bulk_change.php | 4 +-- agc_2-X/trunk/www/vicidial/user_stats.php | 34 ++---------------- agc_2-X/trunk/www/vicidial/user_status.php | 8 ++--- .../trunk/www/vicidial/user_territories.php | 12 +++---- agc_2-X/trunk/www/vicidial/vdremote.php | 6 ++-- .../vicidial_custom_reports_admin.php | 8 ++--- .../www/vicidial/vicidial_sales_viewer.php | 2 +- agc_2-X/trunk/www/vicidial/voice_lab.php | 16 ++++----- 34 files changed, 115 insertions(+), 157 deletions(-) diff --git a/agc_2-X/trunk/bin/VICIDIAL_international_DNC_parser_2.pl b/agc_2-X/trunk/bin/VICIDIAL_international_DNC_parser_2.pl index 1877746e..952aa6e7 100644 --- a/agc_2-X/trunk/bin/VICIDIAL_international_DNC_parser_2.pl +++ b/agc_2-X/trunk/bin/VICIDIAL_international_DNC_parser_2.pl @@ -518,6 +518,7 @@ if ($rslt->rows>0) $ftp->login("$ftp_user","$ftp_pwd"); if ($file_dir) {$ftp->cwd("$file_dir");} # $ftp->get("$filename", "/tmp/$filename"); +# $ftp->rename("$file_dir/$filename", "$file_destination/$filename"); # $ftp->quit; # $full_filename="/tmp/$filename"; } diff --git a/agc_2-X/trunk/www/vicidial/admin.php b/agc_2-X/trunk/www/vicidial/admin.php index 2a335d13..56603e37 100644 --- a/agc_2-X/trunk/www/vicidial/admin.php +++ b/agc_2-X/trunk/www/vicidial/admin.php @@ -28497,7 +28497,7 @@ if ($ADD==311) } echo ""._QXZ("SUBTOTALS")."$lead_list[Y_count]$lead_list[N_count]\n"; - echo "\n"; + echo "\n"; echo ""._QXZ("TOTAL")."$lead_list[count]\n"; echo "\n"; diff --git a/agc_2-X/trunk/www/vicidial/admin_listloader_fourth_gen.php b/agc_2-X/trunk/www/vicidial/admin_listloader_fourth_gen.php index c9e7d8c1..ccf8f373 100644 --- a/agc_2-X/trunk/www/vicidial/admin_listloader_fourth_gen.php +++ b/agc_2-X/trunk/www/vicidial/admin_listloader_fourth_gen.php @@ -833,7 +833,7 @@ if ($SSenable_international_dncs) - " name='submit_file'>        " name='reload_page'> + " name='submit_file'>        " name='reload_page'>             -     :     :     @@ -3319,7 +3319,7 @@ if (($leadfile) && ($LF_path)) print " \r\n"; print " \r\n"; print " \r\n"; - print "         \r\n"; + print "         \r\n"; print " \r\n"; print "\r\n"; diff --git a/agc_2-X/trunk/www/vicidial/callcard_report_export.php b/agc_2-X/trunk/www/vicidial/callcard_report_export.php index 902bc93b..0c26355c 100644 --- a/agc_2-X/trunk/www/vicidial/callcard_report_export.php +++ b/agc_2-X/trunk/www/vicidial/callcard_report_export.php @@ -359,10 +359,10 @@ else echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "\n\n"; } exit; -?> \ No newline at end of file +?> diff --git a/agc_2-X/trunk/www/vicidial/closer-fronter_popup.php b/agc_2-X/trunk/www/vicidial/closer-fronter_popup.php index 0706e02a..250a5505 100644 --- a/agc_2-X/trunk/www/vicidial/closer-fronter_popup.php +++ b/agc_2-X/trunk/www/vicidial/closer-fronter_popup.php @@ -206,6 +206,8 @@ else exit; } +require("screen_colors.php"); + echo "\n"; echo "\n"; echo ""._QXZ("FRONTER-CLOSER: Popup")."\n"; @@ -350,7 +352,7 @@ if (preg_match('/CL_TEST/i',$channel_group)) - "> + "> @@ -385,7 +387,7 @@ if ( (preg_match('/CL_MWCOF/i',$channel_group)) or (preg_match('/MWCOF/i',$group - "> + "> @@ -437,7 +439,7 @@ if (preg_match('/CL_GAL/i',$channel_group)) - "> + "> @@ -456,7 +458,7 @@ if (preg_match('/CL_GAL/i',$channel_group)) - + @@ -497,7 +499,7 @@ if (preg_match('/CL_UNIV/i',$channel_group)) name="phone" value="" ONKEYPRESS="var keyCode = event.which ? event.which : event.keyCode; if (keyCode!=8 && keyCode!=9 && keyCode!=37 && keyCode!=39) return ((keyCode >= '0'.charCodeAt() && keyCode <= '9'.charCodeAt()))"> - " onClick="javascript:btn_name='search'">

+ " onClick="javascript:btn_name='search'">

@@ -522,7 +524,7 @@ else { echo _QXZ("Record command FAILED for channel")." $channel       $NOW_TIME\n

\n"; echo _QXZ("Please go back and try again")."\n

\n"; -# echo "
\n"; +# echo "
\n"; } diff --git a/agc_2-X/trunk/www/vicidial/closer-fronter_popup2.php b/agc_2-X/trunk/www/vicidial/closer-fronter_popup2.php index d15aec12..506f8e4c 100644 --- a/agc_2-X/trunk/www/vicidial/closer-fronter_popup2.php +++ b/agc_2-X/trunk/www/vicidial/closer-fronter_popup2.php @@ -210,6 +210,8 @@ else exit; } +require("screen_colors.php"); + echo "\n"; echo "\n"; echo ""._QXZ("FRONTER-CLOSER: Popup")."\n"; @@ -359,7 +361,7 @@ if (preg_match('/CL/i',$channel_group)) - "> + "> @@ -402,7 +404,7 @@ if (preg_match('/UNIV/i',$channel_group)) name="phone" value="" ONKEYPRESS="var keyCode = event.which ? event.which : event.keyCode; if (keyCode!=8 && keyCode!=9 && keyCode!=37 && keyCode!=39) return ((keyCode >= '0'.charCodeAt() && keyCode <= '9'.charCodeAt()))"> - " onClick="javascript:btn_name='search'">

+ " onClick="javascript:btn_name='search'">

@@ -427,7 +429,7 @@ else { echo _QXZ("Record command FAILED for channel")." $channel       $NOW_TIME\n

\n"; echo _QXZ("Please go back and try again")."\n

\n"; -# echo "
\n"; +# echo "
\n"; } diff --git a/agc_2-X/trunk/www/vicidial/closer.php b/agc_2-X/trunk/www/vicidial/closer.php index 96b62a0f..54ce7178 100644 --- a/agc_2-X/trunk/www/vicidial/closer.php +++ b/agc_2-X/trunk/www/vicidial/closer.php @@ -153,6 +153,8 @@ $color_class[6] = 'red'; $color_class[7] = 'blue'; $color_class[8] = 'purple'; $color_class[9] = 'orange'; + +require("screen_colors.php"); ?> @@ -222,7 +224,7 @@ if (!$dialplan_number) $o++; } echo "\n"; - echo "\n"; + echo "\n"; echo "


\n"; } else @@ -250,7 +252,7 @@ if (!$dialplan_number) echo "
"._QXZ("Please enter your phone_ID").":
\n"; echo "\n"; echo _QXZ("phone station ID").":   \n"; - echo "\n"; + echo "\n"; echo "


\n"; } @@ -260,7 +262,7 @@ if (!$dialplan_number) echo "
"._QXZ("Please enter your phone_ID").": \n"; echo "\n"; echo _QXZ("phone station ID").":   \n"; - echo "\n"; + echo "\n"; echo "


\n"; } diff --git a/agc_2-X/trunk/www/vicidial/closer_dispo.php b/agc_2-X/trunk/www/vicidial/closer_dispo.php index 459030f1..c39ceed7 100644 --- a/agc_2-X/trunk/www/vicidial/closer_dispo.php +++ b/agc_2-X/trunk/www/vicidial/closer_dispo.php @@ -177,6 +177,7 @@ $row=mysqli_fetch_row($rslt); $LOGfullname=$row[0]; $fullname = $row[0]; +require("screen_colors.php"); ?> @@ -223,12 +224,12 @@ $call_length = ($STARTtime - $call_began); echo _QXZ("Hangup command sent for channel")." $channel       $NOW_TIME\n

\n"; - echo "
\n"; + echo "
\n"; } else { echo _QXZ("Hangup command FAILED for channel")." $channel       $NOW_TIME\n

\n"; - echo "
\n"; + echo "
\n"; } } else @@ -320,7 +321,7 @@ else echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "


\n"; diff --git a/agc_2-X/trunk/www/vicidial/closer_popup.php b/agc_2-X/trunk/www/vicidial/closer_popup.php index 377ea5ad..9f8ca60a 100644 --- a/agc_2-X/trunk/www/vicidial/closer_popup.php +++ b/agc_2-X/trunk/www/vicidial/closer_popup.php @@ -144,6 +144,8 @@ $row=mysqli_fetch_row($rslt); $LOGfullname=$row[0]; $fullname = $row[0]; +require("screen_colors.php"); + echo "\n"; echo "\n"; echo ""._QXZ("VICIDIAL CLOSER: Popup")."\n"; @@ -288,7 +290,7 @@ if (preg_match('/CL_TEST/i',$channel_group)) - "> + "> @@ -323,7 +325,7 @@ if (preg_match('/CL_MWCOF/i',$channel_group)) - "> + "> @@ -375,7 +377,7 @@ if (preg_match('/CL_GAL/i',$channel_group)) - "> + "> @@ -394,7 +396,7 @@ if (preg_match('/CL_GAL/i',$channel_group)) - + @@ -435,7 +437,7 @@ if (preg_match('/CL_UNIV/i',$channel_group)) name="phone" value="" ONKEYPRESS="var keyCode = event.which ? event.which : event.keyCode; if (keyCode!=8 && keyCode!=9 && keyCode!=37 && keyCode!=39) return ((keyCode >= '0'.charCodeAt() && keyCode <= '9'.charCodeAt()))"> - " onClick="javascript:btn_name='search'">

+ " onClick="javascript:btn_name='search'">

@@ -459,7 +461,7 @@ if (preg_match('/CL_UNIV/i',$channel_group)) else { echo _QXZ("Redirect command FAILED for channel")." $channel       $NOW_TIME\n

\n"; - echo "
\n"; + echo "
\n"; } diff --git a/agc_2-X/trunk/www/vicidial/group_hourly_stats.php b/agc_2-X/trunk/www/vicidial/group_hourly_stats.php index 54f9a3b3..17b17f4c 100644 --- a/agc_2-X/trunk/www/vicidial/group_hourly_stats.php +++ b/agc_2-X/trunk/www/vicidial/group_hourly_stats.php @@ -368,7 +368,7 @@ while ($groups_to_print > $o) echo "$groups_list
\n"; echo _QXZ("status").":   ("._QXZ("example").": "._QXZ("XFER").")
\n"; echo _QXZ("date with hour").":   ("._QXZ("example").": 2004-06-25 14)
\n"; -echo "\n"; +echo "\n"; echo "


\n"; diff --git a/agc_2-X/trunk/www/vicidial/help_documentation.txt b/agc_2-X/trunk/www/vicidial/help_documentation.txt index 6c1b9dde..7066276e 100644 --- a/agc_2-X/trunk/www/vicidial/help_documentation.txt +++ b/agc_2-X/trunk/www/vicidial/help_documentation.txt @@ -351,6 +351,7 @@ campaigns-qc_get_record_launch QC Get Record Launch This allows one of the campaigns-qc_show_recording QC Show Recording This allows for a recording that may be linked with the QC record to be display in the QC agent screen. campaigns-qc_web_form_address QC WebForm Address This is the website address that a QC agent can go to when clicking on the WEBFORM link in the QC screen. campaigns-qc_script QC Script This is the script that can be used by QC agents in the SCRIPT tab in the QC screen. +campaigns-qc_scorecard QC Scorecard This is the scorecard to be shown to the agent when evaluating a QC record. campaigns-vtiger_search_category Vtiger Search Category If Vtiger integration is enabled in the system settings then this setting will define where the vtiger_search.php page will search for the phone number that was entered. There are 4 options that can be used in this field: LEAD- This option will search through the Vtiger leads only, ACCOUNT- This option will search through the Vtiger accounts and all contacts and sub-contacts for the phone number, VENDOR- This option will only search through the Vtiger vendors, ACCTID- This option works only for accounts and it will take the list vendor_lead_code field and try to search for the Vtiger account ID. If unsuccessful it will try any other methods listed that you have selected. Multiple options can be used for each search, but on large databases this is not recommended. Default is LEAD. UNIFIED_CONTACT- This option will use the beta Vtiger 5.1.0 feature to search by phone number and bring up a search page in Vtiger. campaigns-vtiger_search_dead Vtiger Search Dead Accounts If Vtiger integration is enabled in the system settings then this setting will define whether deleted accounts will be searched when the agent clicks WEB FORM to search in the Vtiger system. DISABLED- deleted leads will not be searched, ASK- deleted leads will be searched and the vtiger search web page will ask the agent if they want to make the Vtiger account active, RESURRECT- will automatically make the deleted account active again and will take the agent to the account screen without delay upon clicking on WEB FORM. Default is DISABLED. campaigns-vtiger_create_call_record Vtiger Create Call Record If Vtiger integration is enabled in the system settings then this setting will define whether a new Vtiger activity record is created for the call when the agent goes to the vtiger_search page. Default is Y. The DISPO option will create a call record for the Vtiger account without the agent needing to go to the vtiger search page through the WEB FORM. @@ -394,6 +395,7 @@ lists-expiration_date Expiration Date This option allows you to set the dat lists-local_call_time Local Call Time This is a setting for this list only, where you set during which hours you would like to dial leads within this specific list, as determined by the local time in the area in which you are calling. This is controlled by the time zone, as defined by that list setting, and is adjusted for Daylight Savings time if applicable. However, state rules are based on the state field for the lead and not only the time zone that is set. This call time setting is applied after the campaign local call time has been applied to the list and will NOT override the campaign settings. This setting will only narrow down call times in relation to the campaign local call time setting. It will NOT allow calling outside the hours set by the campaign local call time setting. This is useful if you have lists that need different call times within the same campaign. For example calling business numbers between 9am to 5pm and consumer phones between 9am to 9pm within the same campaign. General Guidelines in the USA for Business to Business is 9am to 5pm and Business to Consumer calls is 9am to 9pm. Default is campaign. lists-audit_comments Audit Comments This option allows comments to be moved to an audit table. No longer editable, but viewable along with the date-time-creator of each comment. Default is N. This is a part of the Quality Control Add-On. lists-agent_script_override Agent Script Override If this field is set, this will be the script that the agent sees on their screen instead of the campaign script when the lead is from this list. Default is not set. +lists-qc_scorecard_override QC Scorecard Override This is the scorecard to be shown to the agent when evaluating a QC record. It will override any campaign setting, but ingroup QC settings still take top priority. lists-inbound_list_script_override Inbound Script Override If this field is set, this will be the script that the agent sees on their screen instead of the campaign script when the agent receives an inbound call and the lead is from this list. Default is not set. lists-inbound_drop_voicemail Inbound Drop Voicemail Override If an inbound call associated with this list drops while in an Inbound Group queue, this is the voicemail box the call will be sent to if the Drop Action is set to go to a voicemail box. lists-inbound_after_hours_voicemail Inbound After Hours Voicemail Override If an inbound call associated with this list triggers an after hours action after it has been sent to an Inbound Group queue, this is the voicemail box the call will be sent to if the After Hours Action is set to go to a voicemail box. @@ -578,6 +580,7 @@ inbound_groups-qc_statuses QC Statuses This area is where you select which inbound_groups-qc_shift_id QC Shift This is the shift timeframe used to pull QC records for an inbound_group. The days of the week are ignored for these functions. inbound_groups-qc_get_record_launch QC Get Record Launch This allows one of the following actions to be triggered upon a QC agent receiving a new record. inbound_groups-qc_show_recording QC Show Recording This allows for a recording that may be linked with the QC record to be display in the QC agent screen. +inbound_groups-qc_scorecard QC Scorecard This is the scorecard to be shown to the agent when evaluating a QC record. inbound_groups-qc_web_form_address QC WebForm Address This is the website address that a QC agent can go to when clicking on the WEBFORM link in the QC screen. inbound_groups-qc_script QC Script This is the script that can be used by QC agents in the SCRIPT tab in the QC screen. inbound_groups-hold_recall_xfer_group Hold Recall Transfer In-Group If a customer calls back to this in-group more than once and this is not set to NONE, then the call will automatically be sent on to the In-Group selected in this field. Default is NONE. diff --git a/agc_2-X/trunk/www/vicidial/lead_tools.php b/agc_2-X/trunk/www/vicidial/lead_tools.php index 2505b18f..42f9f884 100644 --- a/agc_2-X/trunk/www/vicidial/lead_tools.php +++ b/agc_2-X/trunk/www/vicidial/lead_tools.php @@ -372,7 +372,7 @@ if ($move_submit == _QXZ("move") ) echo "\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "

"._QXZ("Click here to start over").".

\n"; echo "\n\n"; @@ -429,7 +429,7 @@ if ($confirm_move == _QXZ("confirm")) $move_lead_rslt = mysql_to_mysqli($move_lead_stmt, $link); $move_lead_count = mysqli_affected_rows($link); - $move_sentence = "$move_lead_count leads have been moved from list $move_from_list to $move_to_list with the status $move_status and that were called $move_count_op_phrase$move_count_num times."; + $move_sentence = "$move_lead_count "._QXZ("leads have been moved from list")." $move_from_list "._QXZ("to")." $move_to_list "._QXZ("with the status")." $move_status "._QXZ("and that were called")." $move_count_op_phrase$move_count_num "._QXZ("times")."."; $SQL_log = "$move_lead_stmt|"; $SQL_log = preg_replace('/;/', '', $SQL_log); @@ -503,7 +503,7 @@ if ($update_submit == _QXZ("update") ) echo "\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "

"._QXZ("Click here to start over").".

\n"; echo "\n\n"; @@ -560,7 +560,7 @@ if ($confirm_update == _QXZ("confirm")) $update_lead_rslt = mysql_to_mysqli($update_lead_stmt, $link); $update_lead_count = mysqli_affected_rows($link); - $update_sentence = "$update_lead_count leads had their status changed from $update_from_status to $update_to_status in list $update_list that were called $update_count_op_phrase$update_count_num times."; + $update_sentence = "$update_lead_count "._QXZ("leads had their status changed from")." $update_from_status "._QXZ("to")." $update_to_status "._QXZ("in list")." $update_list "._QXZ("that were called")." $update_count_op_phrase$update_count_num "._QXZ("times")."."; $SQL_log = "$update_lead_stmt|"; $SQL_log = preg_replace('/;/', '', $SQL_log); @@ -629,7 +629,7 @@ if ( ( $delete_submit == _QXZ("delete") ) && ( $delete_lists > 0 ) ) echo "\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "

"._QXZ("Click here to start over").".

\n"; echo "\n\n"; @@ -874,7 +874,7 @@ if ( $i++; } echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; # END lead move @@ -933,7 +933,7 @@ if ( $i++; } echo "\n"; - echo "\n"; + echo "\n"; # END Status Update if ( $delete_lists > 0 ) @@ -982,7 +982,7 @@ if ( $i++; } echo "\n"; - echo "\n"; + echo "\n"; # END Delete Leads } diff --git a/agc_2-X/trunk/www/vicidial/lead_tools_advanced.php b/agc_2-X/trunk/www/vicidial/lead_tools_advanced.php index 19fd7b91..7c495b34 100644 --- a/agc_2-X/trunk/www/vicidial/lead_tools_advanced.php +++ b/agc_2-X/trunk/www/vicidial/lead_tools_advanced.php @@ -1163,7 +1163,7 @@ if ($move_submit == _QXZ("move") ) echo "\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "

"._QXZ("Click here to start over").".

\n"; echo "\n\n"; @@ -1930,7 +1930,7 @@ if ($update_submit == _QXZ("update") ) echo "\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "

"._QXZ("Click here to start over").".

\n"; echo "\n\n"; @@ -2705,7 +2705,7 @@ if ( ( $delete_submit == _QXZ("delete") ) && ( $delete_lists > 0 ) ) echo "\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "

"._QXZ("Click here to start over").".

\n"; echo "\n\n"; @@ -3200,7 +3200,7 @@ if ($callback_submit == _QXZ("switchcallbacks") ) echo "\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "

"._QXZ("Click here to start over").".

\n"; echo "\n\n"; @@ -3555,7 +3555,7 @@ if ( $i++; } echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; # END lead move @@ -3664,7 +3664,7 @@ if ( $i++; } echo "\n"; - echo "\n"; + echo "\n"; # END Status Update if ( $delete_lists > 0 ) @@ -3768,7 +3768,7 @@ if ( $i++; } echo "\n"; - echo "\n"; + echo "\n"; # END Delete Leads } @@ -3798,7 +3798,7 @@ if ( echo " "._QXZ("to")." "; echo " (YYYY-MM-DD)\n"; echo "\n"; - echo "\n"; + echo "\n"; # END Callback Convert diff --git a/agc_2-X/trunk/www/vicidial/list_merge.php b/agc_2-X/trunk/www/vicidial/list_merge.php index cd1f8aa1..09a08373 100644 --- a/agc_2-X/trunk/www/vicidial/list_merge.php +++ b/agc_2-X/trunk/www/vicidial/list_merge.php @@ -630,7 +630,7 @@ if (($submit != "submit" ) && ($confirm != "CONFIRM")) echo "\n"; # Submit - echo "\n"; + echo "\n"; echo "\n"; echo "\n"; diff --git a/agc_2-X/trunk/www/vicidial/list_split.php b/agc_2-X/trunk/www/vicidial/list_split.php index 7fd899ef..9654f321 100644 --- a/agc_2-X/trunk/www/vicidial/list_split.php +++ b/agc_2-X/trunk/www/vicidial/list_split.php @@ -322,7 +322,7 @@ if ($submit == _QXZ("submit") ) # keep debug active echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "

"._QXZ("Click here to start over.")."

\n"; echo "\n\n"; @@ -641,7 +641,7 @@ if (($submit != _QXZ("submit") ) && ($confirm != "confirm")) echo "\n"; # Submit - echo "\n"; + echo "\n"; echo "\n"; echo "\n"; diff --git a/agc_2-X/trunk/www/vicidial/manager_chat_interface.php b/agc_2-X/trunk/www/vicidial/manager_chat_interface.php index cac1bbf5..686986b2 100644 --- a/agc_2-X/trunk/www/vicidial/manager_chat_interface.php +++ b/agc_2-X/trunk/www/vicidial/manager_chat_interface.php @@ -797,8 +797,8 @@ $NWE = "')\" WIDTH=20 HEIGHT=20 BORDER=0 ALT=\"HELP\" ALIGN=TOP>"; echo ""._QXZ("Allow agent replies").""; echo ""; echo ""; - echo "


"; - echo ""; + echo "


"; + echo ""; echo ""; echo ""; echo ""; diff --git a/agc_2-X/trunk/www/vicidial/medialog_inventory_report.php b/agc_2-X/trunk/www/vicidial/medialog_inventory_report.php index 316753c8..b3acb6a5 100644 --- a/agc_2-X/trunk/www/vicidial/medialog_inventory_report.php +++ b/agc_2-X/trunk/www/vicidial/medialog_inventory_report.php @@ -641,7 +641,7 @@ if ($archives_available=="Y") } -$MAIN.="

\n"; +$MAIN.="

\n"; $MAIN.="

"._QXZ("reset").""; $MAIN.=""; $MAIN.="\n\n"; diff --git a/agc_2-X/trunk/www/vicidial/phone_stats.php b/agc_2-X/trunk/www/vicidial/phone_stats.php index e6ac70c1..ce36247a 100644 --- a/agc_2-X/trunk/www/vicidial/phone_stats.php +++ b/agc_2-X/trunk/www/vicidial/phone_stats.php @@ -169,6 +169,7 @@ $rsltx=mysql_to_mysqli($stmt, $link); $rowx=mysqli_fetch_row($rsltx); $fullname = $row[0]; +require("screen_colors.php"); ?> @@ -190,7 +191,7 @@ echo "\n"; echo "\n"; echo " "._QXZ("to")." \n"; echo "  \n"; -echo "\n"; +echo "\n"; echo "           $user - $full_name\n"; diff --git a/agc_2-X/trunk/www/vicidial/qc_modify_lead.php b/agc_2-X/trunk/www/vicidial/qc_modify_lead.php index 7b831d91..57cbfb83 100644 --- a/agc_2-X/trunk/www/vicidial/qc_modify_lead.php +++ b/agc_2-X/trunk/www/vicidial/qc_modify_lead.php @@ -408,6 +408,7 @@ $vdc_form_display = 'vdc_form_display.php'; if (preg_match("/cf_encrypt/",$active_modules)) {$vdc_form_display = 'vdc_form_display_encrypt.php';} +require("screen_colors.php"); ?> @@ -1071,7 +1072,7 @@ else // echo "Modify closer log \n"; echo ""._QXZ("Disable QC log entry")." ("._QXZ("this feature is not active yet").")\n"; - echo "\n"; + echo "\n"; echo ""; if (strlen($qc_webform) > 4) { @@ -1106,7 +1107,7 @@ else echo "\n"; echo "\n"; echo "\n"; - echo "
\n"; + echo "
\n"; echo "
\n"; echo "\n"; @@ -1114,7 +1115,7 @@ else echo "\n"; echo "\n"; echo _QXZ("New Callback Owner UserID").": \n"; - echo "

\n"; + echo "
\n"; } else { @@ -1124,7 +1125,7 @@ else echo "\n"; echo "\n"; echo _QXZ("New Callback Owner UserID").": \n"; - echo "
\n"; + echo "
\n"; } $appointment_datetimeARRAY = explode(" ",$rowx[6]); @@ -1239,7 +1240,7 @@ else - " name=smt id=smt onClick="submit_form()"> + " name=smt id=smt onClick="submit_form()"> diff --git a/agc_2-X/trunk/www/vicidial/realtime_report.php b/agc_2-X/trunk/www/vicidial/realtime_report.php index f0cdfeb6..37135747 100644 --- a/agc_2-X/trunk/www/vicidial/realtime_report.php +++ b/agc_2-X/trunk/www/vicidial/realtime_report.php @@ -794,6 +794,7 @@ while ($i < $ingroups_to_print) $i++; } +require("screen_colors.php"); if (!isset($RR)) {$RR=4;} @@ -1040,7 +1041,7 @@ $select_list .= ""; $select_list .= "
"; $select_list .= ""; -$select_list .= "         "; +$select_list .= "         "; $select_list .= ""; $select_list .= ""; $select_list .= "   "; diff --git a/agc_2-X/trunk/www/vicidial/record_conf_1_hour.php b/agc_2-X/trunk/www/vicidial/record_conf_1_hour.php index 9b286190..84703d7c 100644 --- a/agc_2-X/trunk/www/vicidial/record_conf_1_hour.php +++ b/agc_2-X/trunk/www/vicidial/record_conf_1_hour.php @@ -140,7 +140,7 @@ $rslt=mysql_to_mysqli($stmt, $link); $row=mysqli_fetch_row($rslt); $full_name = $row[0]; - +require("screen_colors.php"); ?> @@ -187,7 +187,7 @@ else echo "server_ip: | \n"; echo "session_id: | \n"; echo "station: | \n"; - echo "\n"; + echo "\n"; echo "


\n"; } ?> diff --git a/agc_2-X/trunk/www/vicidial/recording_lookup.php b/agc_2-X/trunk/www/vicidial/recording_lookup.php index a202b6be..1d1715f2 100644 --- a/agc_2-X/trunk/www/vicidial/recording_lookup.php +++ b/agc_2-X/trunk/www/vicidial/recording_lookup.php @@ -78,6 +78,8 @@ else # fwrite ($fp, "AUTH|VDC |$date|$username|$passwd|$ip|$QUERY_recid|$browser|\n"); # fclose($fp); +require("screen_colors.php"); + ?> @@ -163,7 +165,7 @@ $RUNtime = ($ENDtime - $STARTtime); echo "\n\n\n


\n
\n"; echo "\n"; -echo "\n"; +echo "\n"; echo "
\n"; diff --git a/agc_2-X/trunk/www/vicidial/remote_dispo.php b/agc_2-X/trunk/www/vicidial/remote_dispo.php index c79f32e5..b8172a34 100644 --- a/agc_2-X/trunk/www/vicidial/remote_dispo.php +++ b/agc_2-X/trunk/www/vicidial/remote_dispo.php @@ -179,7 +179,7 @@ else $fullname = $row[0]; } - +require("screen_colors.php"); ?> @@ -211,7 +211,7 @@ if ($end_call > 0) echo _QXZ("Call has been dispositioned")."       $NOW_TIME\n

\n"; - echo "
\n"; + echo "
\n"; } else { @@ -302,7 +302,7 @@ else echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "


\n"; } diff --git a/agc_2-X/trunk/www/vicidial/reset_campaign_lists.php b/agc_2-X/trunk/www/vicidial/reset_campaign_lists.php index 40ed275f..aae06605 100644 --- a/agc_2-X/trunk/www/vicidial/reset_campaign_lists.php +++ b/agc_2-X/trunk/www/vicidial/reset_campaign_lists.php @@ -294,7 +294,7 @@ if ( ($LOGuser_level >= 9) and $LOGmodify_campaigns>0 and $LOGmodify_lists>0 and echo ""; echo ""; echo ""; - echo ""; + echo ""; echo ""; if ($submit_campaign_reset && $reset_lead_called_campaigns) diff --git a/agc_2-X/trunk/www/vicidial/timeclock_edit.php b/agc_2-X/trunk/www/vicidial/timeclock_edit.php index 0a260d9d..62c51329 100644 --- a/agc_2-X/trunk/www/vicidial/timeclock_edit.php +++ b/agc_2-X/trunk/www/vicidial/timeclock_edit.php @@ -491,7 +491,7 @@ if ( ($invalid_record < 1) or (strlen($timeclock_id)<1) ) echo _QXZ("NEW NOTES").": \n"; echo "\n"; echo "\n"; - echo "
\n"; + echo "
\n"; echo "\n"; echo "

\n"; } diff --git a/agc_2-X/trunk/www/vicidial/timeclock_status.php b/agc_2-X/trunk/www/vicidial/timeclock_status.php index dc447360..c77fc9f4 100644 --- a/agc_2-X/trunk/www/vicidial/timeclock_status.php +++ b/agc_2-X/trunk/www/vicidial/timeclock_status.php @@ -300,40 +300,8 @@ if (strlen($user_group) > 0) $group_name = $row[0]; } +require("screen_colors.php"); -$SSmenu_background='015B91'; -$SSframe_background='D9E6FE'; -$SSstd_row1_background='9BB9FB'; -$SSstd_row2_background='B9CBFD'; -$SSstd_row3_background='8EBCFD'; -$SSstd_row4_background='B6D3FC'; -$SSstd_row5_background='A3C3D6'; -$SSalt_row1_background='BDFFBD'; -$SSalt_row2_background='99FF99'; -$SSalt_row3_background='CCFFCC'; - -if ($SSadmin_screen_colors != 'default') - { - $stmt = "SELECT menu_background,frame_background,std_row1_background,std_row2_background,std_row3_background,std_row4_background,std_row5_background,alt_row1_background,alt_row2_background,alt_row3_background,web_logo FROM vicidial_screen_colors where colors_id='$SSadmin_screen_colors';"; - $rslt=mysql_to_mysqli($stmt, $link); - if ($DB) {echo "$stmt\n";} - $colors_ct = mysqli_num_rows($rslt); - if ($colors_ct > 0) - { - $row=mysqli_fetch_row($rslt); - $SSmenu_background = $row[0]; - $SSframe_background = $row[1]; - $SSstd_row1_background = $row[2]; - $SSstd_row2_background = $row[3]; - $SSstd_row3_background = $row[4]; - $SSstd_row4_background = $row[5]; - $SSstd_row5_background = $row[6]; - $SSalt_row1_background = $row[7]; - $SSalt_row2_background = $row[8]; - $SSalt_row3_background = $row[9]; - $SSweb_logo = $row[10]; - } - } $Mhead_color = $SSstd_row5_background; $Mmain_bgcolor = $SSmenu_background; $Mhead_color = $SSstd_row5_background; @@ -407,7 +375,7 @@ $MAIN.="< $MAIN.="
\n"; $MAIN.="\n"; $MAIN.=""; -$MAIN.=" $o) $o++; } echo "\n"; -echo "

\n"; +echo "

\n"; echo "\n


"; @@ -308,7 +308,7 @@ while ($groups_to_print > $o) $o++; } echo "\n"; -echo "

\n"; +echo "

\n"; echo "\n
"; diff --git a/agc_2-X/trunk/www/vicidial/user_stats.php b/agc_2-X/trunk/www/vicidial/user_stats.php index 46d9952b..ef0d3182 100644 --- a/agc_2-X/trunk/www/vicidial/user_stats.php +++ b/agc_2-X/trunk/www/vicidial/user_stats.php @@ -296,38 +296,8 @@ if (($LOGuser_level < 9) and ($SSlevel_8_disable_add > 0)) {$add_copy_disabled++;} -$SSmenu_background='015B91'; -$SSframe_background='D9E6FE'; -$SSstd_row1_background='9BB9FB'; -$SSstd_row2_background='B9CBFD'; -$SSstd_row3_background='8EBCFD'; -$SSstd_row4_background='B6D3FC'; -$SSstd_row5_background='A3C3D6'; -$SSalt_row1_background='BDFFBD'; -$SSalt_row2_background='99FF99'; -$SSalt_row3_background='CCFFCC'; +require("screen_colors.php"); -if ($SSadmin_screen_colors != 'default') - { - $stmt = "SELECT menu_background,frame_background,std_row1_background,std_row2_background,std_row3_background,std_row4_background,std_row5_background,alt_row1_background,alt_row2_background,alt_row3_background FROM vicidial_screen_colors where colors_id='$SSadmin_screen_colors';"; - $rslt=mysql_to_mysqli($stmt, $link); - if ($DB) {echo "$stmt\n";} - $colors_ct = mysqli_num_rows($rslt); - if ($colors_ct > 0) - { - $row=mysqli_fetch_row($rslt); - $SSmenu_background = $row[0]; - $SSframe_background = $row[1]; - $SSstd_row1_background = $row[2]; - $SSstd_row2_background = $row[3]; - $SSstd_row3_background = $row[4]; - $SSstd_row4_background = $row[5]; - $SSstd_row5_background = $row[6]; - $SSalt_row1_background = $row[7]; - $SSalt_row2_background = $row[8]; - $SSalt_row3_background = $row[9]; - } - } $Mhead_color = $SSstd_row5_background; $Mmain_bgcolor = $SSmenu_background; $Mhead_color = $SSstd_row5_background; @@ -571,7 +541,7 @@ if ($archives_available=="Y") $MAIN.=""._QXZ("Search archived data")."\n"; } -$MAIN.="\n"; +$MAIN.="\n"; $MAIN.="       $user - $full_name

\n"; diff --git a/agc_2-X/trunk/www/vicidial/user_status.php b/agc_2-X/trunk/www/vicidial/user_status.php index 7ca46f37..9b4e43fb 100644 --- a/agc_2-X/trunk/www/vicidial/user_status.php +++ b/agc_2-X/trunk/www/vicidial/user_status.php @@ -567,7 +567,7 @@ if ($stage == "log_agent_out") $kick_local_channel = "$local_DEF$VLA_conf_exten$local_AMP$ext_context"; $queryCID = "ULGH3457$StarTtimE"; - $stmtC="INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$VLA_server_ip','','Originate','$queryCID','Channel: $kick_local_channel','Context: $ext_context','Exten: 8300','Priority: 1','Callerid: $queryCID','','','','','');"; + $stmtC="INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$VLA_server_ip','','Originate','$queryCID','Channel: $kick_local_channel','Context: $ext_context','Exten: 8300','Priority: 1','Callerid: $queryCID','','','','$channel','$exten');"; if ($DB) {echo "
$stmtC\n";} $rslt=mysql_to_mysqli($stmtC, $link); @@ -960,14 +960,14 @@ if ($agents_to_print > 0) $o++; } echo "\n"; - echo "
\n"; + echo "
\n"; */ echo "
\n"; echo "\n"; echo "\n"; echo "\n"; - echo "   "._QXZ("NOTE: this will hang up all calls in the agent session")."
\n"; + echo "   "._QXZ("NOTE: this will hang up all calls in the agent session")."
\n"; } } @@ -1007,7 +1007,7 @@ if ($modify_timeclock_log > 0) echo "\n"; echo "\n"; echo "\n"; - echo "
\n"; + echo "
\n"; echo "

\n"; } diff --git a/agc_2-X/trunk/www/vicidial/user_territories.php b/agc_2-X/trunk/www/vicidial/user_territories.php index 58c25e76..e8d3e3e1 100644 --- a/agc_2-X/trunk/www/vicidial/user_territories.php +++ b/agc_2-X/trunk/www/vicidial/user_territories.php @@ -226,7 +226,7 @@ if ( ($action == "CHANGE_TERRITORY_OWNER_ACCOUNT") and ($enable_vtiger_integrati echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; exit; } @@ -442,7 +442,7 @@ if ( ($action == "CHANGE_TERRITORY_OWNER") and ($enable_vtiger_integration > 0) echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; } ### END change territory owner in the system @@ -617,7 +617,7 @@ if ($action == "ADD_USER_TERRITORY") echo "$territories_list"; echo "\n"; echo ""._QXZ("Level").": \n"; - echo "\n"; + echo "\n"; echo "\n"; } ### END add user territory page @@ -761,7 +761,7 @@ if ($action == "ADD_TERRITORY") echo "
\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "
"._QXZ("Territory").":
"._QXZ("Territory Description").":
\n"; } ### END add territory page @@ -934,7 +934,7 @@ if ($action == "MODIFY_TERRITORY") } echo ""._QXZ("Vtiger Accounts").": $vtiger_count"; } - echo "\n"; + echo "\n"; echo "\n"; echo "

\n"; @@ -1006,7 +1006,7 @@ if ($action == "MODIFY_TERRITORY") echo ""; echo ""; echo " "; - echo ""; + echo ""; echo ""; echo ""; echo ""._QXZ("DELETE").""; diff --git a/agc_2-X/trunk/www/vicidial/vdremote.php b/agc_2-X/trunk/www/vicidial/vdremote.php index a2ed1db2..772a011f 100644 --- a/agc_2-X/trunk/www/vicidial/vdremote.php +++ b/agc_2-X/trunk/www/vicidial/vdremote.php @@ -175,6 +175,8 @@ else } } +require("screen_colors.php"); + echo "\n"; echo "\n"; echo "\n"; @@ -320,7 +322,7 @@ if ($ADD==31111) echo ""._QXZ("Inbound Groups").": \n"; echo "$groups_list"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo _QXZ("NOTE: It can take up to 30 seconds for changes submitted on this screen to go live")."\n"; } @@ -375,7 +377,7 @@ if ($ADD==41111) echo ""._QXZ("Inbound Groups").": \n"; echo "$groups_list"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo _QXZ("NOTE: It can take up to 30 seconds for changes submitted on this screen to go live")."\n"; } diff --git a/agc_2-X/trunk/www/vicidial/vicidial_custom_reports_admin.php b/agc_2-X/trunk/www/vicidial/vicidial_custom_reports_admin.php index af0f14b5..a76dcb45 100644 --- a/agc_2-X/trunk/www/vicidial/vicidial_custom_reports_admin.php +++ b/agc_2-X/trunk/www/vicidial/vicidial_custom_reports_admin.php @@ -405,7 +405,7 @@ function AddConstant() { var SpanInnerHTML=""; for (y=0; y"; + SpanInnerHTML+=""; } SpanInnerHTML+="
"+key_value[1]+"
"+key_value[0]+""+key_value[1]+"
"; document.getElementById('new_presets').innerHTML=SpanInnerHTML; @@ -420,7 +420,7 @@ function RemoveConstant(array_index) { if (y!=array_index) { new_constants_string+="&"+ALL_presets_array[y]; var key_value=ALL_presets_array[y].split("\="); - SpanInnerHTML+=""+key_value[0]+""+key_value[1]+""; + SpanInnerHTML+=""+key_value[0]+""+key_value[1]+""; x++; } } @@ -482,7 +482,7 @@ function RemoveConstant(array_index) { echo ""._QXZ("Path Name").": $NWB#custom_reports_admin-path_name$NWE\n"; echo ""._QXZ("Preset constants").": "._QXZ("Variable name").":   "._QXZ("Value").": "; echo " "; - echo " $NWB#custom_reports_admin-constants$NWE\n"; + echo " $NWB#custom_reports_admin-constants$NWE\n"; echo ""._QXZ("Current constants").":$NWB#custom_reports_admin-current_constants$NWE\n"; # echo ""._QXZ("Use slave").": $NWB#custom_reports_admin-use_slave$NWE\n"; echo ""._QXZ("User groups").": $NWB#custom_reports_admin-custom_reports_user_groups$NWE\n"; - echo "\n"; + echo "\n"; echo ""; echo ""; diff --git a/agc_2-X/trunk/www/vicidial/vicidial_sales_viewer.php b/agc_2-X/trunk/www/vicidial/vicidial_sales_viewer.php index 2c3526c0..1b608800 100644 --- a/agc_2-X/trunk/www/vicidial/vicidial_sales_viewer.php +++ b/agc_2-X/trunk/www/vicidial/vicidial_sales_viewer.php @@ -233,7 +233,7 @@ echo " - +
"; :       
">
">
** -
diff --git a/agc_2-X/trunk/www/vicidial/voice_lab.php b/agc_2-X/trunk/www/vicidial/voice_lab.php index 5e142f01..198ddeaf 100644 --- a/agc_2-X/trunk/www/vicidial/voice_lab.php +++ b/agc_2-X/trunk/www/vicidial/voice_lab.php @@ -191,7 +191,7 @@ while ($campaigns_to_print > $o) $o++; } - +require("screen_colors.php"); ?> @@ -218,7 +218,7 @@ if ($NEW_VOICE_LAB > 0) echo "\n"; echo "\n"; echo _QXZ("Message Extension")."\n"; - echo "\n"; + echo "\n"; echo "


\n"; $S='*'; @@ -277,7 +277,7 @@ if ($NEW_VOICE_LAB > 0) echo "\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "


\n"; } else @@ -301,7 +301,7 @@ else echo "\n"; echo "\n"; echo _QXZ("Message Extension")."\n"; - echo "\n"; + echo "\n"; echo "


\n"; $nn='99'; @@ -318,7 +318,7 @@ else echo "\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "


\n"; } else @@ -337,7 +337,7 @@ else echo "
\n"; echo _QXZ("Campaign").": "; echo "
\n"; - echo "\n"; + echo "\n"; echo "


\n"; @@ -348,7 +348,7 @@ else echo "
\n"; echo _QXZ("Campaign").": "; echo "
\n"; - echo "\n"; + echo "\n"; echo "


\n"; } } @@ -396,4 +396,4 @@ $rslt=mysql_to_mysqli($stmt, $link); ?> - \ No newline at end of file +