From c10023156c11b12576cc561ddb7270e50854ea05 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sun, 9 Dec 2012 04:58:05 +0000 Subject: [PATCH] Add follow me autocomplete. --- app/calls/call_edit.php | 54 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 49 insertions(+), 5 deletions(-) diff --git a/app/calls/call_edit.php b/app/calls/call_edit.php index 94146839c8..3b65f122d5 100644 --- a/app/calls/call_edit.php +++ b/app/calls/call_edit.php @@ -376,6 +376,48 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { $dnd_enabled = $do_not_disturb; } + +//prepare the autocomplete + echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; + //show the content echo "
"; echo "\n"; @@ -476,7 +518,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-ring-1'].":\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; - echo " \n"; + + echo " \n"; + echo " ".$text['label-ring-delay']."\n"; destination_select('destination_delay_1', $destination_delay_1, '0'); echo " ".$text['label-ring-timeout']."\n"; @@ -491,7 +535,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-ring-2'].":\n"; echo "\n"; - echo " \n"; + echo " \n"; echo " ".$text['label-ring-delay']."\n"; destination_select('destination_delay_2', $destination_delay_2, '0'); echo " ".$text['label-ring-timeout']."\n"; @@ -506,7 +550,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-ring-3'].":\n"; echo "\n"; - echo " \n"; + echo " \n"; echo " ".$text['label-ring-delay']."\n"; destination_select('destination_delay_3', $destination_delay_3, '0'); echo " ".$text['label-ring-timeout']."\n"; @@ -521,7 +565,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-ring-4'].":\n"; echo "\n"; - echo " \n"; + echo " \n"; echo " ".$text['label-ring-delay']."\n"; destination_select('destination_delay_4', $destination_delay_4, '0'); echo " ".$text['label-ring-timeout']."\n"; @@ -536,7 +580,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-ring-5'].":\n"; echo "\n"; - echo " \n"; + echo " \n"; echo " ".$text['label-ring-delay']."\n"; destination_select('destination_delay_5', $destination_delay_5, '0'); echo " ".$text['label-ring-timeout']."\n";