Fix a notice error on the menu.
This commit is contained in:
@@ -35,6 +35,12 @@ else {
|
|||||||
exit;
|
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
|
//set the http get/post variable(s) to a php variable
|
||||||
if (isset($_REQUEST["id"])) {
|
if (isset($_REQUEST["id"])) {
|
||||||
$ivr_menu_uuid = $_GET["id"];
|
$ivr_menu_uuid = $_GET["id"];
|
||||||
|
|||||||
@@ -34,6 +34,12 @@ else {
|
|||||||
exit;
|
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) {
|
if (count($_GET)>0) {
|
||||||
$id = check_str($_GET["id"]);
|
$id = check_str($_GET["id"]);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,6 +34,12 @@ else {
|
|||||||
exit;
|
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) {
|
function recur_sounds_dir($dir) {
|
||||||
global $dir_array;
|
global $dir_array;
|
||||||
global $dir_path;
|
global $dir_path;
|
||||||
|
|||||||
@@ -34,6 +34,12 @@ else {
|
|||||||
exit;
|
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
|
//set the http values as variables
|
||||||
if (count($_GET)>0) {
|
if (count($_GET)>0) {
|
||||||
$id = check_str($_GET["id"]);
|
$id = check_str($_GET["id"]);
|
||||||
|
|||||||
@@ -34,6 +34,12 @@ else {
|
|||||||
exit;
|
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
|
//action add or update
|
||||||
if (isset($_REQUEST["id"])) {
|
if (isset($_REQUEST["id"])) {
|
||||||
$action = "update";
|
$action = "update";
|
||||||
|
|||||||
@@ -34,7 +34,8 @@ else {
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once "includes/paging.php";
|
//additional includes
|
||||||
|
require_once "includes/paging.php";
|
||||||
|
|
||||||
//get the http values and set them as variables
|
//get the http values and set them as variables
|
||||||
if (isset($_GET["order_by"])) {
|
if (isset($_GET["order_by"])) {
|
||||||
|
|||||||
@@ -33,8 +33,16 @@ else {
|
|||||||
echo "access denied";
|
echo "access denied";
|
||||||
exit;
|
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
|
//get the http values and set them as variables
|
||||||
if (isset($_GET["order_by"])) {
|
if (isset($_GET["order_by"])) {
|
||||||
|
|||||||
@@ -54,9 +54,14 @@ include "root.php";
|
|||||||
$music_on_hold_dir = $music_on_hold_dir."/".$_SESSION['domain_name'];
|
$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
|
//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";
|
$select .= " <option value='' style='font-style: italic;'>".$text['opt-default']."</option>\n";
|
||||||
|
|
||||||
//categories
|
//categories
|
||||||
|
|||||||
Reference in New Issue
Block a user