From 0e5c63780c75dda246c5cb11859199e4ed4045de Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Tue, 28 May 2013 17:53:21 +0000 Subject: [PATCH] Ring group set CID prefix remove required so its not set to bold. Fix the translation problem for add so it will say add complete. --- app/ring_groups/ring_groups_edit.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/ring_groups/ring_groups_edit.php b/app/ring_groups/ring_groups_edit.php index f5106d6a91..ebd6d0f5f9 100644 --- a/app/ring_groups/ring_groups_edit.php +++ b/app/ring_groups/ring_groups_edit.php @@ -89,7 +89,7 @@ else { } //get http post variables and set them to php variables - if (count($_POST)>0) { + if (count($_POST) > 0) { //set variables from http values $ring_group_name = check_str($_POST["ring_group_name"]); $ring_group_extension = check_str($_POST["ring_group_extension"]); @@ -122,7 +122,7 @@ else { } -if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { +if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { $msg = ''; if ($action == "update") { @@ -326,7 +326,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo "
\n"; if ($action == "add") { - echo $text['message-enabled']."\n"; + echo $text['message-add-complete']."\n"; } if ($action == "update") { echo $text['message-update-complete']."\n"; @@ -339,7 +339,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { } //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) //pre-populate the form - if (count($_GET)>0 && $_POST["persistformvar"] != "true") { + if (count($_GET) > 0 && $_POST["persistformvar"] != "true") { $ring_group_uuid = $_GET["id"]; $sql = "select * from v_ring_groups "; $sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' "; @@ -565,7 +565,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo " ".$text['label-cid-prefix'].":\n"; echo "\n"; echo "\n";