123 lines
5.7 KiB
PHP
123 lines
5.7 KiB
PHP
<?php
|
|
//application details
|
|
$apps[$x]['name'] = "Settings";
|
|
$apps[$x]['uuid'] = 'b6b1b2e5-4ba5-044c-8a5c-18709a15eb60';
|
|
$apps[$x]['category'] = 'Switch';;
|
|
$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'] = 'PBX Settings.';
|
|
|
|
//menu details
|
|
$apps[$x]['menu'][0]['title']['en'] = 'Settings';
|
|
$apps[$x]['menu'][0]['uuid'] = '148ea42a-3711-3d64-181b-07a6a3c3ed60';
|
|
$apps[$x]['menu'][0]['parent_uuid'] = '02194288-6d56-6d3e-0b1a-d53a2bc10788';
|
|
$apps[$x]['menu'][0]['category'] = 'internal';
|
|
$apps[$x]['menu'][0]['path'] = '/app/settings/v_settings_edit.php';
|
|
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
|
|
|
|
//permission details
|
|
$apps[$x]['permissions'][0]['name'] = 'settings_view';
|
|
$apps[$x]['permissions'][0]['groups'][] = 'superadmin';
|
|
|
|
$apps[$x]['permissions'][1]['name'] = 'settings_edit';
|
|
$apps[$x]['permissions'][1]['groups'][] = 'superadmin';
|
|
|
|
//schema details
|
|
$y = 0; //table array index
|
|
$z = 0; //field array index
|
|
$apps[$x]['db'][$y]['table'] = 'v_settings';
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'id';
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'setting_id';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'serial';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'integer';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'v_id';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'numbering_plan';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'event_socket_ip_address';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'event_socket_port';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'event_socket_password';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'xml_rpc_http_port';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'xml_rpc_auth_realm';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'xml_rpc_auth_user';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'xml_rpc_auth_pass';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'admin_pin';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'smtp_host';
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'smtphost';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'smtp_secure';
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'smtpsecure';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'smtp_auth';
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'smtpauth';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'smtp_username';
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'smtpusername';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'smtp_password';
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'smtppassword';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'smtp_from';
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'smtpfrom';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'smtp_from_name';
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'smtpfromname';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'mod_shout_decoder';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'mod_shout_volume';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
|
|
|
|
?>
|