From 88aea2e14931a9b7b4a3eab8ecd02cddc9774885 Mon Sep 17 00:00:00 2001 From: Nate Jones Date: Sat, 18 May 2013 23:43:11 +0000 Subject: [PATCH] Minor language updates to Ring Groups for clarity and consistency. --- app/ring_groups/app_languages.php | 48 ++++++++++----------- app/ring_groups/ring_groups_edit.php | 62 ++++++++++++++-------------- 2 files changed, 56 insertions(+), 54 deletions(-) diff --git a/app/ring_groups/app_languages.php b/app/ring_groups/app_languages.php index 4bfd41ad4f..55dd8b6273 100644 --- a/app/ring_groups/app_languages.php +++ b/app/ring_groups/app_languages.php @@ -1,4 +1,4 @@ -0 && strlen($_POST["persistformvar"]) == 0) { require_once "includes/footer.php"; exit; } - } //if ($_POST["persistformvar"] != "true") + } //if ($_POST["persistformvar"] != "true") } //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) //pre-populate the form @@ -429,7 +429,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { if (if_group("superadmin")) { echo "\n"; echo "\n"; - echo " ",$text['label-context'],":\n"; + echo " ".$text['label-context'].":\n"; echo "\n"; echo "\n"; echo " \n"; @@ -447,26 +447,26 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " \n"; echo "
\n"; - echo $text['label-sequence']."\n"; + echo $text['description-strategy']."\n"; echo "\n"; echo "\n"; @@ -489,12 +489,12 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo " ".$text['label-extension']."\n"; echo " ".$text['label-delay']."\n"; - echo " ".$text['label-timeout']."\n"; + echo " ".$text['label-duration']."\n"; echo " \n"; echo "\n"; foreach($result as $field) { if (strlen($field['extension_delay']) == 0) { $field['extension_delay'] = "0"; } - if (strlen($field['extension_timeout']) == 0) { $field['extension_timeout'] = "30"; } + if (strlen($field['extension_timeout']) == 0) { $field['extension_timeout'] = "30"; } echo " \n"; echo " \n"; echo " ".$field['extension']; @@ -529,21 +529,21 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-delay']." "; destination_select('extension_delay', $extension_delay, '0'); - echo "  ".$text['label-timeout']." \n"; + echo "  ".$text['label-duration']." \n"; destination_select('extension_timeout', $extension_timeout, '30'); if ($action == "update") { echo " \n"; } unset($sql, $result); echo "
\n"; - echo " ".$text['description-extension']."\n"; + echo " ".$text['description-extensions']."\n"; echo "
\n"; echo " "; echo " "; echo "\n"; echo "\n"; - echo " ".$text['label-timeout'].":\n"; + echo " ".$text['label-call-timeout'].":\n"; echo "\n"; echo "\n"; echo " \n"; @@ -582,29 +582,29 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; $select_options = ""; - if ($ring_group_ringback == "\${us-ring}" || $ring_group_ringback == "us-ring") { - $select_options .= " \n"; + if ($ring_group_ringback == "\${us-ring}" || $ring_group_ringback == "us-ring") { + $select_options .= " \n"; } else { - $select_options .= " \n"; + $select_options .= " \n"; } if ($ring_group_ringback == "\${fr-ring}" || $ring_group_ringback == "fr-ring") { - $select_options .= " \n"; + $select_options .= " \n"; } else { - $select_options .= " \n"; + $select_options .= " \n"; } - if ($ring_group_ringback == "\${uk-ring}" || $ring_group_ringback == "uk-ring") { - $select_options .= " \n"; + if ($ring_group_ringback == "\${uk-ring}" || $ring_group_ringback == "uk-ring") { + $select_options .= " \n"; } else { - $select_options .= " \n"; + $select_options .= " \n"; } - if ($ring_group_ringback == "\${rs-ring}" || $ring_group_ringback == "rs-ring") { - $select_options .= " \n"; + if ($ring_group_ringback == "\${rs-ring}" || $ring_group_ringback == "rs-ring") { + $select_options .= " \n"; } else { - $select_options .= " \n"; + $select_options .= " \n"; } require_once "app/music_on_hold/resources/classes/switch_music_on_hold.php"; $moh = new switch_music_on_hold; @@ -625,17 +625,17 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo " \n"; echo "
\n";