2012-06-04 16:58:40 +02:00
|
|
|
<?php
|
|
|
|
|
//application details
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['name'] = "SIP Profiles";
|
|
|
|
|
$apps[$x]['uuid'] = "159a8da8-0e8c-a26b-6d5b-19c532b6d470";
|
|
|
|
|
$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'] = "";
|
2014-02-13 21:15:59 +01:00
|
|
|
$apps[$x]['description']['es-cl'] = "";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['description']['es-mx'] = "";
|
|
|
|
|
$apps[$x]['description']['de-de'] = "";
|
|
|
|
|
$apps[$x]['description']['de-ch'] = "";
|
|
|
|
|
$apps[$x]['description']['de-at'] = "";
|
|
|
|
|
$apps[$x]['description']['fr-fr'] = "";
|
|
|
|
|
$apps[$x]['description']['fr-ca'] = "";
|
|
|
|
|
$apps[$x]['description']['fr-ch'] = "";
|
|
|
|
|
$apps[$x]['description']['pt-pt'] = "";
|
|
|
|
|
$apps[$x]['description']['pt-br'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//menu details
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['en-us'] = "SIP Profiles";
|
2014-02-13 21:15:59 +01:00
|
|
|
$apps[$x]['menu'][0]['title']['es-cl'] = "Perfiles SIP";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['es-mx'] = "";
|
|
|
|
|
$apps[$x]['menu'][0]['title']['de-de'] = "";
|
|
|
|
|
$apps[$x]['menu'][0]['title']['de-ch'] = "";
|
|
|
|
|
$apps[$x]['menu'][0]['title']['de-at'] = "";
|
|
|
|
|
$apps[$x]['menu'][0]['title']['fr-fr'] = "Profiles SIP";
|
|
|
|
|
$apps[$x]['menu'][0]['title']['fr-ca'] = "";
|
|
|
|
|
$apps[$x]['menu'][0]['title']['fr-ch'] = "";
|
2014-02-25 23:49:35 +01:00
|
|
|
$apps[$x]['menu'][0]['title']['pt-pt'] = "Perfis SIP";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['pt-br'] = "";
|
|
|
|
|
$apps[$x]['menu'][0]['uuid'] = "47014b1d-13ad-921c-313d-ca42c0424b37";
|
|
|
|
|
$apps[$x]['menu'][0]['parent_uuid'] = "594d99c5-6128-9c88-ca35-4b33392cec0f";
|
|
|
|
|
$apps[$x]['menu'][0]['category'] = "internal";
|
|
|
|
|
$apps[$x]['menu'][0]['path'] = "/app/sip_profiles/sip_profiles.php";
|
|
|
|
|
$apps[$x]['menu'][0]['groups'][] = "superadmin";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//permission details
|
2013-11-12 16:56:26 +01:00
|
|
|
$y = 0;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = "sip_profile_view";
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'] = "47014b1d-13ad-921c-313d-ca42c0424b37";
|
2013-11-12 16:56:26 +01:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = "sip_profile_add";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = "sip_profile_edit";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = "sip_profile_delete";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = "sip_profile_setting_view";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = "sip_profile_setting_add";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = "sip_profile_setting_edit";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = "sip_profile_setting_delete";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2013-09-30 18:16:32 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "sip_profile_setting_view";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2013-09-30 18:16:32 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "sip_profile_setting_add";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2013-09-30 18:16:32 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "sip_profile_setting_edit";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2013-09-30 18:16:32 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "sip_profile_setting_delete";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//schema details
|
|
|
|
|
$y = 0; //table array index
|
|
|
|
|
$z = 0; //field array index
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['table'] = "v_sip_profiles";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "sip_profile_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";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "sip_profile_name";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the SIP Profile name.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-11-13 08:54:05 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "sip_profile_hostname";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
2013-11-18 18:16:38 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(255)";
|
2013-11-13 08:54:05 +01:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "sip_profile_description";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
|
|
|
|
|
$y = 1; //table array index
|
|
|
|
|
$z = 0; //field array index
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['table'] = "v_sip_profile_settings";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "sip_profile_setting_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";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "sip_profile_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";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "sip_profile_setting_name";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "sip_profile_setting_value";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the value.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "sip_profile_setting_enabled";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Choose to enable or disable this.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "sip_profile_setting_description";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2014-02-25 23:49:35 +01:00
|
|
|
?>
|