From 2feae02604ff6a54888732cb2a1a97a8181d260d Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 24 Nov 2012 00:12:53 +0000 Subject: [PATCH] Finish some polish work on voicemail status. --- app/voicemail_status/app_languages.php | 32 +++++++++++++++---- app/voicemail_status/voicemail.php | 4 ++- .../voicemail_prefs_delete.php | 14 +++++--- 3 files changed, 39 insertions(+), 11 deletions(-) diff --git a/app/voicemail_status/app_languages.php b/app/voicemail_status/app_languages.php index 57e6011b7c..985574ebd4 100644 --- a/app/voicemail_status/app_languages.php +++ b/app/voicemail_status/app_languages.php @@ -1,16 +1,36 @@  \ No newline at end of file diff --git a/app/voicemail_status/voicemail.php b/app/voicemail_status/voicemail.php index f773c115ca..ea0f4c5635 100644 --- a/app/voicemail_status/voicemail.php +++ b/app/voicemail_status/voicemail.php @@ -35,8 +35,11 @@ else { } require_once "includes/header.php"; require_once "includes/paging.php"; + //add multi-lingual support + echo "\n"; foreach($text as $key => $value) { $text[$key] = $value[$_SESSION['domain']['language']['code']]; } @@ -47,7 +50,6 @@ $order = $_GET["order"]; //show the content echo "
"; echo "\n"; - echo "\n"; echo "
\n"; echo "
"; diff --git a/app/voicemail_status/voicemail_prefs_delete.php b/app/voicemail_status/voicemail_prefs_delete.php index f848b375fc..cc35e54d54 100644 --- a/app/voicemail_status/voicemail_prefs_delete.php +++ b/app/voicemail_status/voicemail_prefs_delete.php @@ -50,16 +50,22 @@ if (count($_GET)>0) { unset($sql); } +//add multi-lingual support + echo "\n"; + foreach($text as $key => $value) { + $text[$key] = $value[$_SESSION['domain']['language']['code']]; + } + //redirect the user require "includes/require.php"; require_once "includes/header.php"; echo "\n"; echo "
\n"; - echo "Voicemail Preferences set to default\n"; + echo $text['label-prefs-delete']."\n"; echo "
\n"; - require "includes/require.php"; require_once "includes/footer.php"; return; -?> - +?> \ No newline at end of file