diff --git a/app/extensions/v_extensions_edit.php b/app/extensions/v_extensions_edit.php index 38950626a6..2621c5bae4 100644 --- a/app/extensions/v_extensions_edit.php +++ b/app/extensions/v_extensions_edit.php @@ -204,7 +204,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { } else { //if the user_context was not set then set the default value - if (strlen($user_context) == 0) { + if (strlen($user_context) == 0) { if (count($_SESSION["domains"]) > 1) { $user_context = $_SESSION['domain_name']; } @@ -831,13 +831,13 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo " \n"; echo " \n"; - if ($directory_exten_visible == "true" || $directory_exten_visible == "") { + if ($directory_exten_visible == "true" || $directory_exten_visible == "") { echo " \n"; } else { echo " \n"; } - if ($directory_exten_visible == "false") { + if ($directory_exten_visible == "false") { echo " \n"; } else { @@ -994,13 +994,13 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo " \n"; echo " \n"; - if ($vm_attach_file == "true") { + if ($vm_attach_file == "true") { echo " \n"; } else { echo " \n"; } - if ($vm_attach_file == "false") { + if ($vm_attach_file == "false") { echo " \n"; } else { @@ -1055,13 +1055,13 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo " \n"; - echo "
\n"; - echo "Enter the hold music here.\n"; + echo " \n"; + echo "
\n"; + echo " Select the MOH Category here.\n"; echo "\n"; echo "\n"; @@ -1176,19 +1203,19 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo " \n"; echo " \n"; - if ($enabled == "true" || strlen($enabled) == 0) { + if ($enabled == "true" || strlen($enabled) == 0) { echo " \n"; } else { echo " \n"; } - if ($enabled == "false") { + if ($enabled == "false") { echo " \n"; } else { diff --git a/app/music_on_hold/v_music_on_hold.php b/app/music_on_hold/v_music_on_hold.php index e7bd9d698e..5b685c02cf 100644 --- a/app/music_on_hold/v_music_on_hold.php +++ b/app/music_on_hold/v_music_on_hold.php @@ -120,7 +120,7 @@ if (($_POST['submit'] == "Upload") && is_uploaded_file($_FILES['ulfile']['tmp_na $target_folder = $dir_music_on_hold."/".$path_mod.$_POST['ulcategory']."/".$samplingrate_folder; } } - // use default ('public') folder + // use default folder else if ($_POST['ulcategory'] == '') { if (!is_dir($dir_music_on_hold."/".$samplingrate_folder)) { @mkdir($dir_music_on_hold."/".$samplingrate_folder, 0777, true); @@ -231,13 +231,12 @@ if ($_GET['act'] == "del" && permission_exists('music_on_hold_delete')) { echo " \n"; echo " Category
\n"; echo "