";
@@ -316,12 +328,12 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "
\n";
echo "\n";
if ($action == "add") {
- echo "Call Center Agent Add \n";
+ echo "".$text['header-call_center_agent_add']." \n";
}
if ($action == "update") {
- echo "Call Center Agent Edit \n";
+ echo "".$text['header-call_center_agent_edit']." \n";
}
- echo " \n";
+ echo " \n";
echo " \n";
echo "\n";
echo "\n";
@@ -331,7 +343,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " \n";
echo "\n";
- echo " Agent Name:\n";
+ echo " ".$text['label-agent_name'].":\n";
echo " \n";
echo "\n";
//---- Begin Select List --------------------
@@ -358,35 +370,35 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
unset($sql, $result);
//---- End Select List --------------------
echo " \n";
- echo "Select the agents name.\n";
+ echo $text['description-agent_name']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Type:\n";
+ echo " ".$text['label-type'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Enter the agent type.\n";
+ echo $text['description-type']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Call Timeout:\n";
+ echo " ".$text['label-call_timeout'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Enter the call timeout.\n";
+ echo $text['description-call_timeout']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Contact:\n";
+ echo " ".$text['label-contact'].":\n";
echo " \n";
echo "\n";
@@ -394,110 +406,110 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
switch_select_destination("call_center_contact", "", "agent_contact", $agent_contact, "", "");
echo " \n";
- echo "Select the contact number.\n";
+ echo $text['description-contact']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Status:\n";
+ echo " ".$text['label-status'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- if ($agent_status == "Logged Out") {
- echo " Logged Out \n";
+ if ($agent_status == "Logged Out") {
+ echo " ".$text['option-logged_out']." \n";
}
else {
- echo " Logged Out \n";
+ echo " ".$text['option-logged_out']." \n";
}
- if ($agent_status == "Available") {
- echo " Available \n";
+ if ($agent_status == "Available") {
+ echo " ".$text['option-available']." \n";
}
else {
- echo " Available \n";
+ echo " ".$text['option-available']." \n";
}
- if ($agent_status == "Available (On Demand)") {
- echo " Available (On Demand) \n";
+ if ($agent_status == "Available (On Demand)") {
+ echo " ".$text['option-available_on_demand']." \n";
}
else {
- echo " Available (On Demand) \n";
+ echo " ".$text['option-available_on_demand']." \n";
}
- if ($agent_status == "On Break") {
- echo " On Break \n";
+ if ($agent_status == "On Break") {
+ echo " ".$text['option-on_break']." \n";
}
else {
- echo " On Break \n";
+ echo " ".$text['option-on_break']." \n";
}
echo " \n";
echo " \n";
- echo "Select the agent status.\n";
+ echo $text['description-status']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " No Answer Delay Time:\n";
+ echo " ".$text['label-no_answer_delay_time'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Enter the agent no answer delay time in seconds.\n";
+ echo $text['description-no_answer_delay_time']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Max No Answer:\n";
+ echo " ".$text['label-max_no_answer'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Enter max no answer.\n";
+ echo $text['description-max_no_answer']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Wrap Up Time:\n";
+ echo " ".$text['label-wrap_up_time'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Enter the wrap up time.\n";
+ echo $text['description-wrap_up_time']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Reject Delay Time:\n";
+ echo " ".$text['label-reject_delay_time'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Enter the reject delay time.\n";
+ echo $text['description-reject_delay_time']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Busy Delay Time:\n";
+ echo " ".$text['label-busy_delay_time'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Enter the agent busy delay time.\n";
+ echo $text['description-busy_delay_time']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Agent Logout:\n";
+ echo " ".$text['label-agent_logout'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Enter the auto agent logout time in 00:00 format. Requires a service to enforce the logout time.\n";
+ echo $text['description-agent_logout']."\n";
echo " \n";
echo " \n";
@@ -506,7 +518,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if ($action == "update") {
echo " \n";
}
- echo " \n";
+ echo " \n";
echo " \n";
echo " ";
echo "
";
diff --git a/app/call_center/call_center_agent_status.php b/app/call_center/call_center_agent_status.php
index 538eddfb5a..b175cb8aeb 100644
--- a/app/call_center/call_center_agent_status.php
+++ b/app/call_center/call_center_agent_status.php
@@ -33,7 +33,16 @@ else {
echo "access denied";
exit;
}
+
+//add multi-lingual support
+ require_once "app_languages.php";
+ foreach($text as $key => $value) {
+ $text[$key] = $value[$_SESSION['domain']['language']['code']];
+ }
+
require_once "includes/header.php";
+$page["title"] = $text['title-call_center_agent_status'];
+
require_once "includes/paging.php";
//setup the event socket connection
@@ -154,15 +163,15 @@ require_once "includes/paging.php";
echo "
\n";
echo "
\n";
diff --git a/app/call_center/call_center_agents.php b/app/call_center/call_center_agents.php
index d42ec88bd9..3515dd2035 100644
--- a/app/call_center/call_center_agents.php
+++ b/app/call_center/call_center_agents.php
@@ -33,7 +33,16 @@ else {
echo "access denied";
exit;
}
+
+//add multi-lingual support
+ require_once "app_languages.php";
+ foreach($text as $key => $value) {
+ $text[$key] = $value[$_SESSION['domain']['language']['code']];
+ }
+
require_once "includes/header.php";
+$page["title"] = $text['title-call_center_agents'];
+
require_once "includes/paging.php";
//get http values and set them to php variables
@@ -49,15 +58,15 @@ require_once "includes/paging.php";
echo "
\n";
@@ -79,9 +88,9 @@ require_once "includes/paging.php";
$rows_per_page = 100;
$param = "";
$page = $_GET['page'];
- if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
- list($paging_controls, $rows_per_page, $var_3) = paging($num_rows, $param, $rows_per_page);
- $offset = $rows_per_page * $page;
+ if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
+ list($paging_controls, $rows_per_page, $var_3) = paging($num_rows, $param, $rows_per_page);
+ $offset = $rows_per_page * $page;
$sql = "select * from v_call_center_agents ";
$sql .= "where domain_uuid = '$domain_uuid' ";
@@ -109,18 +118,18 @@ require_once "includes/paging.php";
echo "
\n";
//echo th_order_by('domain_uuid', 'domain_uuid', $order_by, $order);
- echo th_order_by('agent_name', 'Agent Name', $order_by, $order);
- echo th_order_by('agent_type', 'Type', $order_by, $order);
- echo th_order_by('agent_call_timeout', 'Call Timeout', $order_by, $order);
- echo th_order_by('agent_contact', 'Contact', $order_by, $order);
- echo th_order_by('agent_max_no_answer', 'Max No Answer', $order_by, $order);
- echo th_order_by('agent_status', 'Status', $order_by, $order);
- //echo th_order_by('agent_wrap_up_time', 'Wrap Up Time', $order_by, $order);
- //echo th_order_by('agent_reject_delay_time', 'Reject Delay Time', $order_by, $order);
- //echo th_order_by('agent_busy_delay_time', 'Busy Delay Time', $order_by, $order);
+ echo th_order_by('agent_name', $text['label-agent_name'], $order_by, $order);
+ echo th_order_by('agent_type', $text['label-type'], $order_by, $order);
+ echo th_order_by('agent_call_timeout', $text['label-call_timeout'], $order_by, $order);
+ echo th_order_by('agent_contact', $text['label-contact'], $order_by, $order);
+ echo th_order_by('agent_max_no_answer', $text['label-max_no_answer'], $order_by, $order);
+ echo th_order_by('agent_status', $text['label-status'], $order_by, $order);
+ //echo th_order_by('agent_wrap_up_time', $text['label-wrap_up_time'], $order_by, $order);
+ //echo th_order_by('agent_reject_delay_time', $text['label-reject_delay_time'], $order_by, $order);
+ //echo th_order_by('agent_busy_delay_time', $text['label-busy_delay_time'], $order_by, $order);
echo "\n";
if (permission_exists('call_center_agents_add')) {
- echo " $v_link_label_add \n";
+ echo " $v_link_label_add \n";
}
echo " \n";
echo " \n";
@@ -136,16 +145,16 @@ require_once "includes/paging.php";
echo " ".$row[agent_call_timeout]." \n";
echo " ".$row[agent_contact]." \n";
echo " ".$row[agent_max_no_answer]." \n";
- echo " ".$row[agent_status]." \n";
+ echo " ".$row[agent_status]." \n";
//echo " ".$row[agent_wrap_up_time]." \n";
//echo " ".$row[agent_reject_delay_time]." \n";
//echo " ".$row[agent_busy_delay_time]." \n";
echo " \n";
if (permission_exists('call_center_agents_edit')) {
- echo " $v_link_label_edit \n";
+ echo " $v_link_label_edit \n";
}
if (permission_exists('call_center_agents_delete')) {
- echo " $v_link_label_delete \n";
+ echo " $v_link_label_delete \n";
}
//echo " \n";
//echo " \n";
@@ -164,7 +173,7 @@ require_once "includes/paging.php";
echo " $paging_controls \n";
echo " \n";
if (permission_exists('call_center_agents_add')) {
- echo " $v_link_label_add \n";
+ echo " $v_link_label_add \n";
}
echo " \n";
echo " \n";
diff --git a/app/call_center/call_center_queue_delete.php b/app/call_center/call_center_queue_delete.php
index abf227056b..2a83db9609 100644
--- a/app/call_center/call_center_queue_delete.php
+++ b/app/call_center/call_center_queue_delete.php
@@ -34,6 +34,12 @@ else {
exit;
}
+//add multi-lingual support
+ require_once "app_languages.php";
+ foreach($text as $key => $value) {
+ $text[$key] = $value[$_SESSION['domain']['language']['code']];
+ }
+
if (count($_GET) > 0) {
$id = check_str($_GET["id"]);
}
@@ -90,7 +96,7 @@ if (strlen($id) > 0) {
require_once "includes/header.php";
echo "
\n";
echo "
\n";
- echo "Delete Complete\n";
+ echo $text['message-delete']."\n";
echo "
\n";
require_once "includes/footer.php";
return;
diff --git a/app/call_center/call_center_queue_edit.php b/app/call_center/call_center_queue_edit.php
index a6ee93b2d8..b602ebb952 100644
--- a/app/call_center/call_center_queue_edit.php
+++ b/app/call_center/call_center_queue_edit.php
@@ -34,6 +34,12 @@ else {
exit;
}
+//add multi-lingual support
+ require_once "app_languages.php";
+ foreach($text as $key => $value) {
+ $text[$key] = $value[$_SESSION['domain']['language']['code']];
+ }
+
//action add or update
if (isset($_REQUEST["id"])) {
$action = "update";
@@ -81,25 +87,25 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
}
//check for all required data
- if (strlen($domain_uuid) == 0) { $msg .= "Please provide: domain_uuid
\n"; }
- if (strlen($queue_name) == 0) { $msg .= "Please provide: Queue Name
\n"; }
- if (strlen($queue_extension) == 0) { $msg .= "Please provide: Extension
\n"; }
- if (strlen($queue_strategy) == 0) { $msg .= "Please provide: Strategy
\n"; }
- //if (strlen($queue_moh_sound) == 0) { $msg .= "Please provide: Music on Hold
\n"; }
- //if (strlen($queue_record_template) == 0) { $msg .= "Please provide: Record Template
\n"; }
- //if (strlen($queue_time_base_score) == 0) { $msg .= "Please provide: Time Base Score
\n"; }
- //if (strlen($queue_max_wait_time) == 0) { $msg .= "Please provide: Max Wait Time
\n"; }
- //if (strlen($queue_max_wait_time_with_no_agent) == 0) { $msg .= "Please provide: Max Wait Time with no Agent
\n"; }
- //if (strlen($queue_max_wait_time_with_no_agent_time_reached) == 0) { $msg .= "Please provide: Max Wait Time with no Agent Time Reached.
\n"; }
- //if (strlen($queue_tier_rules_apply) == 0) { $msg .= "Please provide: Tier Rules Apply
\n"; }
- //if (strlen($queue_tier_rule_wait_second) == 0) { $msg .= "Please provide: Tier Rule Wait Second
\n"; }
- //if (strlen($queue_tier_rule_wait_multiply_level) == 0) { $msg .= "Please provide: Tier Rule Wait Multiply Level
\n"; }
- //if (strlen($queue_tier_rule_no_agent_no_wait) == 0) { $msg .= "Please provide: Tier Rule No Agent No Wait
\n"; }
- //if (strlen($queue_timeout_action) == 0) { $msg .= "Please provide: Timeout Action
\n"; }
- //if (strlen($queue_discard_abandoned_after) == 0) { $msg .= "Please provide: Discard Abandoned After
\n"; }
- //if (strlen($queue_abandoned_resume_allowed) == 0) { $msg .= "Please provide: Abandoned Resume Allowed
\n"; }
- //if (strlen($queue_cid_prefix) == 0) { $msg .= "Please provide: Caller ID Prefix
\n"; }
- //if (strlen($queue_description) == 0) { $msg .= "Please provide: Description
\n"; }
+ if (strlen($domain_uuid) == 0) { $msg .= $text['message-required']."domain_uuid
\n"; }
+ if (strlen($queue_name) == 0) { $msg .= $text['message-required'].$text['label-queue_name']."
\n"; }
+ if (strlen($queue_extension) == 0) { $msg .= $text['message-required'].$text['label-extension']."
\n"; }
+ if (strlen($queue_strategy) == 0) { $msg .= $text['message-required'].$text['label-strategy']."
\n"; }
+ //if (strlen($queue_moh_sound) == 0) { $msg .= $text['message-required'].$text['label-music_on_hold']."
\n"; }
+ //if (strlen($queue_record_template) == 0) { $msg .= $text['message-required'].$text['label-record_template']."
\n"; }
+ //if (strlen($queue_time_base_score) == 0) { $msg .= $text['message-required'].$text['label-time_base_score']."
\n"; }
+ //if (strlen($queue_max_wait_time) == 0) { $msg .= $text['message-required'].$text['label-max_wait_time']."
\n"; }
+ //if (strlen($queue_max_wait_time_with_no_agent) == 0) { $msg .= $text['message-required'].$text['label-max_wait_time_with_no_agent']."
\n"; }
+ //if (strlen($queue_max_wait_time_with_no_agent_time_reached) == 0) { $msg .= $text['message-required'].$text['label-max_wait_time_with_no_agent_time_reached']."
\n"; }
+ //if (strlen($queue_tier_rules_apply) == 0) { $msg .= $text['message-required'].$text['label-tier_rules_apply']."
\n"; }
+ //if (strlen($queue_tier_rule_wait_second) == 0) { $msg .= $text['message-required'].$text['label-tier_rule_wait_second']."
\n"; }
+ //if (strlen($queue_tier_rule_wait_multiply_level) == 0) { $msg .= $text['message-required'].$text['label-tier_rule_wait_multiply_level']."
\n"; }
+ //if (strlen($queue_tier_rule_no_agent_no_wait) == 0) { $msg .= $text['message-required'].$text['label-tier_rule_no_agent_no_wait']."
\n"; }
+ //if (strlen($queue_timeout_action) == 0) { $msg .= $text['message-required'].$text['label-timeout_action']."
\n"; }
+ //if (strlen($queue_discard_abandoned_after) == 0) { $msg .= $text['message-required'].$text['label-discard_abandoned_after']."
\n"; }
+ //if (strlen($queue_abandoned_resume_allowed) == 0) { $msg .= $text['message-required'].$text['label-abandoned_resume_allowed']."
\n"; }
+ //if (strlen($queue_cid_prefix) == 0) { $msg .= $text['message-required'].$text['label-caller_id_name_prefix']."
\n"; }
+ //if (strlen($queue_description) == 0) { $msg .= $text['message-required'].$text['label-description']."
\n"; }
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
require_once "includes/header.php";
require_once "includes/persistformvar.php";
@@ -181,7 +187,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
require_once "includes/header.php";
echo "
\n";
echo "
\n";
- echo "Add Complete\n";
+ echo $text['message-add']."\n";
echo "
\n";
require_once "includes/footer.php";
return;
@@ -227,7 +233,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
require_once "includes/header.php";
echo "
\n";
echo "
\n";
- echo "Update Complete\n";
+ echo $text['message-update']."\n";
echo "
\n";
require_once "includes/footer.php";
return;
@@ -284,6 +290,12 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//show the header
require_once "includes/header.php";
+ if ($action == "add") {
+ $page["title"] = $text['title-call_center_queue_add'];
+ }
+ if ($action == "update") {
+ $page["title"] = $text['title-call_center_queue_edit'];
+ }
//show the content
echo "
";
@@ -297,19 +309,19 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "
\n";
echo "\n";
if ($action == "add") {
- echo "Call Center Queue Add \n";
+ echo "".$text['header-call_center_queue_add']." \n";
}
if ($action == "update") {
- echo "Call Center Queue Edit \n";
+ echo "".$text['header-call_center_queue_edit']." \n";
}
echo "\n";
if ($action == "update") {
- echo " \n";
- echo " \n";
- echo " \n";
- echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
+ echo " \n";
}
- echo " \n";
+ echo " \n";
echo " \n";
echo " \n";
echo "\n";
@@ -320,97 +332,97 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " \n";
echo "\n";
- echo " Queue Name:\n";
+ echo " ".$text['label-queue_name'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Enter the queue name.\n";
+ echo $text['description-queue_name']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Extension:\n";
+ echo " ".$text['label-extension'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Enter the extension number.\n";
+ echo $text['description-extension']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Strategy:\n";
+ echo " ".$text['label-strategy'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
if ($queue_strategy == "ring-all") {
- echo " ring-all \n";
+ echo " ".$text['option-ring_all']." \n";
}
else {
- echo " ring-all \n";
+ echo " ".$text['option-ring_all']." \n";
}
if ($queue_strategy == "longest-idle-agent") {
- echo " longest-idle-agent \n";
+ echo " ".$text['option-longest_idle_agent']." \n";
}
else {
- echo " longest-idle-agent \n";
+ echo " ".$text['option-longest_idle_agent']." \n";
}
if ($queue_strategy == "round-robin") {
- echo " round-robin \n";
+ echo " ".$text['option-round_robin']." \n";
}
else {
- echo " round-robin \n";
+ echo " ".$text['option-round_robin']." \n";
}
if ($queue_strategy == "top-down") {
- echo " top-down \n";
+ echo " ".$text['option-top_down']." \n";
}
else {
- echo " top-down \n";
+ echo " ".$text['option-top_down']." \n";
}
if ($queue_strategy == "agent-with-least-talk-time") {
- echo " agent-with-least-talk-time \n";
+ echo " ".$text['option-agent_with_least_talk_time']." \n";
}
else {
- echo " agent-with-least-talk-time \n";
+ echo " ".$text['option-agent_with_least_talk_time']." \n";
}
if ($queue_strategy == "agent-with-fewest-calls") {
- echo " agent-with-fewest-calls \n";
+ echo " ".$text['option-agent_with_fewest_calls']." \n";
}
else {
- echo " agent-with-fewest-calls \n";
+ echo " ".$text['option-agent_with_fewest_calls']." \n";
}
if ($queue_strategy == "sequentially-by-agent-order") {
- echo " sequentially-by-agent-order \n";
+ echo " ".$text['option-sequentially_by_agent_order']." \n";
}
else {
- echo " sequentially-by-agent-order \n";
+ echo " ".$text['option-sequentially_by_agent_order']." \n";
}
if ($queue_strategy == "sequentially-by-next-agent-order") {
- echo " sequentially-by-next-agent-order \n";
+ echo " ".$text['option-sequentially_by_next_agent_order']." \n";
}
else {
- echo " sequentially-by-next-agent-order \n";
+ echo " ".$text['option-sequentially_by_next_agent_order']." \n";
}
if ($queue_strategy == "random") {
- echo " random \n";
+ echo " ".$text['option-random']." \n";
}
else {
- echo " random \n";
+ echo " ".$text['option-random']." \n";
}
echo " \n";
echo " \n";
- echo "Enter the queue strategy.\n";
+ echo $text['description-strategy']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Music on Hold:\n";
+ echo " ".$text['label-music_on_hold'].":\n";
echo " \n";
echo "\n";
@@ -421,232 +433,232 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo $moh->select();
echo " \n";
- echo "Enter the music on hold information.\n";
+ echo $text['description-music_on_hold']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Record Template:\n";
+ echo " ".$text['label-record_template'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Enter a record template. \$\${base_dir}/recordings/archive/\${strftime(%Y)}/\${strftime(%b)}/\${strftime(%d)}/\${uuid}.wav\n";
+ echo $text['description-record_template']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Time Base Score:\n";
+ echo " ".$text['label-time_base_score'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
if ($queue_time_base_score == "system") {
- echo " system \n";
+ echo " ".$text['option-system']." \n";
}
else {
- echo " system \n";
+ echo " ".$text['option-system']." \n";
}
if ($queue_time_base_score == "queue") {
- echo " queue \n";
+ echo " ".$text['option-queue']." \n";
}
else {
- echo " queue \n";
+ echo " ".$text['option-queue']." \n";
}
echo " \n";
echo " \n";
- echo "Enter the time base score.\n";
+ echo $text['description-time_base_score']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Max Wait Time:\n";
+ echo " ".$text['label-max_wait_time'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Enter the max wait time.\n";
+ echo $text['description-max_wait_time']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Max Wait Time with no Agent:\n";
+ echo " ".$text['label-max_wait_time_with_no_agent'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Enter the max wait time with no agent.\n";
+ echo $text['description-max_wait_time_with_no_agent']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Max Wait Time with no Agent time reached:\n";
+ echo " ".$text['label-max_wait_time_with_no_agent_time_reached'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Enter the max wait time with no agent time reached.\n";
+ echo $text['description-max_wait_time_with_no_agent_time_reached']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Timeout Action:\n";
+ echo " ".$text['label-timeout_action'].":\n";
echo " \n";
echo "\n";
//switch_select_destination(select_type, select_label, select_name, select_value, select_style, action);
switch_select_destination("dialplan", "", "queue_timeout_action", $queue_timeout_action, "", "");
echo " \n";
- echo "Set the action to perform when the max wait time is reached.\n";
+ echo $text['description-timeout_action']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Tier Rules Apply:\n";
+ echo " ".$text['label-tier_rules_apply'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
if ($queue_tier_rules_apply == "true") {
- echo " true \n";
+ echo " ".$text['option-true']." \n";
}
else {
- echo " true \n";
+ echo " ".$text['option-true']." \n";
}
if ($queue_tier_rules_apply == "false") {
- echo " false \n";
+ echo " ".$text['option-false']." \n";
}
else {
- echo " false \n";
+ echo " ".$text['option-false']." \n";
}
echo " \n";
echo " \n";
- echo "Set the tier rule rules apply to true or false.\n";
+ echo $text['description-tier_rules_apply']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Tier Rule Wait Second:\n";
+ echo " ".$text['label-tier_rule_wait_second'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Enter the tier rule wait seconds.\n";
+ echo $text['description-tier_rule_wait_second']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Tier Rule Wait Multiply Level:\n";
+ echo " ".$text['label-tier_rule_wait_multiply_level'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
if ($queue_tier_rule_wait_multiply_level == "true") {
- echo " true \n";
+ echo " ".$text['option-true']." \n";
}
else {
- echo " true \n";
+ echo " ".$text['option-true']." \n";
}
if ($queue_tier_rule_wait_multiply_level == "false") {
- echo " false \n";
+ echo " ".$text['option-false']." \n";
}
else {
- echo " false \n";
+ echo " ".$text['option-false']." \n";
}
echo " \n";
echo " \n";
- echo "Set the tier rule wait multiply level to true or false.\n";
+ echo $text['description-tier_rule_wait_multiply_level']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Tier Rule No Agent No Wait:\n";
+ echo " ".$text['label-tier_rule_no_agent_no_wait'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
if ($queue_tier_rule_no_agent_no_wait == "true") {
- echo " true \n";
+ echo " ".$text['option-true']." \n";
}
else {
- echo " true \n";
+ echo " ".$text['option-true']." \n";
}
if ($queue_tier_rule_no_agent_no_wait == "false") {
- echo " false \n";
+ echo " ".$text['option-false']." \n";
}
else {
- echo " false \n";
+ echo " ".$text['option-false']." \n";
}
echo " \n";
echo " \n";
- echo "Enter the tier rule no agent no wait.\n";
+ echo $text['description-tier_rule_no_agent_no_wait']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Discard Abandoned After:\n";
+ echo " ".$text['label-discard_abandoned_after'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Set the discard abandoned after seconds.\n";
+ echo $text['description-discard_abandoned_after']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Abandoned Resume Allowed:\n";
+ echo " ".$text['label-abandoned_resume_allowed'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
if ($queue_abandoned_resume_allowed == "true") {
- echo " true \n";
+ echo " ".$text['option-true']." \n";
}
else {
- echo " true \n";
+ echo " ".$text['option-true']." \n";
}
if ($queue_abandoned_resume_allowed == "false") {
- echo " false \n";
+ echo " ".$text['option-false']." \n";
}
else {
- echo " false \n";
+ echo " ".$text['option-false']." \n";
}
echo " \n";
echo " \n";
- echo "Set the abandoned resume allowed to true or false.\n";
+ echo $text['description-abandoned_resume_allowed']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " CID Prefix:\n";
+ echo " ".$text['label-caller_id_name_prefix'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Set a prefix on the caller ID name.\n";
+ echo $text['description-caller_id_name_prefix']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Description:\n";
+ echo " ".$text['label-description'].":\n";
echo " \n";
echo "\n";
echo " \n";
echo " \n";
- echo "Enter the description.\n";
+ echo $text['description-description']."\n";
echo " \n";
echo " \n";
echo " \n";
@@ -654,7 +666,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if ($action == "update") {
echo " \n";
}
- echo " \n";
+ echo " \n";
echo " \n";
echo " ";
echo "
";
diff --git a/app/call_center/call_center_queues.php b/app/call_center/call_center_queues.php
index 89484a2a53..ff8a886ced 100644
--- a/app/call_center/call_center_queues.php
+++ b/app/call_center/call_center_queues.php
@@ -33,7 +33,16 @@ else {
echo "access denied";
exit;
}
+
+//add multi-lingual support
+ require_once "app_languages.php";
+ foreach($text as $key => $value) {
+ $text[$key] = $value[$_SESSION['domain']['language']['code']];
+ }
+
require_once "includes/header.php";
+$page["title"] = $text['title-call_center_queues'];
+
require_once "includes/paging.php";
//get http variables and set as php variables
@@ -49,15 +58,15 @@ require_once "includes/paging.php";
echo "
\n";
@@ -79,9 +88,9 @@ require_once "includes/paging.php";
$rows_per_page = 100;
$param = "";
$page = $_GET['page'];
- if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
- list($paging_controls, $rows_per_page, $var_3) = paging($num_rows, $param, $rows_per_page);
- $offset = $rows_per_page * $page;
+ if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
+ list($paging_controls, $rows_per_page, $var_3) = paging($num_rows, $param, $rows_per_page);
+ $offset = $rows_per_page * $page;
$sql = "select * from v_call_center_queues ";
$sql .= "where domain_uuid = '$domain_uuid' ";
@@ -106,24 +115,24 @@ require_once "includes/paging.php";
echo "
\n";
echo "
\n";
echo "\n";
- echo th_order_by('queue_name', 'Queue Name', $order_by, $order);
- echo th_order_by('queue_extension', 'Extension', $order_by, $order);
- echo th_order_by('queue_strategy', 'Strategy', $order_by, $order);
- //echo th_order_by('queue_moh_sound', 'Music On Hold', $order_by, $order);
- //echo th_order_by('queue_record_template', 'Record Template', $order_by, $order);
- //echo th_order_by('queue_time_base_score', 'Time Base Score', $order_by, $order);
- //echo th_order_by('queue_max_wait_time', 'Max Wait Time', $order_by, $order);
- //echo th_order_by('queue_max_wait_time_with_no_agent', 'Max Wait Time With No Agent', $order_by, $order);
- echo th_order_by('queue_tier_rules_apply', 'Tier Rules Apply', $order_by, $order);
- //echo th_order_by('queue_tier_rule_wait_second', 'Tier Rule Wait Second', $order_by, $order);
- //echo th_order_by('queue_tier_rule_no_agent_no_wait', 'Tier Rule No Agent No Wait', $order_by, $order);
- //echo th_order_by('queue_discard_abandoned_after', 'Discard Abandoned After', $order_by, $order);
- //echo th_order_by('queue_abandoned_resume_allowed', 'Abandoned Resume Allowed', $order_by, $order);
- //echo th_order_by('queue_tier_rule_wait_multiply_level', 'Tier Rule Wait Multiply Level', $order_by, $order);
- echo th_order_by('queue_description', 'Description', $order_by, $order);
+ echo th_order_by('queue_name', $text['label-queue_name'], $order_by, $order);
+ echo th_order_by('queue_extension', $text['label-extension'], $order_by, $order);
+ echo th_order_by('queue_strategy', $text['label-strategy'], $order_by, $order);
+ //echo th_order_by('queue_moh_sound', $text['label-music_on_hold'], $order_by, $order);
+ //echo th_order_by('queue_record_template', $text['label-record_template'], $order_by, $order);
+ //echo th_order_by('queue_time_base_score', $text['label-time_base_score'], $order_by, $order);
+ //echo th_order_by('queue_max_wait_time', $text['label-max_wait_time'], $order_by, $order);
+ //echo th_order_by('queue_max_wait_time_with_no_agent', $text['label-max_wait_time_with_no_agent'], $order_by, $order);
+ echo th_order_by('queue_tier_rules_apply', $text['label-tier_rules_apply'], $order_by, $order);
+ //echo th_order_by('queue_tier_rule_wait_second', $text['label-tier_rule_wait_second'], $order_by, $order);
+ //echo th_order_by('queue_tier_rule_no_agent_no_wait', $text['label-tier_rule_no_agent_no_wait'], $order_by, $order);
+ //echo th_order_by('queue_discard_abandoned_after', $text['label-discard_abandoned_after'], $order_by, $order);
+ //echo th_order_by('queue_abandoned_resume_allowed', $text['label-abandoned_resume_allowed'], $order_by, $order);
+ //echo th_order_by('queue_tier_rule_wait_multiply_level', $text['label-tier_rule_wait_multiply_level'], $order_by, $order);
+ echo th_order_by('queue_description', $text['label-description'], $order_by, $order);
echo "\n";
if (permission_exists('call_center_queues_add')) {
- echo " $v_link_label_add \n";
+ echo " $v_link_label_add \n";
}
echo " \n";
echo " \n";
@@ -148,10 +157,10 @@ require_once "includes/paging.php";
echo " ".$row[queue_description]." \n";
echo " \n";
if (permission_exists('call_center_queues_edit')) {
- echo " $v_link_label_edit \n";
+ echo " $v_link_label_edit \n";
}
if (permission_exists('call_center_queues_delete')) {
- echo " $v_link_label_delete \n";
+ echo " $v_link_label_delete \n";
}
echo " \n";
echo " \n";
@@ -168,7 +177,7 @@ require_once "includes/paging.php";
echo " $paging_controls \n";
echo " \n";
if (permission_exists('call_center_queues_add')) {
- echo " $v_link_label_add \n";
+ echo " $v_link_label_add \n";
}
echo " \n";
echo " \n";
diff --git a/app/call_center/call_center_tier_delete.php b/app/call_center/call_center_tier_delete.php
index c84e7f4bd1..f57ebee664 100644
--- a/app/call_center/call_center_tier_delete.php
+++ b/app/call_center/call_center_tier_delete.php
@@ -34,6 +34,12 @@ else {
exit;
}
+//add multi-lingual support
+ require_once "app_languages.php";
+ foreach($text as $key => $value) {
+ $text[$key] = $value[$_SESSION['domain']['language']['code']];
+ }
+
//get the id
if (count($_GET)>0) {
$id = check_str($_GET["id"]);
@@ -79,7 +85,7 @@ else {
require_once "includes/header.php";
echo " \n";
echo "\n";
- echo "Delete Complete\n";
+ echo $text['message-delete']."\n";
echo "
\n";
require_once "includes/footer.php";
return;
diff --git a/app/call_center/call_center_tier_edit.php b/app/call_center/call_center_tier_edit.php
index de83d2d3dc..b742bc5296 100644
--- a/app/call_center/call_center_tier_edit.php
+++ b/app/call_center/call_center_tier_edit.php
@@ -34,6 +34,12 @@ else {
exit;
}
+//add multi-lingual support
+ require_once "app_languages.php";
+ foreach($text as $key => $value) {
+ $text[$key] = $value[$_SESSION['domain']['language']['code']];
+ }
+
//action add or update
if (isset($_REQUEST["id"])) {
$action = "update";
@@ -59,11 +65,11 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
}
//check for all required data
- //if (strlen($domain_uuid) == 0) { $msg .= "Please provide: domain_uuid \n"; }
- //if (strlen($agent_name) == 0) { $msg .= "Please provide: Agent Name \n"; }
- //if (strlen($queue_name) == 0) { $msg .= "Please provide: Queue Name \n"; }
- //if (strlen($tier_level) == 0) { $msg .= "Please provide: Tier Level \n"; }
- //if (strlen($tier_position) == 0) { $msg .= "Please provide: Tier Position \n"; }
+ //if (strlen($domain_uuid) == 0) { $msg .= $text['message-required']."domain_uuid \n"; }
+ //if (strlen($agent_name) == 0) { $msg .= $text['message-required'].$text['label-agent_name']." \n"; }
+ //if (strlen($queue_name) == 0) { $msg .= $text['message-required'].$text['label-queue_name']." \n"; }
+ //if (strlen($tier_level) == 0) { $msg .= $text['message-required'].$text['label-tier_level']." \n"; }
+ //if (strlen($tier_position) == 0) { $msg .= $text['message-required'].$text['label-tier_position']." \n"; }
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
require_once "includes/header.php";
require_once "includes/persistformvar.php";
@@ -134,7 +140,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
require_once "includes/header.php";
echo " \n";
echo "\n";
- echo "Add Complete\n";
+ echo $text['message-add']."\n";
echo "
\n";
require_once "includes/footer.php";
return;
@@ -157,12 +163,12 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
require_once "includes/header.php";
echo " \n";
echo "\n";
- echo "Update Complete\n";
+ echo $text['message-update']."\n";
echo "
\n";
require_once "includes/footer.php";
return;
} //if ($action == "update")
- } //if ($_POST["persistformvar"] != "true")
+ } //if ($_POST["persistformvar"] != "true")
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
//pre-populate the form
@@ -187,6 +193,12 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//show the header
require_once "includes/header.php";
+ if ($action == "add") {
+ $page["title"] = $text['title-call_center_tier_add'];
+ }
+ if ($action == "update") {
+ $page["title"] = $text['title-call_center_tier_edit'];
+ }
//show the content
echo "";
@@ -201,22 +213,22 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "
\n";
echo "\n";
if ($action == "add") {
- echo "Call Center Tier Add \n";
+ echo "".$text['header-call_center_tier_add']." \n";
}
if ($action == "update") {
- echo "Call Center Tier Edit \n";
+ echo "".$text['header-call_center_tier_edit']." \n";
}
- echo " \n";
+ echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo "List all tiers. Tiers assign agents to queues. \n";
+ echo $text['description-call_center_tiers']." \n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Agent Name:\n";
+ echo " ".$text['label-agent_name'].":\n";
echo " \n";
echo "\n";
@@ -245,13 +257,13 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//---- End Select List --------------------
echo " \n";
- echo "Select the agent name.\n";
+ echo $text['description-agent']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Queue Name:\n";
+ echo " ".$text['label-queue_name'].":\n";
echo " \n";
echo "\n";
@@ -279,66 +291,66 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//---- End Select List --------------------
echo " \n";
- echo "Select the queue name.\n";
+ echo $text['description-options']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Tier Level:\n";
+ echo " ".$text['label-tier_level'].":\n";
echo " \n";
echo "\n";
echo " \n";
//echo " \n";
- if ($tier_level == "1") {
+ if ($tier_level == "1") {
echo " 1 \n";
}
else {
echo " 1 \n";
}
- if ($tier_level == "2") {
+ if ($tier_level == "2") {
echo " 2 \n";
}
else {
echo " 2 \n";
}
- if ($tier_level == "3") {
+ if ($tier_level == "3") {
echo " 3 \n";
}
else {
echo " 3 \n";
}
- if ($tier_level == "4") {
+ if ($tier_level == "4") {
echo " 4 \n";
}
else {
echo " 4 \n";
}
- if ($tier_level == "5") {
+ if ($tier_level == "5") {
echo " 5 \n";
}
else {
echo " 5 \n";
}
- if ($tier_level == "6") {
+ if ($tier_level == "6") {
echo " 6 \n";
}
else {
echo " 6 \n";
}
- if ($tier_level == "7") {
+ if ($tier_level == "7") {
echo " 7 \n";
}
else {
echo " 7 \n";
}
- if ($tier_level == "8") {
+ if ($tier_level == "8") {
echo " 8 \n";
}
else {
echo " 8 \n";
}
- if ($tier_level == "9") {
+ if ($tier_level == "9") {
echo " 9 \n";
}
else {
@@ -346,66 +358,66 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
}
echo " \n";
echo " \n";
- echo "Select the tier level.\n";
+ echo $text['description-tier_level']."\n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
- echo " Tier Position:\n";
+ echo " ".$text['label-tier_position'].":\n";
echo " \n";
echo "\n";
echo " \n";
//echo " \n";
- if ($tier_position == "1") {
+ if ($tier_position == "1") {
echo " 1 \n";
}
else {
echo " 1 \n";
}
- if ($tier_position == "2") {
+ if ($tier_position == "2") {
echo " 2 \n";
}
else {
echo " 2 \n";
}
- if ($tier_position == "3") {
+ if ($tier_position == "3") {
echo " 3 \n";
}
else {
echo " 3 \n";
}
- if ($tier_position == "4") {
+ if ($tier_position == "4") {
echo " 4 \n";
}
else {
echo " 4 \n";
}
- if ($tier_position == "5") {
+ if ($tier_position == "5") {
echo " 5 \n";
}
else {
echo " 5 \n";
}
- if ($tier_position == "6") {
+ if ($tier_position == "6") {
echo " 6 \n";
}
else {
echo " 6 \n";
}
- if ($tier_position == "7") {
+ if ($tier_position == "7") {
echo " 7 \n";
}
else {
echo " 7 \n";
}
- if ($tier_position == "8") {
+ if ($tier_position == "8") {
echo " 8 \n";
}
else {
echo " 8 \n";
}
- if ($tier_position == "9") {
+ if ($tier_position == "9") {
echo " 9 \n";
}
else {
@@ -413,7 +425,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
}
echo " \n";
echo " \n";
- echo "Select the tier position.\n";
+ echo $text['description-tier_position']."\n";
echo " \n";
echo " \n";
echo " \n";
@@ -421,7 +433,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if ($action == "update") {
echo " \n";
}
- echo " \n";
+ echo " \n";
echo " \n";
echo " ";
echo "
";
diff --git a/app/call_center/call_center_tiers.php b/app/call_center/call_center_tiers.php
index e9a79419de..487ac92092 100644
--- a/app/call_center/call_center_tiers.php
+++ b/app/call_center/call_center_tiers.php
@@ -33,7 +33,16 @@ else {
echo "access denied";
exit;
}
+
+//add multi-lingual support
+ require_once "app_languages.php";
+ foreach($text as $key => $value) {
+ $text[$key] = $value[$_SESSION['domain']['language']['code']];
+ }
+
require_once "includes/header.php";
+$page["title"] = $text['title-call_center_tiers'];
+
require_once "includes/paging.php";
//get http variables and set as php variables
@@ -49,14 +58,14 @@ require_once "includes/paging.php";
echo "
\n";
@@ -78,9 +87,9 @@ require_once "includes/paging.php";
$rows_per_page = 100;
$param = "";
$page = $_GET['page'];
- if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
- list($paging_controls, $rows_per_page, $var_3) = paging($num_rows, $param, $rows_per_page);
- $offset = $rows_per_page * $page;
+ if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
+ list($paging_controls, $rows_per_page, $var_3) = paging($num_rows, $param, $rows_per_page);
+ $offset = $rows_per_page * $page;
$sql = "select * from v_call_center_tiers ";
$sql .= "where domain_uuid = '$domain_uuid' ";
@@ -106,13 +115,13 @@ require_once "includes/paging.php";
echo "
\n";
echo "\n";
- echo th_order_by('agent_name', 'Agent Name', $order_by, $order);
- echo th_order_by('queue_name', 'Queue Name', $order_by, $order);
- echo th_order_by('tier_level', 'Tier Level', $order_by, $order);
- echo th_order_by('tier_position', 'Tier Position', $order_by, $order);
+ echo th_order_by('agent_name', $text['label-agent_name'], $order_by, $order);
+ echo th_order_by('queue_name', $text['label-queue_name'], $order_by, $order);
+ echo th_order_by('tier_level', $text['label-tier_level'], $order_by, $order);
+ echo th_order_by('tier_position', $text['label-tier_position'], $order_by, $order);
echo "\n";
if (permission_exists('call_center_tiers_add')) {
- echo " $v_link_label_add \n";
+ echo " $v_link_label_add \n";
}
echo " \n";
echo " \n";
@@ -128,10 +137,10 @@ require_once "includes/paging.php";
echo " ".$row[tier_position]." \n";
echo " \n";
if (permission_exists('call_center_tiers_edit')) {
- echo " $v_link_label_edit \n";
+ echo " $v_link_label_edit \n";
}
if (permission_exists('call_center_tiers_delete')) {
- echo " $v_link_label_delete \n";
+ echo " $v_link_label_delete \n";
}
echo " \n";
echo " \n";
@@ -149,7 +158,7 @@ require_once "includes/paging.php";
echo " $paging_controls \n";
echo " \n";
if (permission_exists('call_center_tiers_add')) {
- echo " $v_link_label_add \n";
+ echo " $v_link_label_add \n";
}
echo " \n";
echo " \n";
diff --git a/app/call_center_active/call_center_active.php b/app/call_center_active/call_center_active.php
index 7568494d10..d0ff857431 100644
--- a/app/call_center_active/call_center_active.php
+++ b/app/call_center_active/call_center_active.php
@@ -34,11 +34,19 @@ else {
exit;
}
+//add multi-lingual support
+ require_once "app_languages.php";
+ foreach($text as $key => $value) {
+ $text[$key] = $value[$_SESSION['domain']['language']['code']];
+ }
+
//get the queue_name and set it as a variable
$queue_name = $_GET[queue_name];
//get the header
require_once "includes/header.php";
+ $page["title"] = $text['title-call_center_queue_activity'];
+
?>