Update dialplan_outbound_add.php
This commit is contained in:
parent
7966fa6983
commit
b5e4c8ed2b
|
|
@ -52,7 +52,7 @@
|
|||
require_once "resources/paging.php";
|
||||
|
||||
//get the http post values and set theme as php variables
|
||||
if (count($_POST) > 0) {
|
||||
if (is_array($_POST) > 0) {
|
||||
//set the variables
|
||||
$dialplan_name = check_str($_POST["dialplan_name"]);
|
||||
$dialplan_order = check_str($_POST["dialplan_order"]);
|
||||
|
|
@ -67,8 +67,6 @@
|
|||
$accountcode = check_str($_POST["accountcode"]);
|
||||
$toll_allow = check_str($_POST["toll_allow"]);
|
||||
|
||||
|
||||
|
||||
//set the default type
|
||||
$gateway_type = 'gateway';
|
||||
$gateway_2_type = 'gateway';
|
||||
|
|
@ -561,7 +559,6 @@
|
|||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_group'] = '0';
|
||||
}
|
||||
|
||||
|
||||
if ($gateway_type == "transfer") { $dialplan_detail_type = 'transfer'; } else { $dialplan_detail_type = 'bridge'; }
|
||||
$y++;
|
||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_uuid'] = uuid();
|
||||
|
|
@ -797,7 +794,6 @@ function type_onchange(dialplan_detail_type) {
|
|||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-alt1']."\n";
|
||||
|
|
@ -1017,7 +1013,6 @@ function type_onchange(dialplan_detail_type) {
|
|||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-order']."\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue