mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-15 04:52:13 +00:00
135 lines
6.4 KiB
PHP
Executable File
135 lines
6.4 KiB
PHP
Executable File
<?php
|
|
//application details
|
|
$apps[$x]['name'] = 'FAX Logs';
|
|
$apps[$x]['uuid'] = '02ffd6e8-c7d5-4f56-812e-5c1b4fd3fe02';
|
|
$apps[$x]['category'] = '';
|
|
$apps[$x]['subcategory'] = '';
|
|
$apps[$x]['version'] = '';
|
|
$apps[$x]['license'] = 'Mozilla Public License 1.1';
|
|
$apps[$x]['url'] = 'http://www.fusionpbx.com';
|
|
$apps[$x]['description']['en-us'] = '';
|
|
|
|
//menu details
|
|
$apps[$x]['menu'][0]['title']['en-us'] = 'FAX Logs';
|
|
$apps[$x]['menu'][0]['uuid'] = 'f91b1476-e7e9-40f5-a181-2f3e1e5bc16b';
|
|
$apps[$x]['menu'][0]['parent_uuid'] = 'fd29e39c-c936-f5fc-8e2b-611681b266b5';
|
|
$apps[$x]['menu'][0]['category'] = 'internal';
|
|
$apps[$x]['menu'][0]['path'] = '/app/fax_logs/fax_logs.php';
|
|
//$apps[$x]['menu'][0]['groups'][] = 'user';
|
|
//$apps[$x]['menu'][0]['groups'][] = 'admin';
|
|
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
|
|
|
|
//permission details
|
|
$y = 0;
|
|
$apps[$x]['permissions'][$y]['name'] = 'fax_log_view';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
//$apps[$x]['permissions'][$y]['groups'][] = 'user';
|
|
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = 'fax_log_edit';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
//$apps[$x]['permissions'][$y]['groups'][] = 'user';
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = 'fax_log_delete';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
$y++;
|
|
|
|
//schema details
|
|
$y = 0; //table array index
|
|
$z = 0; //field array index
|
|
$apps[$x]['db'][$y]['table'] = 'v_fax_logs';
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'domain_uuid';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_log_uuid';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_uuid';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_success';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_success';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_result_code';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_result_code';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_result_text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_result_text';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_file';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_file';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_ecm_used';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_ecm_used';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_local_station_id';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_local_station_id';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_document_transferred_pages';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_document_transferred_pages';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_document_total_pages';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_document_total_pages';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_image_resolution';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_image_resolution';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_image_size';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_image_size';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_bad_rows';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_bad_rows';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_transfer_rate';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_transfer_rate';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_retry_attempts';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_retry_attempts';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_retry_limit';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_retry_limit';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_retry_sleep';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_retry_sleep';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_uri';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_uri';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_date';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'timestamp';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_date';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'fax_epoch';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'fax_epoch';
|
|
$z++;
|
|
?>
|