Add fax default setting keep_local.
This commit is contained in:
parent
bdebe75d78
commit
91911a10ca
|
|
@ -256,10 +256,6 @@
|
|||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Authorized email-to-fax sender addresses.";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "fax_local";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "fax_pin_number";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
|
|
@ -281,6 +277,11 @@
|
|||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
$z++;
|
||||
//$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "fax_keep_local";
|
||||
//$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "fax_local";
|
||||
//$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
//$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
//$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "fax_description";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "faxdescription";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
|
|
|
|||
|
|
@ -53,7 +53,13 @@ if ($domains_processed == 1) {
|
|||
$array[$x]['default_setting_enabled'] = 'true';
|
||||
$array[$x]['default_setting_description'] = 'Send a T38 reinvite when a fax tone is detected.';
|
||||
$x++;
|
||||
|
||||
$array[$x]['default_setting_category'] = 'fax';
|
||||
$array[$x]['default_setting_subcategory'] = 'keep_local';
|
||||
$array[$x]['default_setting_name'] = 'boolean';
|
||||
$array[$x]['default_setting_value'] = 'true';
|
||||
$array[$x]['default_setting_enabled'] = 'true';
|
||||
$array[$x]['default_setting_description'] = 'Keep the file after sending or receiving the fax.';
|
||||
$x++;
|
||||
//get an array of the default settings
|
||||
$sql = "select * from v_default_settings ";
|
||||
$prep_statement = $db->prepare($sql);
|
||||
|
|
|
|||
|
|
@ -135,6 +135,7 @@ else {
|
|||
} else {
|
||||
$forward_prefix = $forward_prefix.$fax_forward_number.'#'; //found
|
||||
}
|
||||
$fax_local = check_str($_POST["fax_local"]);
|
||||
$fax_description = check_str($_POST["fax_description"]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue