'._("Failed to create").' '.$recordings_astsnd_path.'custom'.'
'; } } else { // can't rename a file from one partition to another, must use mv or cp // rename($recordings_save_path."{$dest}ivrrecording.wav",$recordings_astsnd_path."custom/{$filename}.wav"); exec("sudo mv " . $recordings_save_path . "{$dest}ivrrecording.wav " . $recordings_astsnd_path."custom/{$filename}.wav"); $isok = recordings_add($rname, "custom/{$filename}.wav"); recording_sidebar(null, $usersnum); recording_addpage($usersnum); if ($isok) echo ''._("System Recording").' "'.$rname.'" '._("Saved").'!
'; } break; case "edit": $filename = $_REQUEST['filename']; copy($recordings_astsnd_path."{$filename}.wav", $recordings_save_path."{$dest}ivrrecording.wav"); recording_sidebar($id, $usersnum); recording_editpage($id, $usersnum); break; case "edited": $filename = $_REQUEST['filenam']; // can't rename a file from one partition to another, must use mv or cp // this line also appeared to be missinthe 'custom' prefix // rename($recordings_save_path."{$dest}ivrrecording.wav",$recordings_astsnd_path."custom/{$filename}.wav"); exec("mv " . $recordings_save_path . "{$dest}ivrrecording.wav " . $recordings_astsnd_path."custom/{$filename}.wav"); recordings_update($id, $rname, $notes); recording_sidebar($id, $usersnum); recording_editpage($id, $usersnum); echo ''._("System Recording").' "'.$rname.'" '._("Updated").'!
"._("dial")." ".$fc_save." "; echo _("Start speaking at the tone. Hangup when finished.").""; echo _("and speak the message you wish to record.")."\n"; } else { ?>
:
" onclick="document.upload.submit(upload);alert('');"/> "._("Successfully uploaded")." ".$_FILES['ivrfile']['name'].""; } ?>