diff --git a/app/dialplan/app_languages.php b/app/dialplan/app_languages.php index b20a046b12..5c55bb6c16 100644 --- a/app/dialplan/app_languages.php +++ b/app/dialplan/app_languages.php @@ -400,6 +400,11 @@ $text['option-anti-action']['pt-pt'] = "Anti-Acção"; $text['option-anti-action']['fr-fr'] = "Anti-Action"; + $text['option-param']['en-us'] = "Parameter"; + $text['option-param']['es-cl'] = "Parámetro"; + $text['option-param']['pt-pt'] = "Parâmetro"; + $text['option-param']['fr-fr'] = "Paramètre"; + $text['option-regex']['en-us'] = "Regular Expression"; $text['option-regex']['pt-pt'] = "Expressão Regular"; $text['option-regex']['es-cl'] = "Expresión Regular"; diff --git a/app/dialplan_inbound/dialplan_inbound_add.php b/app/dialplan_inbound/dialplan_inbound_add.php index ec0bbf020f..da3c9498d1 100644 --- a/app/dialplan_inbound/dialplan_inbound_add.php +++ b/app/dialplan_inbound/dialplan_inbound_add.php @@ -623,7 +623,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-name'].":\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo "".$text['description-name']."
\n"; echo "\n"; @@ -667,7 +667,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { } \n"; + echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "
".$text['label-field'].":\n"; @@ -710,7 +710,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; - echo " \n"; + echo "
\n"; echo " \n"; echo " \n"; echo "\n"; @@ -848,7 +848,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo "\n"; @@ -859,7 +859,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-limit'].":\n"; echo "\n"; echo "\n"; @@ -870,7 +870,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-order'].":\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; diff --git a/resources/switch.php b/resources/switch.php index b43ba42460..403d850778 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -1614,9 +1614,9 @@ function switch_select_destination($select_type, $select_label, $select_name, $s if (strlen($select_label) > 0) { echo " \n"; } - else { - echo " \n"; - } + //else { + // echo " \n"; + //} } if ($select_type == "dialplan" || $select_type == "ivr" || $select_type == "call_center_contact") { echo "\n";
\n"; echo " ".$text['label-field'].":\n"; @@ -797,7 +797,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { $prep_statement->execute(); $result = $prep_statement->fetchAll(PDO::FETCH_ASSOC); if (count($result) > 0) { - echo " \n"; echo " \n"; foreach ($result as &$row) { if (strlen($row["dialplan_uuid"]) == 0) { @@ -832,7 +832,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; //switch_select_destination(select_type, select_label, select_name, select_value, select_style, action); - switch_select_destination("dialplan", "", "action_1", $action_1, "width: 60%;", ""); + switch_select_destination("dialplan", "", "action_1", $action_1, "", ""); echo "
\n"; //switch_select_destination(select_type, select_label, select_name, select_value, select_style, action); - switch_select_destination("dialplan", "", "action_2", $action_2, "width: 60%;", ""); + switch_select_destination("dialplan", "", "action_2", $action_2, "", ""); echo "
\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo "\n"; echo "
\n"; - echo " \n"; if (strlen(htmlspecialchars($public_order))> 0) { echo " \n"; } @@ -892,7 +892,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-enabled'].":\n"; echo "\n"; - echo " \n"; if ($dialplan_enabled == "true") { echo " \n"; } @@ -916,7 +916,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-description'].":\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo "\n"; echo "