Finish some polish work on voicemail status.
This commit is contained in:
@@ -1,16 +1,36 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$text['title-voicemail']['en-us'] = 'Voicemail';
|
$text['title-voicemail']['en-us'] = 'Voicemail';
|
||||||
|
$text['title-voicemail']['pt-pt'] = '';
|
||||||
|
|
||||||
$text['description-voicemail']['en-us'] = 'Show details about the voicemail settings including the voicemail count, and voicemail to email address.';
|
$text['description-voicemail']['en-us'] = 'Show details about the voicemail settings including the voicemail count, and voicemail to email address.';
|
||||||
|
$text['description-voicemail']['pt-pt'] = '';
|
||||||
|
|
||||||
$text['label-extension']['en-us'] = 'Extension';
|
$text['label-extension']['en-us'] = 'Extension';
|
||||||
$text['label-voicemail']['en-us'] = 'Voicemail Mail To';
|
$text['label-extension']['pt-pt'] = '';
|
||||||
$text['label-messages']['en-us'] = 'Messages';
|
|
||||||
$text['label-enabled']['en-us'] = 'Enabled';
|
$text['label-voicemail']['en-us'] = 'Voicemail Mail To';
|
||||||
$text['label-description']['en-us'] = 'Description';
|
$text['label-voicemail']['pt-pt'] = '';
|
||||||
|
|
||||||
|
$text['label-messages']['en-us'] = 'Messages';
|
||||||
|
$text['label-messages']['pt-pt'] = '';
|
||||||
|
|
||||||
|
$text['label-enabled']['en-us'] = 'Enabled';
|
||||||
|
$text['label-enabled']['pt-pt'] = '';
|
||||||
|
|
||||||
|
$text['label-description']['en-us'] = 'Description';
|
||||||
|
$text['label-description']['pt-pt'] = '';
|
||||||
|
|
||||||
|
$text['label-prefs-delete']['en-us'] = 'Voicemail Preferences set to default';
|
||||||
|
$text['label-prefs-delete']['pt-pt'] = '';
|
||||||
|
|
||||||
|
$text['confirm-prefs-delete-alt']['en-us'] = 'restore default preferences';
|
||||||
|
$text['confirm-prefs-delete-alt']['pt-pt'] = '';
|
||||||
|
|
||||||
|
$text['confirm-prefs-delete-title']['en-us'] = 'restore default preferences';
|
||||||
|
$text['confirm-prefs-delete-title']['pt-pt'] = '';
|
||||||
|
|
||||||
$text['confirm-prefs-delete-alt']['en-us']= 'restore default preferences';
|
|
||||||
$text['confirm-prefs-delete-title']['en-us']='restore default preferences';
|
|
||||||
$text['confirm-prefs-delete']['en-us'] = 'Are you sure you want to remove the voicemail name and greeting?';
|
$text['confirm-prefs-delete']['en-us'] = 'Are you sure you want to remove the voicemail name and greeting?';
|
||||||
|
$text['confirm-prefs-delete']['pt-pt'] = '';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -35,8 +35,11 @@ else {
|
|||||||
}
|
}
|
||||||
require_once "includes/header.php";
|
require_once "includes/header.php";
|
||||||
require_once "includes/paging.php";
|
require_once "includes/paging.php";
|
||||||
|
|
||||||
//add multi-lingual support
|
//add multi-lingual support
|
||||||
|
echo "<!--\n";
|
||||||
require_once "app_languages.php";
|
require_once "app_languages.php";
|
||||||
|
echo "-->\n";
|
||||||
foreach($text as $key => $value) {
|
foreach($text as $key => $value) {
|
||||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||||
}
|
}
|
||||||
@@ -47,7 +50,6 @@ $order = $_GET["order"];
|
|||||||
//show the content
|
//show the content
|
||||||
echo "<div align='center'>";
|
echo "<div align='center'>";
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='2'>\n";
|
echo "<table width='100%' border='0' cellpadding='0' cellspacing='2'>\n";
|
||||||
|
|
||||||
echo "<tr class='border'>\n";
|
echo "<tr class='border'>\n";
|
||||||
echo " <td align=\"center\">\n";
|
echo " <td align=\"center\">\n";
|
||||||
echo " <br>";
|
echo " <br>";
|
||||||
|
|||||||
@@ -50,16 +50,22 @@ if (count($_GET)>0) {
|
|||||||
unset($sql);
|
unset($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//add multi-lingual support
|
||||||
|
echo "<!--\n";
|
||||||
|
require_once "app_languages.php";
|
||||||
|
echo "-->\n";
|
||||||
|
foreach($text as $key => $value) {
|
||||||
|
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||||
|
}
|
||||||
|
|
||||||
//redirect the user
|
//redirect the user
|
||||||
require "includes/require.php";
|
require "includes/require.php";
|
||||||
require_once "includes/header.php";
|
require_once "includes/header.php";
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=voicemail.php\">\n";
|
echo "<meta http-equiv=\"refresh\" content=\"2;url=voicemail.php\">\n";
|
||||||
echo "<div align='center'>\n";
|
echo "<div align='center'>\n";
|
||||||
echo "Voicemail Preferences set to default\n";
|
echo $text['label-prefs-delete']."\n";
|
||||||
echo "</div>\n";
|
echo "</div>\n";
|
||||||
require "includes/require.php";
|
|
||||||
require_once "includes/footer.php";
|
require_once "includes/footer.php";
|
||||||
return;
|
return;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user