Fix a notice error on the menu.
This commit is contained in:
parent
6019c49f41
commit
58e00e580b
|
|
@ -35,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']];
|
||||
}
|
||||
|
||||
//set the http get/post variable(s) to a php variable
|
||||
if (isset($_REQUEST["id"])) {
|
||||
$ivr_menu_uuid = $_GET["id"];
|
||||
|
|
|
|||
|
|
@ -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"]);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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']];
|
||||
}
|
||||
|
||||
function recur_sounds_dir($dir) {
|
||||
global $dir_array;
|
||||
global $dir_path;
|
||||
|
|
|
|||
|
|
@ -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']];
|
||||
}
|
||||
|
||||
//set the http values as variables
|
||||
if (count($_GET)>0) {
|
||||
$id = check_str($_GET["id"]);
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -34,7 +34,8 @@ else {
|
|||
exit;
|
||||
}
|
||||
|
||||
require_once "includes/paging.php";
|
||||
//additional includes
|
||||
require_once "includes/paging.php";
|
||||
|
||||
//get the http values and set them as variables
|
||||
if (isset($_GET["order_by"])) {
|
||||
|
|
|
|||
|
|
@ -33,8 +33,16 @@ else {
|
|||
echo "access denied";
|
||||
exit;
|
||||
}
|
||||
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']];
|
||||
}
|
||||
|
||||
//additional includes
|
||||
require_once "includes/header.php";
|
||||
require_once "includes/paging.php";
|
||||
|
||||
//get the http values and set them as variables
|
||||
if (isset($_GET["order_by"])) {
|
||||
|
|
|
|||
|
|
@ -54,9 +54,14 @@ include "root.php";
|
|||
$music_on_hold_dir = $music_on_hold_dir."/".$_SESSION['domain_name'];
|
||||
}
|
||||
|
||||
//add multi-lingual support
|
||||
require_once "app/music_on_hold/app_languages.php";
|
||||
foreach($text as $key => $value) {
|
||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
|
||||
//start the select
|
||||
$select = "";
|
||||
$select .= " <select class='formfld' name='".$this->select_name."' id='".$this->select_name."' style='width: auto;'>\n";
|
||||
$select = " <select class='formfld' name='".$this->select_name."' id='".$this->select_name."' style='width: auto;'>\n";
|
||||
$select .= " <option value='' style='font-style: italic;'>".$text['opt-default']."</option>\n";
|
||||
|
||||
//categories
|
||||
|
|
|
|||
Loading…
Reference in New Issue