Remove switch_select_destination function from the remaining features that used it and replace with the destination php class.
This commit is contained in:
@@ -398,7 +398,6 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
echo " <input class='formfld' style='width:70px' type='text' name='voicemail_options[".$c."][voicemail_option_digits]' maxlength='255' value='".$voicemail_option_digits."'>\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left' nowrap='nowrap'>\n";
|
||||
//switch_select_destination("ivr", $voicemail_options_label, 'voicemail_options['.$c.'][voicemail_option_param]', $tmp_select_value, "width:175px", $voicemail_option_action);
|
||||
echo $destination->select('ivr', 'voicemail_options['.$c.'][voicemail_option_param]', '');
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
|
||||
@@ -187,7 +187,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
if (strlen($voicemail_option_action.$voicemail_option_param) > 0) {
|
||||
$tmp_select_value = $voicemail_option_action.':'.$voicemail_option_param;
|
||||
}
|
||||
//switch_select_destination("ivr", $voicemail_options_label, "voicemail_option_param", $tmp_select_value, "width: 350px;", $voicemail_option_action);
|
||||
echo $destination->select('ivr', 'voicemail_option_param', $tmp_select_value);
|
||||
unset($tmp_select_value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user