diff --git a/app/music_on_hold/music_on_hold.php b/app/music_on_hold/music_on_hold.php index 61a3db00e0..9f7a179a6d 100644 --- a/app/music_on_hold/music_on_hold.php +++ b/app/music_on_hold/music_on_hold.php @@ -46,7 +46,7 @@ //increase the exucution time ini_set('max_execution_time', 7200); -//get moh records, build array +//get music_on_hold records, build array $sql = "select * from v_music_on_hold "; $sql .= "where domain_uuid = '".$domain_uuid."' "; if (permission_exists('music_on_hold_global_view')) { @@ -85,7 +85,7 @@ sort($stream_names['local'], SORT_NATURAL); //echo "
".print_r($mohs, true)."\n\n\n\n\n"; exit; -//download moh file +//download music on hold file if ($_GET['action'] == "download") { $stream_uuid = $_GET['id']; $stream_file = base64_decode($_GET['file']); @@ -117,7 +117,7 @@ exit; } -//upload moh file +//upload music on hold file if ($_POST['action'] == 'upload' && is_array($_FILES) && is_uploaded_file($_FILES['file']['tmp_name'])) { //determine name & scope if ($_POST['name_new'] != '') { @@ -166,7 +166,7 @@ (($stream_scope == 'global') ? 'global' : $_SESSION['domain_name']), $stream_name_only, $path_rate ); - //flag to mark if there already has such moh profile + //flag to mark if there already has such music on hold profile $stream_path_found = false; //begin query $music_on_hold_uuid = uuid(); @@ -259,7 +259,7 @@ exit; } -//delete moh/file +//delete the music on hold file if ($_GET['action'] == "delete") { //get submitted values $stream_uuid = check_str($_GET['id']); @@ -382,7 +382,7 @@ //include the header require_once "resources/header.php"; - $document['title'] = $text['title-moh']; + $document['title'] = $text['title-music_on_hold']; echo "\n"; echo "\n"; - echo "".$text['label-moh'].""; + echo "".$text['label-music_on_hold'].""; echo "