diff --git a/extras/MySQL_AST_CREATE_tables.sql b/extras/MySQL_AST_CREATE_tables.sql
index a174a4c9..86693942 100644
--- a/extras/MySQL_AST_CREATE_tables.sql
+++ b/extras/MySQL_AST_CREATE_tables.sql
@@ -1649,7 +1649,8 @@ cache_carrier_stats_realtime ENUM('0','1') default '0',
oldest_logs_date DATETIME,
log_recording_access ENUM('0', '1') default '0',
report_default_format ENUM('TEXT', 'HTML') default 'TEXT',
-alt_ivr_logging ENUM('0', '1') default '0'
+alt_ivr_logging ENUM('0', '1') default '0',
+admin_row_click ENUM('0', '1') default '1'
) ENGINE=MyISAM;
CREATE TABLE vicidial_campaigns_list_mix (
@@ -3743,4 +3744,4 @@ UPDATE vicidial_configuration set value='1766' where name='qc_database_version';
UPDATE system_settings set vdc_agent_api_active='1';
-UPDATE system_settings SET db_schema_version='1457',db_schema_update_date=NOW(),reload_timestamp=NOW();
+UPDATE system_settings SET db_schema_version='1458',db_schema_update_date=NOW(),reload_timestamp=NOW();
diff --git a/extras/upgrade_2.12.sql b/extras/upgrade_2.12.sql
index dbb0db40..de44343e 100644
--- a/extras/upgrade_2.12.sql
+++ b/extras/upgrade_2.12.sql
@@ -563,3 +563,7 @@ UPDATE system_settings SET db_schema_version='1456',db_schema_update_date=NOW()
ALTER TABLE vicidial_campaigns ADD callback_useronly_move_minutes MEDIUMINT(5) UNSIGNED default '0';
UPDATE system_settings SET db_schema_version='1457',db_schema_update_date=NOW() where db_schema_version < 1457;
+
+ALTER TABLE system_settings ADD admin_row_click ENUM('0', '1') default '1';
+
+UPDATE system_settings SET db_schema_version='1458',db_schema_update_date=NOW() where db_schema_version < 1458;
diff --git a/www/vicidial/admin.php b/www/vicidial/admin.php
index 3284f80e..eab5ec83 100644
--- a/www/vicidial/admin.php
+++ b/www/vicidial/admin.php
@@ -2060,6 +2060,8 @@ if (isset($_GET["callback_useronly_move_minutes"])) {$callback_useronly_move_
elseif (isset($_POST["callback_useronly_move_minutes"])) {$callback_useronly_move_minutes=$_POST["callback_useronly_move_minutes"];}
if (isset($_GET["default_phone_code"])) {$default_phone_code=$_GET["default_phone_code"];}
elseif (isset($_POST["default_phone_code"])) {$default_phone_code=$_POST["default_phone_code"];}
+if (isset($_GET["admin_row_click"])) {$admin_row_click=$_GET["admin_row_click"];}
+ elseif (isset($_POST["admin_row_click"])) {$admin_row_click=$_POST["admin_row_click"];}
if (isset($script_id)) {$script_id= strtoupper($script_id);}
@@ -2074,7 +2076,7 @@ if (strlen($dial_status) > 0)
#############################################
##### START SYSTEM_SETTINGS LOOKUP #####
-$stmt = "SELECT use_non_latin,enable_queuemetrics_logging,enable_vtiger_integration,qc_features_active,outbound_autodial_active,sounds_central_control_active,enable_second_webform,user_territories_active,custom_fields_enabled,admin_web_directory,webphone_url,first_login_trigger,hosted_settings,default_phone_registration_password,default_phone_login_password,default_server_password,test_campaign_calls,active_voicemail_server,voicemail_timezones,default_voicemail_timezone,default_local_gmt,campaign_cid_areacodes_enabled,pllb_grouping_limit,did_ra_extensions_enabled,expanded_list_stats,contacts_enabled,alt_log_server_ip,alt_log_dbname,alt_log_login,alt_log_pass,tables_use_alt_log_db,call_menu_qualify_enabled,admin_list_counts,allow_voicemail_greeting,svn_revision,allow_emails,level_8_disable_add,pass_key,pass_hash_enabled,disable_auto_dial,country_code_list_stats,frozen_server_call_clear,active_modules,allow_chats,enable_languages,language_method,meetme_enter_login_filename,meetme_enter_leave3way_filename,enable_did_entry_list_id,enable_third_webform,default_language,user_hide_realtime_enabled,log_recording_access,alt_ivr_logging FROM system_settings;";
+$stmt = "SELECT use_non_latin,enable_queuemetrics_logging,enable_vtiger_integration,qc_features_active,outbound_autodial_active,sounds_central_control_active,enable_second_webform,user_territories_active,custom_fields_enabled,admin_web_directory,webphone_url,first_login_trigger,hosted_settings,default_phone_registration_password,default_phone_login_password,default_server_password,test_campaign_calls,active_voicemail_server,voicemail_timezones,default_voicemail_timezone,default_local_gmt,campaign_cid_areacodes_enabled,pllb_grouping_limit,did_ra_extensions_enabled,expanded_list_stats,contacts_enabled,alt_log_server_ip,alt_log_dbname,alt_log_login,alt_log_pass,tables_use_alt_log_db,call_menu_qualify_enabled,admin_list_counts,allow_voicemail_greeting,svn_revision,allow_emails,level_8_disable_add,pass_key,pass_hash_enabled,disable_auto_dial,country_code_list_stats,frozen_server_call_clear,active_modules,allow_chats,enable_languages,language_method,meetme_enter_login_filename,meetme_enter_leave3way_filename,enable_did_entry_list_id,enable_third_webform,default_language,user_hide_realtime_enabled,log_recording_access,alt_ivr_logging,admin_row_click FROM system_settings;";
$rslt=mysql_to_mysqli($stmt, $link);
if ($DB) {echo "$stmt\n";}
$qm_conf_ct = mysqli_num_rows($rslt);
@@ -2135,6 +2137,7 @@ if ($qm_conf_ct > 0)
$SSuser_hide_realtime_enabled = $row[51];
$SSlog_recording_access = $row[52];
$SSalt_ivr_logging = $row[53];
+ $SSadmin_row_click = $row[54];
}
##### END SETTINGS LOOKUP #####
###########################################
@@ -2434,6 +2437,7 @@ if ($non_latin < 1)
$alt_dtmf_log = preg_replace('/[^0-9]/','',$alt_dtmf_log);
$callback_useronly_move_minutes = preg_replace('/[^0-9]/','',$callback_useronly_move_minutes);
$default_phone_code = preg_replace('/[^0-9]/','',$default_phone_code);
+ $admin_row_click = preg_replace('/[^0-9]/','',$admin_row_click);
$drop_call_seconds = preg_replace('/[^-0-9]/','',$drop_call_seconds);
$timer_alt_seconds = preg_replace('/[^-0-9]/','',$timer_alt_seconds);
@@ -3755,12 +3759,13 @@ else
# 160404-0940 - design changes
# 160414-1013 - Added default_phone_code to system_settings
# 160427-1656 - Added more detail on active servers column on reports page
+# 160429-0835 - Added admin_row_click system settings option
#
# 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.12-551a';
-$build = '160427-1656';
+$admin_version = '2.12-552a';
+$build = '160429-0835';
$STARTtime = date("U");
$SQLdate = date("Y-m-d H:i:s");
@@ -15648,7 +15653,7 @@ if ($ADD==411111111111111)
$custom_reports_slave_SQL=",custom_reports_use_slave_db='$custom_reports_slave_SQL'";
}
- $stmt="UPDATE system_settings set use_non_latin='$use_non_latin',webroot_writable='$webroot_writable',enable_queuemetrics_logging='$enable_queuemetrics_logging',queuemetrics_server_ip='$queuemetrics_server_ip',queuemetrics_dbname='$queuemetrics_dbname',queuemetrics_login='$queuemetrics_login',queuemetrics_pass='$queuemetrics_pass',queuemetrics_url='$queuemetrics_url',queuemetrics_log_id='$queuemetrics_log_id',queuemetrics_eq_prepend='$queuemetrics_eq_prepend',vicidial_agent_disable='$vicidial_agent_disable',allow_sipsak_messages='$allow_sipsak_messages',admin_home_url='$admin_home_url',enable_agc_xfer_log='$enable_agc_xfer_log',timeclock_end_of_day='$timeclock_end_of_day',vdc_header_date_format='$vdc_header_date_format',vdc_customer_date_format='$vdc_customer_date_format',vdc_header_phone_format='$vdc_header_phone_format',vdc_agent_api_active='$vdc_agent_api_active',enable_vtiger_integration='$enable_vtiger_integration',vtiger_server_ip='$vtiger_server_ip',vtiger_dbname='$vtiger_dbname',vtiger_login='$vtiger_login',vtiger_pass='$vtiger_pass',vtiger_url='$vtiger_url',qc_features_active='$qc_features_active',outbound_autodial_active='$outbound_autodial_active',outbound_calls_per_second='$outbound_calls_per_second',enable_tts_integration='$enable_tts_integration',agentonly_callback_campaign_lock='$agentonly_callback_campaign_lock',sounds_central_control_active='$sounds_central_control_active',sounds_web_server='$sounds_web_server',sounds_web_directory='$sounds_web_directory',active_voicemail_server='$active_voicemail_server',auto_dial_limit='$auto_dial_limit',user_territories_active='$user_territories_active',allow_custom_dialplan='$allow_custom_dialplan',enable_second_webform='$enable_second_webform',default_webphone='$default_webphone',default_external_server_ip='$default_external_server_ip',webphone_url='" . mysqli_real_escape_string($link, $webphone_url) . "',enable_agc_dispo_log='$enable_agc_dispo_log',queuemetrics_loginout='$queuemetrics_loginout',callcard_enabled='$callcard_enabled',queuemetrics_callstatus='$queuemetrics_callstatus',default_codecs='$default_codecs',admin_web_directory='$admin_web_directory',label_title='$label_title',label_first_name='$label_first_name',label_middle_initial='$label_middle_initial',label_last_name='$label_last_name',label_address1='$label_address1',label_address2='$label_address2',label_address3='$label_address3',label_city='$label_city',label_state='$label_state',label_province='$label_province',label_postal_code='$label_postal_code',label_vendor_lead_code='$label_vendor_lead_code',label_gender='$label_gender',label_phone_number='$label_phone_number',label_phone_code='$label_phone_code',label_alt_phone='$label_alt_phone',label_security_phrase='$label_security_phrase',label_email='$label_email',label_comments='$label_comments',custom_fields_enabled='$custom_fields_enabled',slave_db_server='$slave_db_server',reports_use_slave_db='$reports_use_slave_db'$custom_reports_slave_SQL,webphone_systemkey='$webphone_systemkey',first_login_trigger='$first_login_trigger',default_phone_registration_password='$default_phone_registration_password',default_phone_login_password='$default_phone_login_password',default_server_password='$default_server_password',admin_modify_refresh='$admin_modify_refresh',nocache_admin='$nocache_admin',generate_cross_server_exten='$generate_cross_server_exten',queuemetrics_addmember_enabled='$queuemetrics_addmember_enabled',queuemetrics_dispo_pause='$queuemetrics_dispo_pause',label_hide_field_logs='$label_hide_field_logs',queuemetrics_pe_phone_append='$queuemetrics_pe_phone_append',test_campaign_calls='$test_campaign_calls',agents_calls_reset='$agents_calls_reset',default_voicemail_timezone='$default_voicemail_timezone',default_local_gmt='$default_local_gmt',noanswer_log='$noanswer_log',alt_log_server_ip='$alt_log_server_ip',alt_log_dbname='$alt_log_dbname',alt_log_login='$alt_log_login',alt_log_pass='$alt_log_pass',tables_use_alt_log_db='$tables_use_alt_log_db',did_agent_log='$did_agent_log',campaign_cid_areacodes_enabled='$campaign_cid_areacodes_enabled',pllb_grouping_limit='$pllb_grouping_limit',did_ra_extensions_enabled='$did_ra_extensions_enabled',expanded_list_stats='$expanded_list_stats',contacts_enabled='$contacts_enabled',call_menu_qualify_enabled='$call_menu_qualify_enabled',admin_list_counts='$admin_list_counts',allow_voicemail_greeting='$allow_voicemail_greeting',queuemetrics_socket='$queuemetrics_socket',queuemetrics_socket_url='$queuemetrics_socket_url',enhanced_disconnect_logging='$enhanced_disconnect_logging',allow_emails='$allow_emails',level_8_disable_add='$level_8_disable_add',queuemetrics_record_hold='$queuemetrics_record_hold',country_code_list_stats='$country_code_list_stats',queuemetrics_pause_type='$queuemetrics_pause_type',frozen_server_call_clear='$frozen_server_call_clear',callback_time_24hour='$callback_time_24hour',enable_languages='$enable_languages',language_method='$language_method',meetme_enter_login_filename='$meetme_enter_login_filename',meetme_enter_leave3way_filename='$meetme_enter_leave3way_filename',enable_did_entry_list_id='$enable_did_entry_list_id',enable_third_webform='$enable_third_webform',allow_chats='$allow_chats',chat_url='$chat_url',chat_timeout='$chat_timeout',agent_debug_logging='$agent_debug_logging',default_language='$default_language',agent_whisper_enabled='$agent_whisper_enabled',user_hide_realtime_enabled='$user_hide_realtime_enabled',usacan_phone_dialcode_fix='$usacan_phone_dialcode_fix',cache_carrier_stats_realtime='$cache_carrier_stats_realtime',log_recording_access='$log_recording_access',report_default_format='$report_default_format',alt_ivr_logging='$alt_ivr_logging',default_phone_code='$default_phone_code'$custom_dialplanSQL;";
+ $stmt="UPDATE system_settings set use_non_latin='$use_non_latin',webroot_writable='$webroot_writable',enable_queuemetrics_logging='$enable_queuemetrics_logging',queuemetrics_server_ip='$queuemetrics_server_ip',queuemetrics_dbname='$queuemetrics_dbname',queuemetrics_login='$queuemetrics_login',queuemetrics_pass='$queuemetrics_pass',queuemetrics_url='$queuemetrics_url',queuemetrics_log_id='$queuemetrics_log_id',queuemetrics_eq_prepend='$queuemetrics_eq_prepend',vicidial_agent_disable='$vicidial_agent_disable',allow_sipsak_messages='$allow_sipsak_messages',admin_home_url='$admin_home_url',enable_agc_xfer_log='$enable_agc_xfer_log',timeclock_end_of_day='$timeclock_end_of_day',vdc_header_date_format='$vdc_header_date_format',vdc_customer_date_format='$vdc_customer_date_format',vdc_header_phone_format='$vdc_header_phone_format',vdc_agent_api_active='$vdc_agent_api_active',enable_vtiger_integration='$enable_vtiger_integration',vtiger_server_ip='$vtiger_server_ip',vtiger_dbname='$vtiger_dbname',vtiger_login='$vtiger_login',vtiger_pass='$vtiger_pass',vtiger_url='$vtiger_url',qc_features_active='$qc_features_active',outbound_autodial_active='$outbound_autodial_active',outbound_calls_per_second='$outbound_calls_per_second',enable_tts_integration='$enable_tts_integration',agentonly_callback_campaign_lock='$agentonly_callback_campaign_lock',sounds_central_control_active='$sounds_central_control_active',sounds_web_server='$sounds_web_server',sounds_web_directory='$sounds_web_directory',active_voicemail_server='$active_voicemail_server',auto_dial_limit='$auto_dial_limit',user_territories_active='$user_territories_active',allow_custom_dialplan='$allow_custom_dialplan',enable_second_webform='$enable_second_webform',default_webphone='$default_webphone',default_external_server_ip='$default_external_server_ip',webphone_url='" . mysqli_real_escape_string($link, $webphone_url) . "',enable_agc_dispo_log='$enable_agc_dispo_log',queuemetrics_loginout='$queuemetrics_loginout',callcard_enabled='$callcard_enabled',queuemetrics_callstatus='$queuemetrics_callstatus',default_codecs='$default_codecs',admin_web_directory='$admin_web_directory',label_title='$label_title',label_first_name='$label_first_name',label_middle_initial='$label_middle_initial',label_last_name='$label_last_name',label_address1='$label_address1',label_address2='$label_address2',label_address3='$label_address3',label_city='$label_city',label_state='$label_state',label_province='$label_province',label_postal_code='$label_postal_code',label_vendor_lead_code='$label_vendor_lead_code',label_gender='$label_gender',label_phone_number='$label_phone_number',label_phone_code='$label_phone_code',label_alt_phone='$label_alt_phone',label_security_phrase='$label_security_phrase',label_email='$label_email',label_comments='$label_comments',custom_fields_enabled='$custom_fields_enabled',slave_db_server='$slave_db_server',reports_use_slave_db='$reports_use_slave_db'$custom_reports_slave_SQL,webphone_systemkey='$webphone_systemkey',first_login_trigger='$first_login_trigger',default_phone_registration_password='$default_phone_registration_password',default_phone_login_password='$default_phone_login_password',default_server_password='$default_server_password',admin_modify_refresh='$admin_modify_refresh',nocache_admin='$nocache_admin',generate_cross_server_exten='$generate_cross_server_exten',queuemetrics_addmember_enabled='$queuemetrics_addmember_enabled',queuemetrics_dispo_pause='$queuemetrics_dispo_pause',label_hide_field_logs='$label_hide_field_logs',queuemetrics_pe_phone_append='$queuemetrics_pe_phone_append',test_campaign_calls='$test_campaign_calls',agents_calls_reset='$agents_calls_reset',default_voicemail_timezone='$default_voicemail_timezone',default_local_gmt='$default_local_gmt',noanswer_log='$noanswer_log',alt_log_server_ip='$alt_log_server_ip',alt_log_dbname='$alt_log_dbname',alt_log_login='$alt_log_login',alt_log_pass='$alt_log_pass',tables_use_alt_log_db='$tables_use_alt_log_db',did_agent_log='$did_agent_log',campaign_cid_areacodes_enabled='$campaign_cid_areacodes_enabled',pllb_grouping_limit='$pllb_grouping_limit',did_ra_extensions_enabled='$did_ra_extensions_enabled',expanded_list_stats='$expanded_list_stats',contacts_enabled='$contacts_enabled',call_menu_qualify_enabled='$call_menu_qualify_enabled',admin_list_counts='$admin_list_counts',allow_voicemail_greeting='$allow_voicemail_greeting',queuemetrics_socket='$queuemetrics_socket',queuemetrics_socket_url='$queuemetrics_socket_url',enhanced_disconnect_logging='$enhanced_disconnect_logging',allow_emails='$allow_emails',level_8_disable_add='$level_8_disable_add',queuemetrics_record_hold='$queuemetrics_record_hold',country_code_list_stats='$country_code_list_stats',queuemetrics_pause_type='$queuemetrics_pause_type',frozen_server_call_clear='$frozen_server_call_clear',callback_time_24hour='$callback_time_24hour',enable_languages='$enable_languages',language_method='$language_method',meetme_enter_login_filename='$meetme_enter_login_filename',meetme_enter_leave3way_filename='$meetme_enter_leave3way_filename',enable_did_entry_list_id='$enable_did_entry_list_id',enable_third_webform='$enable_third_webform',allow_chats='$allow_chats',chat_url='$chat_url',chat_timeout='$chat_timeout',agent_debug_logging='$agent_debug_logging',default_language='$default_language',agent_whisper_enabled='$agent_whisper_enabled',user_hide_realtime_enabled='$user_hide_realtime_enabled',usacan_phone_dialcode_fix='$usacan_phone_dialcode_fix',cache_carrier_stats_realtime='$cache_carrier_stats_realtime',log_recording_access='$log_recording_access',report_default_format='$report_default_format',alt_ivr_logging='$alt_ivr_logging',default_phone_code='$default_phone_code',admin_row_click='$admin_row_click'$custom_dialplanSQL;";
$rslt=mysql_to_mysqli($stmt, $link);
if ( ($meetme_enter_login_filename != $SSmeetme_enter_login_filename) or ($meetme_enter_leave3way_filename != $SSmeetme_enter_leave3way_filename) )
@@ -23102,7 +23107,7 @@ if ($ADD==32)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "
| $campaigns_id_list[$o] | ";
+ echo "
0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=31&SUB=22&campaign_id=$campaigns_id_list[$o]'\"";} echo ">| $campaigns_id_list[$o] | ";
echo " $campaigns_name_list[$o] | ";
echo " ";
@@ -23164,7 +23169,7 @@ if ($ADD==33)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "| $campaigns_id_list[$o] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=31&SUB=23&campaign_id=$campaigns_id_list[$o]'\"";} echo ">| $campaigns_id_list[$o] | ";
echo " $campaigns_name_list[$o] | ";
echo " ";
@@ -23226,7 +23231,7 @@ if ($ADD==35)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "| $campaigns_id_list[$o] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=31&SUB=25&campaign_id=$campaigns_id_list[$o]'\"";} echo ">| $campaigns_id_list[$o] | ";
echo " $campaigns_name_list[$o] | ";
echo " ";
@@ -23288,7 +23293,7 @@ if ($ADD==36)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "| $campaigns_id_list[$o] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=31&SUB=26&campaign_id=$campaigns_id_list[$o]'\"";} echo ">| $campaigns_id_list[$o] | ";
echo " $campaigns_name_list[$o] | ";
echo " ";
@@ -23350,7 +23355,7 @@ if ($ADD==37)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "| $campaigns_id_list[$o] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=31&SUB=27&campaign_id=$campaigns_id_list[$o]'\"";} echo ">| $campaigns_id_list[$o] | ";
echo " $campaigns_name_list[$o] | ";
echo " ";
@@ -23412,7 +23417,7 @@ if ($ADD==39)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "| $campaigns_id_list[$o] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=31&SUB=29&campaign_id=$campaigns_id_list[$o]'\"";} echo ">| $campaigns_id_list[$o] | ";
echo " $campaigns_name_list[$o] | ";
echo " ";
@@ -23478,7 +23483,7 @@ if ($ADD==301)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "| $campaigns_id_list[$o] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=31&SUB=201&campaign_id=$campaigns_id_list[$o]'\"";} echo ">| $campaigns_id_list[$o] | ";
echo " $campaigns_name_list[$o] | ";
echo " ";
@@ -23546,7 +23551,7 @@ if ($ADD==302)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "| $campaigns_id_list[$o] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=31&SUB=202&campaign_id=$campaigns_id_list[$o]'\"";} echo ">| $campaigns_id_list[$o] | ";
echo " $campaigns_name_list[$o] | ";
echo " $use_custom_cid_list[$o] | ";
echo " ";
@@ -27693,7 +27698,7 @@ if ($ADD==1320)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "| $did_pattern_list[$o] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3321&did_id=$dids_id_list[$o]'\"";} echo ">| $did_pattern_list[$o] | ";
echo " $did_description_list[$o] | ";
echo " ";
@@ -32007,7 +32012,7 @@ if ($ADD==311111111111111)
$ALLagent_count = $rowx[2];
}
- $stmt="SELECT version,install_date,use_non_latin,webroot_writable,enable_queuemetrics_logging,queuemetrics_server_ip,queuemetrics_dbname,queuemetrics_login,queuemetrics_pass,queuemetrics_url,queuemetrics_log_id,queuemetrics_eq_prepend,vicidial_agent_disable,allow_sipsak_messages,admin_home_url,enable_agc_xfer_log,db_schema_version,auto_user_add_value,timeclock_end_of_day,timeclock_last_reset_date,vdc_header_date_format,vdc_customer_date_format,vdc_header_phone_format,vdc_agent_api_active,qc_last_pull_time,enable_vtiger_integration,vtiger_server_ip,vtiger_dbname,vtiger_login,vtiger_pass,vtiger_url,qc_features_active,outbound_autodial_active,outbound_calls_per_second,enable_tts_integration,agentonly_callback_campaign_lock,sounds_central_control_active,sounds_web_server,sounds_web_directory,active_voicemail_server,auto_dial_limit,user_territories_active,allow_custom_dialplan,db_schema_update_date,enable_second_webform,default_webphone,default_external_server_ip,webphone_url,enable_agc_dispo_log,custom_dialplan_entry,queuemetrics_loginout,callcard_enabled,queuemetrics_callstatus,default_codecs,admin_web_directory,label_title,label_first_name,label_middle_initial,label_last_name,label_address1,label_address2,label_address3,label_city,label_state,label_province,label_postal_code,label_vendor_lead_code,label_gender,label_phone_number,label_phone_code,label_alt_phone,label_security_phrase,label_email,label_comments,custom_fields_enabled,slave_db_server,reports_use_slave_db,webphone_systemkey,first_login_trigger,default_phone_registration_password,default_phone_login_password,default_server_password,admin_modify_refresh,nocache_admin,generate_cross_server_exten,queuemetrics_addmember_enabled,queuemetrics_dispo_pause,label_hide_field_logs,queuemetrics_pe_phone_append,test_campaign_calls,agents_calls_reset,default_voicemail_timezone,default_local_gmt,noanswer_log,alt_log_server_ip,alt_log_dbname,alt_log_login,alt_log_pass,tables_use_alt_log_db,did_agent_log,campaign_cid_areacodes_enabled,pllb_grouping_limit,did_ra_extensions_enabled,expanded_list_stats,contacts_enabled,call_menu_qualify_enabled,admin_list_counts,allow_voicemail_greeting,svn_revision,queuemetrics_socket,queuemetrics_socket_url,enhanced_disconnect_logging,allow_emails,level_8_disable_add,pass_hash_enabled,pass_key,pass_cost,disable_auto_dial,queuemetrics_record_hold,country_code_list_stats,reload_timestamp,queuemetrics_pause_type,frozen_server_call_clear,callback_time_24hour,allow_chats,chat_url,chat_timeout,enable_languages,language_method,meetme_enter_login_filename,meetme_enter_leave3way_filename,enable_did_entry_list_id,enable_third_webform,agent_debug_logging,default_language,agent_whisper_enabled,user_hide_realtime_enabled,usacan_phone_dialcode_fix,cache_carrier_stats_realtime,oldest_logs_date,log_recording_access,report_default_format,alt_ivr_logging,default_phone_code from system_settings;";
+ $stmt="SELECT version,install_date,use_non_latin,webroot_writable,enable_queuemetrics_logging,queuemetrics_server_ip,queuemetrics_dbname,queuemetrics_login,queuemetrics_pass,queuemetrics_url,queuemetrics_log_id,queuemetrics_eq_prepend,vicidial_agent_disable,allow_sipsak_messages,admin_home_url,enable_agc_xfer_log,db_schema_version,auto_user_add_value,timeclock_end_of_day,timeclock_last_reset_date,vdc_header_date_format,vdc_customer_date_format,vdc_header_phone_format,vdc_agent_api_active,qc_last_pull_time,enable_vtiger_integration,vtiger_server_ip,vtiger_dbname,vtiger_login,vtiger_pass,vtiger_url,qc_features_active,outbound_autodial_active,outbound_calls_per_second,enable_tts_integration,agentonly_callback_campaign_lock,sounds_central_control_active,sounds_web_server,sounds_web_directory,active_voicemail_server,auto_dial_limit,user_territories_active,allow_custom_dialplan,db_schema_update_date,enable_second_webform,default_webphone,default_external_server_ip,webphone_url,enable_agc_dispo_log,custom_dialplan_entry,queuemetrics_loginout,callcard_enabled,queuemetrics_callstatus,default_codecs,admin_web_directory,label_title,label_first_name,label_middle_initial,label_last_name,label_address1,label_address2,label_address3,label_city,label_state,label_province,label_postal_code,label_vendor_lead_code,label_gender,label_phone_number,label_phone_code,label_alt_phone,label_security_phrase,label_email,label_comments,custom_fields_enabled,slave_db_server,reports_use_slave_db,webphone_systemkey,first_login_trigger,default_phone_registration_password,default_phone_login_password,default_server_password,admin_modify_refresh,nocache_admin,generate_cross_server_exten,queuemetrics_addmember_enabled,queuemetrics_dispo_pause,label_hide_field_logs,queuemetrics_pe_phone_append,test_campaign_calls,agents_calls_reset,default_voicemail_timezone,default_local_gmt,noanswer_log,alt_log_server_ip,alt_log_dbname,alt_log_login,alt_log_pass,tables_use_alt_log_db,did_agent_log,campaign_cid_areacodes_enabled,pllb_grouping_limit,did_ra_extensions_enabled,expanded_list_stats,contacts_enabled,call_menu_qualify_enabled,admin_list_counts,allow_voicemail_greeting,svn_revision,queuemetrics_socket,queuemetrics_socket_url,enhanced_disconnect_logging,allow_emails,level_8_disable_add,pass_hash_enabled,pass_key,pass_cost,disable_auto_dial,queuemetrics_record_hold,country_code_list_stats,reload_timestamp,queuemetrics_pause_type,frozen_server_call_clear,callback_time_24hour,allow_chats,chat_url,chat_timeout,enable_languages,language_method,meetme_enter_login_filename,meetme_enter_leave3way_filename,enable_did_entry_list_id,enable_third_webform,agent_debug_logging,default_language,agent_whisper_enabled,user_hide_realtime_enabled,usacan_phone_dialcode_fix,cache_carrier_stats_realtime,oldest_logs_date,log_recording_access,report_default_format,alt_ivr_logging,default_phone_code,admin_row_click from system_settings;";
$rslt=mysql_to_mysqli($stmt, $link);
$row=mysqli_fetch_row($rslt);
$version = $row[0];
@@ -32154,6 +32159,7 @@ if ($ADD==311111111111111)
$report_default_format = $row[141];
$alt_ivr_logging = $row[142];
$default_phone_code = $row[143];
+ $admin_row_click = $row[144];
if ($pass_hash_enabled > 0) {$pass_hash_enabled = 'ENABLED';}
else {$pass_hash_enabled = 'DISABLED';}
@@ -32223,6 +32229,7 @@ if ($ADD==311111111111111)
echo "| "._QXZ("Admin Home URL").": | $NWB#settings-admin_home_url$NWE | \n";
echo "| "._QXZ("Admin Modify Auto-Refresh").": | $NWB#settings-admin_modify_refresh$NWE | \n";
echo "| "._QXZ("Admin No-Cache").": | $NWB#settings-nocache_admin$NWE | \n";
+ echo "| "._QXZ("Admin Row Click").": | $NWB#settings-admin_row_click$NWE | \n";
echo "| "._QXZ("Enable Agent Transfer Logfile").": | $NWB#settings-enable_agc_xfer_log$NWE | \n";
echo "| "._QXZ("Enable Agent Disposition Logfile").": | $NWB#settings-enable_agc_dispo_log$NWE | \n";
echo "| "._QXZ("Timeclock End Of Day").": | $NWB#settings-timeclock_end_of_day$NWE | \n";
@@ -33330,15 +33337,15 @@ if ($ADD=="0A")
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "| $row[0] | ";
- echo "$row[1] | ";
- echo "$row[2] | ";
- echo "$row[3] | ";
- echo "$row[4] | ";
- echo ""._QXZ("MODIFY")." | ";
- echo ""._QXZ("STATS")." | ";
- echo ""._QXZ("STATUS")." | ";
- echo ""._QXZ("TIME")." | \n";
+ echo " | 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3&user=$row[0]'\"";} echo ">$row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3&user=$row[0]'\"";} echo ">$row[1] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3&user=$row[0]'\"";} echo ">$row[2] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3&user=$row[0]'\"";} echo ">$row[3] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3&user=$row[0]'\"";} echo ">$row[4] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3&user=$row[0]'\"";} echo ">"._QXZ("MODIFY")." | ";
+ echo " 0) {echo " onclick=\"window.document.location='./user_stats.php?user=$row[0]'\"";} echo ">"._QXZ("STATS")." | ";
+ echo " 0) {echo " onclick=\"window.document.location='./user_status.php?user=$row[0]'\"";} echo ">"._QXZ("STATUS")." | ";
+ echo " 0) {echo " onclick=\"window.document.location='./AST_agent_time_sheet.php?agent=$row[0]'\"";} echo ">"._QXZ("TIME")." | \n";
echo " \n";
$o++;
}
@@ -33404,7 +33411,7 @@ if ($ADD==10)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "| $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=34&campaign_id=$row[0]'\"";} echo ">| $row[0] | ";
echo "$row[1] | ";
echo "$row[2] | ";
echo "$row[7] | ";
@@ -33485,7 +33492,7 @@ if ($ADD==100)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=311&list_id=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo " $row[7] | ";
@@ -33601,7 +33608,7 @@ if ($ADD==1000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $group_id_ary[$o] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3111&group_id=$group_id_ary[$o]'\"";} echo ">| $group_id_ary[$o] | ";
echo " $group_name_ary[$o] | ";
echo " $group_priority_ary[$o] | ";
echo " $group_active_ary[$o] $allowed_campaigns_warning | ";
@@ -33666,7 +33673,7 @@ if ( ($ADD==1800) and ($SSallow_emails>0) )
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3811&group_id=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo " $row[3] $allowed_campaigns_warning | ";
@@ -33725,7 +33732,7 @@ if ( ($ADD==1900) and ($SSallow_chats>0) )
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3911&group_id=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo " $row[3] $allowed_campaigns_warning | ";
@@ -33811,7 +33818,7 @@ if ($ADD==1300)
$row[3] .= '...';
}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3311&did_id=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo " $row[3] | ";
@@ -33875,7 +33882,7 @@ if ($ADD==1500)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $menu_id[$o] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3511&menu_id=$menu_id[$o]'\"";} echo ">| $menu_id[$o] | ";
echo " $menu_name[$o] | ";
echo " $menu_group[$o] | ";
echo " $menu_prompt[$o] | ";
@@ -33921,7 +33928,7 @@ if ($ADD==1700)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3711&filter_phone_group_id=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo " $row[4] | ";
@@ -33942,7 +33949,7 @@ if ($ADD==1700)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3711&filter_phone_group_id=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo " $row[4] | ";
@@ -34008,7 +34015,7 @@ if ($ADD==10000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[1] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=31111&remote_agent_id=$row[0]'\"";} echo ">| $row[1] | ";
echo " $row[2] | ";
echo " $row[3] | ";
echo " $row[4] | ";
@@ -34055,7 +34062,7 @@ if ($ADD==12000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[1] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=32111&extension_id=$row[0]'\"";} echo ">| $row[1] | ";
echo " $row[2] | ";
echo " $row[3] | ";
echo " $row[4] | ";
@@ -34098,7 +34105,7 @@ if ($ADD==100000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=311111&user_group=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo ""._QXZ("MODIFY")." | \n";
@@ -34139,7 +34146,7 @@ if ($ADD==1000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "| $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3111111&script_id=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo " $row[3] | ";
@@ -34180,7 +34187,7 @@ if ($ADD==10000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=31111111&lead_filter_id=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo ""._QXZ("MODIFY")." | \n";
@@ -34224,7 +34231,7 @@ if ($ADD==100000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "| $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=311111111&call_time_id=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo " $row[3] | ";
@@ -34268,7 +34275,7 @@ if ($ADD==1000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3111111111&call_time_id=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo " $row[3] | ";
@@ -34314,7 +34321,7 @@ if ($ADD==1200000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3211111111&holiday_id=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo " $row[3] | ";
@@ -34360,7 +34367,7 @@ if ($ADD==130000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=331111111&shift_id=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo " $row[3] | ";
@@ -34426,7 +34433,7 @@ if ($ADD==10000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] |
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=31111111111&extension=$row[0]&server_ip=$row[2]'\"";} echo ">| $row[0] |
$row[1] |
$row[2] |
$row[3] |
@@ -34473,7 +34480,7 @@ if ($ADD==12000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=32111111111&alias_id=$row[0]'\"";} echo ">| $row[0] | ";
echo "$row[1] | ";
echo "$row[2] | ";
echo "$row[3] | ";
@@ -34516,7 +34523,7 @@ if ($ADD==13000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=33111111111&group_alias_id=$row[0]'\"";} echo ">| $row[0] | ";
echo "$row[1] | ";
echo "$row[2] | ";
echo "$row[3] | ";
@@ -34563,7 +34570,7 @@ if ($ADD==100000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=311111111111&server_id=$row[0]'\"";} echo ">| $row[0] | ";
echo "$row[1] | ";
echo "$row[2] | ";
echo "$row[3] | ";
@@ -34607,7 +34614,7 @@ if ($ADD==130000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=331111111111&template_id=$row[0]'\"";} echo ">| $row[0] | ";
echo "$row[1] | ";
echo "$row[2] | ";
echo ""._QXZ("MODIFY")." | \n";
@@ -34656,7 +34663,7 @@ if ($ADD==140000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "| $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=341111111111&carrier_id=$row[0]'\"";} echo ">| $row[0] | ";
echo "$row[1] | ";
echo "$row[2] | ";
echo "$row[3] | ";
@@ -34706,7 +34713,7 @@ if ($ADD==150000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=351111111111&tts_id=$row[0]'\"";} echo ">| $row[0] | ";
echo "$row[1] | ";
echo "$row[2] | ";
echo "$row[4] | ";
@@ -34754,7 +34761,7 @@ if ($ADD==160000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=361111111111&moh_id=$row[0]'\"";} echo ">| $row[0] | ";
echo "$row[1] | ";
echo "$row[2] | ";
echo "$row[3] | ";
@@ -34800,7 +34807,7 @@ if ($ADD==170000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=371111111111&voicemail_id=$row[0]'\"";} echo ">| $row[0] | ";
echo "$row[1] | ";
echo "$row[2] | ";
echo "$row[3] | ";
@@ -34845,7 +34852,7 @@ if ($ADD==180000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=381111111111&label_id=$row[0]'\"";} echo ">| $row[0] | ";
echo "$row[1] | ";
echo "$row[2] | ";
echo "$row[3] | ";
@@ -34905,7 +34912,7 @@ if ($ADD==190000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[1] $row[2] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=391111111111&contact_id=$row[0]'\"";} echo ">| $row[1] $row[2] | ";
echo "$row[3] | ";
echo "$row[4] | ";
echo "$row[5] | ";
@@ -34951,7 +34958,7 @@ if ($ADD==192000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=392111111111&container_id=$row[0]'\"";} echo ">| $row[0] | ";
echo "$row[1] | ";
echo "$row[2] | ";
echo "".strlen($row[4])." | ";
@@ -35008,7 +35015,7 @@ if ($ADD==193000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $status_group_id[$o] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=393111111111&status_group_id=$status_group_id[$o]'\"";} echo ">| $status_group_id[$o] | ";
echo " $status_group_notes[$o] | ";
echo " $admin_group[$o] | ";
echo " $row[0] | ";
@@ -35048,7 +35055,7 @@ if ($ADD==1000000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=3111111111111&conf_exten=$row[0]&server_ip=$row[1]'\"";} echo ">| $row[0] | ";
echo "$row[1] | ";
echo "$row[2] | ";
echo ""._QXZ("MODIFY")." | \n";
@@ -35087,7 +35094,7 @@ if ($ADD==10000000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "| $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=31111111111111&conf_exten=$row[0]&server_ip=$row[1]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo ""._QXZ("MODIFY")." | \n";
@@ -35131,7 +35138,7 @@ if (($ADD==100000000000000) && ($qc_auth=='1'))
{
$bgcolor='class="records_list_y"';
}
- echo "| $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=881&campaign_id=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo ""._QXZ("MODIFY")." | \n";
@@ -35272,7 +35279,7 @@ if ($ADD==700000000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "| $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=730000000000000&stage=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo " $row[3] | ";
@@ -35359,7 +35366,7 @@ if ($ADD==710000000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=730000000000000&stage=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo " $row[3] | ";
@@ -35449,7 +35456,7 @@ if ($ADD==720000000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=730000000000000&stage=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo " $row[3] | ";
@@ -35596,7 +35603,7 @@ if ($ADD==800000000000000)
if ($row[9] > 10) {$run_color='color=purple';}
if ($row[9] > 30) {$run_color='color=red';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=830000000000000&stage=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo " $row[3] | ";
@@ -35662,7 +35669,7 @@ if ($ADD==810000000000000)
if ($row[9] > 10) {$run_color='color=purple';}
if ($row[9] > 30) {$run_color='color=red';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=830000000000000&stage=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo " $row[3] | ";
@@ -36179,27 +36186,27 @@ if ($ADD==999998)
echo "\n";
echo "\n";
echo "\n";
- echo "\n";
- echo "\n";
- echo "\n";
- echo "\n";
- echo "\n";
- echo "\n";
@@ -36208,27 +36215,27 @@ if ($ADD==999998)
echo "\n";
echo "\n";
- echo "\n";
- echo "\n";
- echo "\n";
- echo "\n";
- echo "\n";
- echo "\n";
@@ -36239,39 +36246,39 @@ if ($ADD==999998)
echo "\n";
if ($SSemail_enabled > 0)
{
- echo "\n";
}
if ( ($sounds_central_control_active > 0) or ($SSsounds_central_control_active > 0) )
{
- echo "\n";
- echo "\n";
}
if ($SSenable_languages > 0)
{
- echo "\n";
}
if (preg_match("/avatar/",$SSactive_modules) )
{
- echo "\n";
}
if ($SSenable_tts_integration > 0)
{
- echo "\n";
@@ -36283,19 +36290,19 @@ if ($ADD==999998)
echo "\n";
if ($SScallcard_enabled > 0)
{
- echo "\n";
}
if ($SScontacts_enabled > 0)
{
- echo "\n";
}
- echo "\n";
@@ -36890,7 +36897,7 @@ if ($ADD==999990)
echo "";
echo "\n";
- echo "";
+ echo " 0) {echo " onclick=\"window.document.location='realtime_report.php?report_display_type=HTML';\"";} echo ">";
echo " | ";
echo ""._QXZ("Agents Logged In")." | ";
echo " | ";
@@ -36903,7 +36910,7 @@ if ($ADD==999990)
echo " | ";
echo ""._QXZ("Calls Ringing")." | ";
echo " ";
- echo "";
+ echo " 0) {echo " onclick=\"window.document.location='realtime_report.php?report_display_type=HTML';\"";} echo ">";
echo "| $agent_total | ";
echo "$agent_incall | ";
echo "$agent_incall | ";
diff --git a/www/vicidial/admin_email_accounts.php b/www/vicidial/admin_email_accounts.php
index 401faf81..f3cbd503 100644
--- a/www/vicidial/admin_email_accounts.php
+++ b/www/vicidial/admin_email_accounts.php
@@ -19,10 +19,11 @@
# 150513-2310 - Added POP3 Auth Mode
# 160330-1552 - navigation changes and fixes
# 160404-0936 - design changes
+# 160429-1123 - Added admin_row_click option
#
-$admin_version = '2.12-13';
-$build = '160404-0936';
+$admin_version = '2.12-14';
+$build = '160429-1123';
$sh="emails";
@@ -868,7 +869,7 @@ else
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[email_account_id] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?eact=UPDATE&email_account_id=$row[email_account_id]'\"";} echo ">| $row[email_account_id] | ";
echo " $row[email_account_name] | ";
echo " $row[email_account_description] | ";
echo " $row[email_replyto_address] | ";
diff --git a/www/vicidial/admin_header.php b/www/vicidial/admin_header.php
index ce29b1cc..642ab314 100644
--- a/www/vicidial/admin_header.php
+++ b/www/vicidial/admin_header.php
@@ -62,6 +62,7 @@
# 160328-1930 - Fixed display bugs
# 160330-1600 - Redesign of Admin sub-menu and added icons
# 160404-0934 - design changes
+# 160429-1014 - Added admin_row_click option
#
@@ -1256,7 +1257,7 @@ else
echo "\n";
-$stmt="SELECT admin_home_url,enable_tts_integration,callcard_enabled,custom_fields_enabled,allow_emails,level_8_disable_add,allow_chats,enable_languages from system_settings;";
+$stmt="SELECT admin_home_url,enable_tts_integration,callcard_enabled,custom_fields_enabled,allow_emails,level_8_disable_add,allow_chats,enable_languages,admin_row_click from system_settings;";
$rslt=mysql_to_mysqli($stmt, $link);
$row=mysqli_fetch_row($rslt);
$admin_home_url_LU = $row[0];
@@ -1267,6 +1268,7 @@ $SSemail_enabled = $row[4];
$SSlevel_8_disable_add = $row[5];
$SSchat_enabled = $row[6];
$SSenable_languages = $row[7];
+$SSadmin_row_click = $row[8];
if ($header_font_size < 4) {$header_font_size='12';}
if ($subheader_font_size < 4) {$subheader_font_size='11';}
@@ -1290,13 +1292,13 @@ if ($subcamp_font_size < 4) {$subcamp_font_size='11';}
?>
|
- | >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=999999';\"";} ?>>| >
|
|
- | WIDTH=160>
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=0A';\"";} ?>>| WIDTH=160>
|
- onclick="window.document.location='?ADD=0A';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=0A';\"";} ?>>|
- | onclick="window.document.location='?ADD=1';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1';\"";} ?>>|
- | onclick="window.document.location='?ADD=1A';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1A';\"";} ?>>|
- | onclick="window.document.location='?ADD=550';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=550';\"";} ?>>|
- | onclick="window.document.location='./user_stats.php?user=';">|
+ | 0) {echo " onclick=\"window.document.location='./user_stats.php?user=$user';\"";} ?>>|
- | onclick="window.document.location='./user_status.php?user=';">|
+ | 0) {echo " onclick=\"window.document.location='./user_status.php?user=$user';\"";} ?>>|
- | onclick="window.document.location='./AST_agent_time_sheet.php?agent=';">|
+ | 0) {echo " onclick=\"window.document.location='./AST_agent_time_sheet.php?agent=$user';\"";} ?>>|
|
0) or ($user_territories_active > 0) )
{ ?>
- onclick="window.document.location='./user_territories.php?agent=';">|
+ | 0) {echo " onclick=\"window.document.location='./user_territories.php?agent=$user';\"";} ?>>|
|
|
- | >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=10';\"";} ?>>| >
|
- onclick="window.document.location='?ADD=10';">
+ 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=10';\"";} ?>>
| > |
- onclick="window.document.location='?ADD=32';">
+ 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=32';\"";} ?>>
| > |
- onclick="window.document.location='?ADD=33';">
+ 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=33';\"";} ?>>
| > |
0)
{
?>
- onclick="window.document.location='?ADD=35';">
+ 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=35';\"";} ?>>
| > |
- onclick="window.document.location='?ADD=36';">
+ 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=36';\"";} ?>>
| > |
- onclick="window.document.location='?ADD=39';">
+ 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=39';\"";} ?>>
| > |
- onclick="window.document.location='?ADD=37';">
+ 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=37';\"";} ?>>
| > |
- onclick="window.document.location='?ADD=301';">
+ 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=301';\"";} ?>>
| > |
0)
{
?>
- onclick="window.document.location='?ADD=302';">
+ 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=302';\"";} ?>>
| > |
|
- | > |
+ 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=100';\"";} ?>>| > |
25)
{
@@ -1445,19 +1447,19 @@ if ($subcamp_font_size < 4) {$subcamp_font_size='11';}
if ($sh=='cpcust') {$cpcust_sh="CLASS=\"subhead_style_selected\"";}
?>
- onclick="window.document.location='?ADD=100';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=100';\"";} ?>>|
- | onclick="window.document.location='?ADD=111';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=111';\"";} ?>>|
- | onclick="window.document.location='admin_search_lead.php';">|
+ | 0) {echo " onclick=\"window.document.location='admin_search_lead.php';\"";} ?>>|
- | onclick="window.document.location='admin_modify_lead.php';">|
+ | 0) {echo " onclick=\"window.document.location='admin_modify_lead.php';\"";} ?>>|
- | onclick="window.document.location='?ADD=121';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=121';\"";} ?>>|
- | onclick="window.document.location='admin_listloader_fourth_gen.php';">|
+ | 0) {echo " onclick=\"window.document.location='admin_listloader_fourth_gen.php';\"";} ?>>|
0)
@@ -1466,9 +1468,9 @@ if ($subcamp_font_size < 4) {$subcamp_font_size='11';}
if (preg_match("/cf_encrypt/",$SSactive_modules))
{$admin_lists_custom = 'admin_lists_custom_encrypt.php';}
?>
- | onclick="window.document.location='';">|
+ | 0) {echo " onclick=\"window.document.location='$admin_lists_custom ?>';\"";} ?>>|
- | onclick="window.document.location='?action=COPY_FIELDS_FORM';">|
+ | 0) {echo " onclick=\"window.document.location='$admin_lists_custom?action=COPY_FIELDS_FORM';\"";} ?>>|
| |
-
+ 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=100000000000000';\"";} ?>>
| >
|
@@ -1499,17 +1501,17 @@ if ($subcamp_font_size < 4) {$subcamp_font_size='11';}
if ($sh=='modify') {$modify_sh="CLASS=\"subhead_style_selected\"";}
?>
- onclick="window.document.location='?ADD=100000000000000';">
+ 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=100000000000000';\"";} ?>>
|
|
- onclick="window.document.location='?ADD=100000000000000';">
+ 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=100000000000000';\"";} ?>>
|
|
- onclick="window.document.location='?ADD=341111111111111';">
+ 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=341111111111111';\"";} ?>>
|
|
@@ -1519,7 +1521,7 @@ if ($subcamp_font_size < 4) {$subcamp_font_size='11';}
?>
|
- | >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1000000';\"";} ?>>| >
|
- onclick="window.document.location='?ADD=1000000';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1000000';\"";} ?>>|
- | onclick="window.document.location='?ADD=1111111';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1111111';\"";} ?>>|
@@ -1547,7 +1549,7 @@ if ($subcamp_font_size < 4) {$subcamp_font_size='11';}
{
?>
| |
- | > |
+ 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=10000000';\"";} ?>>| > |
25)
{
@@ -1557,9 +1559,9 @@ if ($subcamp_font_size < 4) {$subcamp_font_size='11';}
if ($sh=='list') {$list_sh="CLASS=\"subhead_style_selected\"";}
if ($sh=='new') {$new_sh="CLASS=\"subhead_style_selected\"";}
?>
- onclick="window.document.location='?ADD=10000000';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=10000000';\"";} ?>>|
- | onclick="window.document.location='?ADD=11111111';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=11111111';\"";} ?>>|
@@ -1569,7 +1571,7 @@ if ($subcamp_font_size < 4) {$subcamp_font_size='11';}
?>
| |
- | >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1000';\"";} ?>>| >
|
0) {$FPGlink = _QXZ("Add-Delete FPG Number");}
else {$FPGlink = _QXZ("Add FPG Number");}
?>
- onclick="window.document.location='?ADD=1000';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1000';\"";} ?>>|
- | onclick="window.document.location='?ADD=1111';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1111';\"";} ?>>|
- | onclick="window.document.location='?ADD=1211';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1211';\"";} ?>>|
| |
@@ -1631,12 +1633,12 @@ if ($subcamp_font_size < 4) {$subcamp_font_size='11';}
if ($SSemail_enabled>0)
{
?>
- onclick="window.document.location='?ADD=1800';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1800';\"";} ?>>|
- | onclick="window.document.location='?ADD=1811';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1811';\"";} ?>>|
- | onclick="window.document.location='?ADD=1911';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1911';\"";} ?>>|
| |
@@ -1647,52 +1649,52 @@ if ($subcamp_font_size < 4) {$subcamp_font_size='11';}
if ($SSchat_enabled>0)
{
?>
- onclick="window.document.location='?ADD=1900';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1900';\"";} ?>>|
Show Chat Groups
- | onclick="window.document.location='?ADD=18111';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=18111';\"";} ?>>|
Add New Chat Group
- | onclick="window.document.location='?ADD=19111';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=19111';\"";} ?>>|
Copy Chat Group
| |
- onclick="window.document.location='?ADD=1300';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1300';\"";} ?>>|
- | onclick="window.document.location='?ADD=1311';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1311';\"";} ?>>|
- | onclick="window.document.location='?ADD=1411';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1411';\"";} ?>>|
0)
{
?>
- | onclick="window.document.location='?ADD=1320';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1320';\"";} ?>>|
| |
- onclick="window.document.location='?ADD=1500';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1500';\"";} ?>>|
- | onclick="window.document.location='?ADD=1511';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1511';\"";} ?>>|
- | onclick="window.document.location='?ADD=1611';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1611';\"";} ?>>|
| |
- onclick="window.document.location='?ADD=1700';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1700';\"";} ?>>|
- | onclick="window.document.location='?ADD=1711';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1711';\"";} ?>>|
- | onclick="window.document.location='?ADD=171';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=171';\"";} ?>>|
|
@@ -1700,7 +1702,7 @@ if ($subcamp_font_size < 4) {$subcamp_font_size='11';}
?>
|
- | >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=100000';\"";} ?>>| >
|
- onclick="window.document.location='?ADD=100000';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=100000';\"";} ?>>|
- | onclick="window.document.location='?ADD=111111';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=111111';\"";} ?>>|
- | onclick="window.document.location='group_hourly_stats.php';">|
+ | 0) {echo " onclick=\"window.document.location='group_hourly_stats.php';\"";} ?>>|
- | onclick="window.document.location='user_group_bulk_change.php';">|
+ | 0) {echo " onclick=\"window.document.location='user_group_bulk_change.php';\"";} ?>>|
|
|
- | >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=10000';\"";} ?>>| >
|
- onclick="window.document.location='?ADD=10000';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=10000';\"";} ?>>|
- | onclick="window.document.location='?ADD=11111';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=11111';\"";} ?>>|
- | onclick="window.document.location='?ADD=12000';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=12000';\"";} ?>>|
- | onclick="window.document.location='?ADD=12111';">|
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=12111';\"";} ?>>|
@@ -1764,7 +1766,7 @@ if ($subcamp_font_size < 4) {$subcamp_font_size='11';}
?>
| |
- | >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=999998';\"";} ?>>| >
|
- onclick="window.document.location='?ADD=100000000';">
+ 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=100000000';\"";} ?>>
COLSPAN=2>
|
- onclick="window.document.location='?ADD=130000000';">| >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=130000000';\"";} ?>>>
|
- onclick="window.document.location='?ADD=10000000000';">| >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=10000000000';\"";} ?>>>
|
- onclick="window.document.location='?ADD=130000000000';">| >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=130000000000';\"";} ?>>>
|
- onclick="window.document.location='?ADD=140000000000';">| >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=140000000000';\"";} ?>>>
|
- onclick="window.document.location='?ADD=100000000000';">| >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=100000000000';\"";} ?>>>
|
- onclick="window.document.location='?ADD=1000000000000';">| >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=1000000000000';\"";} ?>>>
|
- onclick="window.document.location='?ADD=311111111111111';">| >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=311111111111111';\"";} ?>>>
|
- onclick="window.document.location='?ADD=180000000000';">| >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=180000000000';\"";} ?>>>
|
- onclick="window.document.location='?ADD=321111111111111';">| >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=321111111111111';\"";} ?>>>
|
- onclick="window.document.location='?ADD=193000000000';">| >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=193000000000';\"";} ?>>>
|
- onclick="window.document.location='?ADD=170000000000';">| >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=170000000000';\"";} ?>>>
|
0)
{ ?>
- onclick="window.document.location='admin_email_accounts.php';">| >
+ | 0) {echo " onclick=\"window.document.location='admin_email_accounts.php';\"";} ?>>>
|
0) or ($SSsounds_central_control_active > 0) )
{ ?>
- onclick="window.document.location='audio_store.php';">| >
+ | 0) {echo " onclick=\"window.document.location='audio_store.php';\"";} ?>>>
|
- onclick="window.document.location='?ADD=160000000000';">| >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=160000000000';\"";} ?>>>
|
0)
{ ?>
- onclick="window.document.location='admin_languages.php?ADD=163000000000';">| >
+ | 0) {echo " onclick=\"window.document.location='admin_languages.php?ADD=163000000000';\"";} ?>>>
|
- onclick="window.document.location='admin_avatar.php?ADD=162000000000';">| >
+ | 0) {echo " onclick=\"window.document.location='admin_avatar.php?ADD=162000000000';\"";} ?>>>
|
@@ -1875,27 +1877,27 @@ if ($subcamp_font_size < 4) {$subcamp_font_size='11';}
}
if ($SSenable_tts_integration > 0)
{ ?>
- onclick="window.document.location='?ADD=150000000000';">| >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=150000000000';\"";} ?>>>
|
0)
{ ?>
- onclick="window.document.location='callcard_admin.php';">| >
+ | 0) {echo " onclick=\"window.document.location='callcard_admin.php';\"";} ?>>>
|
0)
{ ?>
- onclick="window.document.location='?ADD=190000000000';">| >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=190000000000';\"";} ?>>>
|
- onclick="window.document.location='?ADD=192000000000';">| >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=192000000000';\"";} ?>>>
|
|
- | >
+ | 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=999999';\"";} ?>>| >
|
|
-
+ 0) {echo " onclick=\"window.document.location='$ADMIN?ADD=100000000000000';\"";} ?>>
| >
|
diff --git a/www/vicidial/admin_languages.php b/www/vicidial/admin_languages.php
index 3715b74e..ca956d24 100644
--- a/www/vicidial/admin_languages.php
+++ b/www/vicidial/admin_languages.php
@@ -13,10 +13,11 @@
# 141229-1531 - Added code for on-the-fly language translations display
# 160330-1553 - navigation changes and fixes
# 160404-0935 - design changes
+# 160429-1124 - Added admin_row_click option
#
-$admin_version = '2.12-7';
-$build = '160404-0935';
+$admin_version = '2.12-8';
+$build = '160429-1124';
require("dbconnect_mysqli.php");
require("functions.php");
@@ -1466,7 +1467,7 @@ if ($ADD==163000000000)
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $Alanguage_id[$o] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?ADD=363111111111&language_id=$Alanguage_id[$o]&DB=$DB'\"";} echo ">| $Alanguage_id[$o] | ";
echo "$Alanguage_description[$o] | ";
echo "";
if (file_exists("../agc/images/$Alanguage_code[$o]$gif"))
diff --git a/www/vicidial/admin_lists_custom.php b/www/vicidial/admin_lists_custom.php
index 4521bdc9..b31a634a 100644
--- a/www/vicidial/admin_lists_custom.php
+++ b/www/vicidial/admin_lists_custom.php
@@ -37,10 +37,11 @@
# 160325-1431 - Changes for sidebar update
# 160404-0938 - design changes
# 160414-1243 - Fixed translation issue with COPY form
+# 160429-1125 - Added admin_row_click option
#
-$admin_version = '2.12-29';
-$build = '160414-1243';
+$admin_version = '2.12-30';
+$build = '160429-1125';
require("dbconnect_mysqli.php");
require("functions.php");
@@ -1389,7 +1390,7 @@ if ($action == "LIST")
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "| $A_list_id[$o] | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?action=MODIFY_CUSTOM_FIELDS&list_id=$A_list_id[$o]'\"";} echo ">| $A_list_id[$o] | ";
echo " $A_list_name[$o] | ";
echo " $A_active[$o] | ";
echo " $A_campaign_id[$o] | ";
@@ -1465,7 +1466,7 @@ if ($action == "ADMIN_LOG")
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo " | $row[0] | ";
+ echo " 0) {echo " onclick=\"window.document.location='admin.php?ADD=730000000000000&stage=$row[0]'\"";} echo ">| $row[0] | ";
echo " $row[1] | ";
echo " $row[2] | ";
echo " $row[3] | ";
diff --git a/www/vicidial/help.php b/www/vicidial/help.php
index 2ee3fbe8..7e2253a7 100644
--- a/www/vicidial/help.php
+++ b/www/vicidial/help.php
@@ -86,6 +86,7 @@
# 160324-1940 - Added callback_useronly_move_minutes
# 160407-1931 - Updated Phones Email entry
# 160414-0916 - Added default_phone_code
+# 160429-0834 - Added settings-admin_row_click
#
@@ -4804,6 +4805,11 @@ if ($SSoutbound_autodial_active > 0)
-
+
+
+
+ -
+
diff --git a/www/vicidial/user_territories.php b/www/vicidial/user_territories.php
index a82d19a5..33a9f12d 100644
--- a/www/vicidial/user_territories.php
+++ b/www/vicidial/user_territories.php
@@ -20,10 +20,11 @@
# 150626-2120 - Modified mysqli_error() to mysqli_connect_error() where appropriate
# 160325-1432 - Changes for sidebar update
# 160404-0939 - design changes
+# 160429-1126 - Added admin_row_click option
#
-$version = '2.12-12';
-$build = '160404-0939';
+$version = '2.12-13';
+$build = '160429-1126';
$MT[0]='';
@@ -1089,7 +1090,7 @@ if ($action == "LIST_ALL_TERRITORIES")
{$bgcolor='class="records_list_x"';}
else
{$bgcolor='class="records_list_y"';}
- echo "| $i | ";
+ echo " 0) {echo " onclick=\"window.document.location='$PHP_SELF?action=MODIFY_TERRITORY&territory=$Lterritory[$i]'\"";} echo ">| $i | ";
echo " $Lterritory_id[$i] | ";
echo " $Lterritory[$i] | ";
echo " $Lterritory_description[$i] | ";
| | | | | | | | | | | |