From 301e79fb4d3e601fb77f8bb2d4619aa9a87860ff Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 27 Jul 2013 17:28:12 +0000 Subject: [PATCH] Change the ring group prompt into a select box. --- app/ring_groups/ring_group_destination_edit.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/ring_groups/ring_group_destination_edit.php b/app/ring_groups/ring_group_destination_edit.php index 0f17412718..67f6223c68 100644 --- a/app/ring_groups/ring_group_destination_edit.php +++ b/app/ring_groups/ring_group_destination_edit.php @@ -230,7 +230,15 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-destination_prompt'].":\n"; echo "\n"; echo "\n"; - echo " \n"; + if ($destination_prompt == "1") { + echo " ".$text['label-destination_prompt_confirm']." \n"; + } + elseif ($destination_prompt == "2") { + echo " ".$text['label-destination_prompt_announce']." \n"; + } + else { + echo "  \n"; + } echo "
\n"; echo $text['description-destination_prompt']."\n"; echo "\n";