fixes for alternate language issues

git-svn-id: svn://192.168.202.10@2634 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2016-11-28 02:56:54 +00:00
parent 97d7d6b771
commit 08f3a4375d
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -84,7 +84,7 @@ if (isset($_GET["SUBMIT"])) {$SUBMIT=$_GET["SUBMIT"];}
#############################################
##### START SYSTEM_SETTINGS LOOKUP #####
$stmt = "SELECT use_non_latin,auto_dial_limit,user_territories_active,allow_custom_dialplan,callcard_enabled,admin_modify_refresh,nocache_admin,webroot_writable,allow_emails,active_modules,sounds_central_control_active,qc_features_active,contacts_enabled,enable_languages,active_modules,agent_soundboards FROM system_settings;";
$stmt = "SELECT use_non_latin,auto_dial_limit,user_territories_active,allow_custom_dialplan,callcard_enabled,admin_modify_refresh,nocache_admin,webroot_writable,allow_emails,active_modules,sounds_central_control_active,qc_features_active,contacts_enabled,enable_languages,active_modules,agent_soundboards,language_method FROM system_settings;";
$rslt=mysql_to_mysqli($stmt, $link);
if ($DB) {echo "$stmt\n";}
$qm_conf_ct = mysqli_num_rows($rslt);
@@ -107,6 +107,7 @@ if ($qm_conf_ct > 0)
$SSenable_languages = $row[13];
$SSactive_modules = $row[14];
$SSagent_soundboards = $row[15];
$SSlanguage_method = $row[16];
}
##### END SETTINGS LOOKUP #####
###########################################
@@ -191,11 +192,12 @@ if ($auth < 1)
exit;
}
$rights_stmt = "SELECT modify_audiostore from vicidial_users where user='$PHP_AUTH_USER';";
$rights_stmt = "SELECT modify_audiostore,selected_language from vicidial_users where user='$PHP_AUTH_USER';";
if ($DB) {echo "|$stmt|\n";}
$rights_rslt=mysql_to_mysqli($rights_stmt, $link);
$rights_row=mysqli_fetch_row($rights_rslt);
$modify_audiostore = $rights_row[0];
$VUselected_language = $rights_row[1];
# check their permissions
if ( $modify_audiostore < 1 )
+1 -1
View File
@@ -6030,7 +6030,7 @@ if ($SSqc_features_active > 0)
<?php echo _QXZ("<U>Call Inv One-off</U> = Total leads currently dialable in list based on the campaign settings that are at least one dial attempt below the call count limit."); ?><BR>
<?php echo _QXZ("<U>Call Inv Inactive</U> = Total leads currently in list that belong to INCOMPLETE statuses that are NOT currently selected as dialable for the campaign."); ?><BR>
<?php echo _QXZ("<U>Dial Avg</U> = Total calls made on the list divided by the <U>Start Inv</U> of that list."); ?><BR>
<?php echo _QXZ("<U>Pen. %</U> = Percentage of leads in the list that are no longer dialable (<B>Start Inv</B> - <B>Call Inv Total</B> / <B>Start Inv</B>."); ?><BR>
<?php echo _QXZ("<U>Pen. pct</U> = Percentage of leads in the list that are no longer dialable, Start Inv - Call Inv Total divided-by Start Inv."); ?><BR>
<A NAME="DIDstats">
<BR>