App->Ring group, preliminary support for translations. Needs more work on ring_groups_edit.php

This commit is contained in:
James Rose
2012-11-24 07:43:34 +00:00
parent 710854ddbe
commit fa61ea75fb
4 changed files with 156 additions and 57 deletions

View File

@@ -22,6 +22,7 @@
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
James Rose <james.o.rose@gmail.com>
*/
require_once "root.php";
require_once "includes/require.php";
@@ -34,6 +35,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 http value and set it as a php variable
if (count($_GET)>0) {
$id = check_str($_GET["id"]);
@@ -80,7 +87,7 @@ else {
require_once "includes/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=ring_groups.php\">\n";
echo "<div align='center'>\n";
echo "Delete Complete\n";
echo $text['message-delete-done']."\n";
echo "</div>\n";
require_once "includes/footer.php";
return;