diff --git a/app/voicemail_status/app_languages.php b/app/voicemail_status/app_languages.php new file mode 100644 index 0000000000..4b029d3742 --- /dev/null +++ b/app/voicemail_status/app_languages.php @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/app/voicemail_status/v_voicemail.php b/app/voicemail_status/v_voicemail.php index 3761a2c488..02b00b4340 100644 --- a/app/voicemail_status/v_voicemail.php +++ b/app/voicemail_status/v_voicemail.php @@ -35,6 +35,11 @@ else { } require_once "includes/header.php"; require_once "includes/paging.php"; +//add multi-lingual support + require_once "app_languages.php"; + foreach($text as $key => $value) { + $text[$key] = $value[$_SESSION['domain']['language']['code']]; + } $order_by = $_GET["order_by"]; $order = $_GET["order"]; @@ -49,8 +54,8 @@ $order = $_GET["order"]; echo "
| Voicemail \n"; - echo " Show details about the voicemail settings including the voicemail count, and voicemail to email address.\n"; + echo " | ".$text['title-voicemail']." \n"; + echo " ".$text['description-voicemail']."\n"; echo " | \n";
echo "
| Messages | \n"; - echo th_order_by('enabled', 'Enabled', $order_by, $order); - echo th_order_by('description', 'Description', $order_by, $order); + echo th_order_by('extension', $text['label-extension'], $order_by, $order); + echo th_order_by('vm_mailto', $text['label-voicemail'], $order_by, $order); + echo "".$text['label-messages']." | \n"; + echo th_order_by('enabled', $text['label-enabled'], $order_by, $order); + echo th_order_by('description', $text['label-description'], $order_by, $order); echo "
|---|---|
| ".$row['description']." | \n"; echo "\n"; if (permission_exists('voicemail_status_delete')) { - echo " $v_link_label_delete\n"; + echo " $v_link_label_delete\n"; } echo " | \n"; echo "