mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-19 23:18:28 +00:00
Update call_edit.php
This commit is contained in:
@@ -539,7 +539,7 @@
|
|||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
if (permission_exists('follow_me_cid_set')) {
|
if (permission_exists('call_forward_caller_id')) {
|
||||||
$sql_forward = "select destination_uuid, destination_number, destination_description, destination_caller_id_number, destination_caller_id_name from v_destinations where domain_uuid = '$domain_uuid' and destination_type = 'inbound' order by destination_number asc ";
|
$sql_forward = "select destination_uuid, destination_number, destination_description, destination_caller_id_number, destination_caller_id_name from v_destinations where domain_uuid = '$domain_uuid' and destination_type = 'inbound' order by destination_number asc ";
|
||||||
$prep_statement_forward = $db->prepare(check_sql($sql_forward));
|
$prep_statement_forward = $db->prepare(check_sql($sql_forward));
|
||||||
$prep_statement_forward->execute();
|
$prep_statement_forward->execute();
|
||||||
@@ -581,7 +581,7 @@
|
|||||||
echo "<td class='vtable' align='left'>\n";
|
echo "<td class='vtable' align='left'>\n";
|
||||||
$on_click = "document.getElementById('forward_all_disabled').checked=true; ";
|
$on_click = "document.getElementById('forward_all_disabled').checked=true; ";
|
||||||
$on_click .= "document.getElementById('dnd_disabled').checked=true; ";
|
$on_click .= "document.getElementById('dnd_disabled').checked=true; ";
|
||||||
if (permission_exists('follow_me_cid_set')) {
|
if (permission_exists('follow_me_caller_id')) {
|
||||||
$on_click .= "document.getElementById('follow_me_caller_id_uuid').focus(); ";
|
$on_click .= "document.getElementById('follow_me_caller_id_uuid').focus(); ";
|
||||||
}
|
}
|
||||||
echo " <label for='follow_me_disabled'><input type='radio' name='follow_me_enabled' id='follow_me_disabled' onclick=\"$('#tr_follow_me_settings').slideUp('fast');\" value='false' ".(($follow_me_enabled == "false" || $follow_me_enabled == "") ? "checked='checked'" : null)." /> ".$text['label-disabled']."</label> \n";
|
echo " <label for='follow_me_disabled'><input type='radio' name='follow_me_enabled' id='follow_me_disabled' onclick=\"$('#tr_follow_me_settings').slideUp('fast');\" value='false' ".(($follow_me_enabled == "false" || $follow_me_enabled == "") ? "checked='checked'" : null)." /> ".$text['label-disabled']."</label> \n";
|
||||||
@@ -652,7 +652,7 @@
|
|||||||
echo " </tr>\n";
|
echo " </tr>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (permission_exists('follow_me_cid_set')) {
|
if (permission_exists('follow_me_caller_id')) {
|
||||||
$sql_follow_me = "select destination_uuid, destination_number, destination_description, destination_caller_id_number, destination_caller_id_name from v_destinations where domain_uuid = '$domain_uuid' and destination_type = 'inbound' order by destination_number asc ";
|
$sql_follow_me = "select destination_uuid, destination_number, destination_description, destination_caller_id_number, destination_caller_id_name from v_destinations where domain_uuid = '$domain_uuid' and destination_type = 'inbound' order by destination_number asc ";
|
||||||
$prep_statement_follow_me = $db->prepare(check_sql($sql_follow_me));
|
$prep_statement_follow_me = $db->prepare(check_sql($sql_follow_me));
|
||||||
$prep_statement_follow_me->execute();
|
$prep_statement_follow_me->execute();
|
||||||
|
|||||||
Reference in New Issue
Block a user