From 0831f00318168f01f7ae549fefba3a8f81ac5882 Mon Sep 17 00:00:00 2001 From: Nate Jones Date: Tue, 15 Apr 2014 01:10:21 +0000 Subject: [PATCH] Default select value adjustments --- app/destinations/destination_edit.php | 2 -- app/dialplan/dialplan_edit.php | 2 -- app/gateways/app_languages.php | 14 +++++++------- app/gateways/gateway_edit.php | 2 -- core/users/usersupdate.php | 5 ++--- 5 files changed, 9 insertions(+), 16 deletions(-) diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index 0ce80b64ee..c570c92fc4 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -240,7 +240,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo "\n"; echo " \n"; - echo " \n"; switch ($destination_enabled) { case "true" : $selected[1] = "selected='selected'"; break; case "false" : $selected[2] = "selected='selected'"; break; diff --git a/app/dialplan/dialplan_edit.php b/app/dialplan/dialplan_edit.php index c3763f3d97..73f6355b9e 100644 --- a/app/dialplan/dialplan_edit.php +++ b/app/dialplan/dialplan_edit.php @@ -382,7 +382,6 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo "\n"; echo " \n"; - echo " \n"; if ($dialplan_enabled == "true") { echo " \n"; } diff --git a/app/gateways/app_languages.php b/app/gateways/app_languages.php index d90ae1f1e0..dbf3ffb343 100644 --- a/app/gateways/app_languages.php +++ b/app/gateways/app_languages.php @@ -197,19 +197,19 @@ $text['description-channels']['es-cl'] = "Número máximo de canales simultaneos disponibles en la pasarela."; $text['description-channels']['pt-pt'] = "Número máximo de canais simultâneos no gateway."; - $text['label-caller_id_in_from']['en-us'] = "Caller Id In From"; - $text['label-caller_id_in_from']['es-cl'] = "Caller Id In From"; - $text['label-caller_id_in_from']['pt-pt'] = "Caller Id In From"; - $text['label-caller_id_in_from']['fr-fr'] = "Caller Id In From"; + $text['label-caller_id_in_from']['en-us'] = "Caller ID In From"; + $text['label-caller_id_in_from']['es-cl'] = "Caller ID In From"; + $text['label-caller_id_in_from']['pt-pt'] = "Caller ID In From"; + $text['label-caller_id_in_from']['fr-fr'] = "Caller ID In From"; $text['description-caller_id_in_from']['en-us'] = "Enter the caller-id-in-from."; $text['description-caller_id_in_from']['es-cl'] = "Ingrese la parte caller-id-in-from de la cabecera SIP"; $text['description-caller_id_in_from']['pt-pt'] = "Introduza o caller-id-in-from"; $text['description-caller_id_in_from']['fr-fr'] = "Insérer ici la partie Caller-id à utiliser dans le header SIP From."; - $text['label-supress_cng']['en-us'] = "Supress Cng"; - $text['label-supress_cng']['es-cl'] = "Suprimir Cng"; - $text['label-supress_cng']['pt-pt'] = "Supress Cng"; + $text['label-supress_cng']['en-us'] = "Supress CNG"; + $text['label-supress_cng']['es-cl'] = "Suprimir CNG"; + $text['label-supress_cng']['pt-pt'] = "Supress CNG"; $text['label-supress_cng']['fr-fr'] = "suppression du silence"; $text['description-supress_cng']['en-us'] = "Enter the supress-cng"; diff --git a/app/gateways/gateway_edit.php b/app/gateways/gateway_edit.php index d96162a222..26ba806810 100644 --- a/app/gateways/gateway_edit.php +++ b/app/gateways/gateway_edit.php @@ -487,7 +487,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo "\n"; echo " \n"; - echo " \n"; if ($enabled == "true") { echo " \n"; } diff --git a/core/users/usersupdate.php b/core/users/usersupdate.php index 8d85e7aa2c..1db64eb832 100644 --- a/core/users/usersupdate.php +++ b/core/users/usersupdate.php @@ -410,7 +410,7 @@ else { $sql .= "where domain_uuid = '".$domain_uuid."' "; $prep_statement = $db->prepare(check_sql($sql)); $prep_statement->execute(); - echo "\n"; echo "\n"; $result = $prep_statement->fetchAll(PDO::FETCH_NAMED); foreach($result as $field) { @@ -617,8 +617,7 @@ else { echo "\n"; echo "\n"; echo "