mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Convert ring groups to use the new php class.
This commit is contained in:
@@ -366,6 +366,9 @@ else {
|
||||
|
||||
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
|
||||
|
||||
//initialize the destinations object
|
||||
$destination = new destinations;
|
||||
|
||||
//pre-populate the form
|
||||
if (strlen($ring_group_uuid) == 0) { $ring_group_uuid = check_str($_GET["id"]); }
|
||||
if (strlen($ring_group_uuid) > 0) {
|
||||
@@ -589,8 +592,8 @@ else {
|
||||
echo " ".$text['label-timeout_destination']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
//switch_select_destination(select_type, select_label, select_name, select_value, select_style, action);
|
||||
switch_select_destination("dialplan", "", "ring_group_timeout_action", $ring_group_timeout_action, "", "");
|
||||
//switch_select_destination("dialplan", "", "ring_group_timeout_action", $ring_group_timeout_action, "", "");
|
||||
echo $destination->select('dialplan', 'ring_group_timeout_action', $ring_group_timeout_action);
|
||||
echo " <br />\n";
|
||||
echo " ".$text['description-timeout_destination']."\n";
|
||||
echo "</td>\n";
|
||||
|
||||
Reference in New Issue
Block a user