Voicemail:
- Adjust for single-quotes in caller_id_name on insert query (hopefully addressing Issue 877). - If Keep Local is false, remove the recording from the file system. - Fix Forward Destinations so message is fully copied to other extension voicemail boxes, not just emailed. - Add script to Ext and VM Edit pages to prevent Listen or Download links being sent when Keep Local is false. - Minor language mods.
This commit is contained in:
@@ -1486,7 +1486,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
echo " ".$text['label-voicemail_file']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <select class='formfld' name='voicemail_file'>\n";
|
||||
echo " <select class='formfld' name='voicemail_file' id='voicemail_file' onchange=\"if (this.selectedIndex != 2) { document.getElementById('voicemail_local_after_email').selectedIndex = 0; }\">\n";
|
||||
echo " <option value=''>".$text['option-voicemail_file_listen']."</option>\n";
|
||||
echo " <option value='link' ".(($voicemail_file == "link") ? "selected='selected'" : null).">".$text['option-voicemail_file_link']."</option>\n";
|
||||
echo " <option value='attach' ".(($voicemail_file == "attach") ? "selected='selected'" : null).">".$text['option-voicemail_file_attach']."</option>\n";
|
||||
@@ -1501,7 +1501,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
echo " ".$text['label-voicemail_local_after_email']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <select class='formfld' name='voicemail_local_after_email'>\n";
|
||||
echo " <select class='formfld' name='voicemail_local_after_email' id='voicemail_local_after_email' onchange=\"if (this.selectedIndex == 1) { document.getElementById('voicemail_file').selectedIndex = 2; }\">\n";
|
||||
if ($voicemail_local_after_email == "true") {
|
||||
echo " <option value='true' selected >".$text['label-true']."</option>\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user