2012-06-04 16:58:40 +02:00
|
|
|
<?php
|
|
|
|
|
//application details
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['name'] = "Contacts";
|
|
|
|
|
$apps[$x]['uuid'] = "04481e0e-a478-c559-adad-52bd4174574c";
|
|
|
|
|
$apps[$x]['category'] = "CRM";
|
|
|
|
|
$apps[$x]['subcategory'] = "";
|
|
|
|
|
$apps[$x]['version'] = "";
|
|
|
|
|
$apps[$x]['license'] = "Mozilla Public License 1.1";
|
|
|
|
|
$apps[$x]['contact_url'] = "http://www.fusionpbx.com";
|
|
|
|
|
$apps[$x]['description']['en-us'] = "Provides a place to store contact information for individuals and organizations.";
|
2014-02-13 21:15:59 +01:00
|
|
|
$apps[$x]['description']['es-cl'] = "Provee un lugar para almacenar información de los contactos, para individuos u organizaciones";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['description']['de-de'] = "";
|
|
|
|
|
$apps[$x]['description']['de-ch'] = "";
|
|
|
|
|
$apps[$x]['description']['de-at'] = "";
|
2013-09-17 22:02:19 +02:00
|
|
|
$apps[$x]['description']['fr-fr'] = "Place pour stocker les information des contacts, personnes ou organizations.";
|
2013-09-30 18:21:08 +02:00
|
|
|
$apps[$x]['description']['fr-ca'] = "C'est un endroit pour posser information des contacts, personnes ou organizations.";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['description']['fr-ch'] = "";
|
|
|
|
|
$apps[$x]['description']['pt-pt'] = "Fornece um local para armazenar informações de contato para indivíduos e organizações.";
|
|
|
|
|
$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'][$y]['title']['en-us'] = "Contacts";
|
2014-02-13 21:15:59 +01:00
|
|
|
$apps[$x]['menu'][$y]['title']['es-cl'] = "Contactos";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['menu'][$y]['title']['de-de'] = "";
|
|
|
|
|
$apps[$x]['menu'][$y]['title']['de-ch'] = "";
|
|
|
|
|
$apps[$x]['menu'][$y]['title']['de-at'] = "";
|
|
|
|
|
$apps[$x]['menu'][$y]['title']['fr-fr'] = "Contacts";
|
|
|
|
|
$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
|
|
|
|
|
$apps[$x]['menu'][$y]['title']['fr-ch'] = "";
|
|
|
|
|
$apps[$x]['menu'][$y]['title']['pt-pt'] = "Contactos";
|
|
|
|
|
$apps[$x]['menu'][$y]['title']['pt-br'] = "";
|
|
|
|
|
$apps[$x]['menu'][$y]['uuid'] = "f14e6ab6-6565-d4e6-cbad-a51d2e3e8ec6";
|
|
|
|
|
$apps[$x]['menu'][$y]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
|
|
|
|
|
$apps[$x]['menu'][$y]['category'] = "internal";
|
|
|
|
|
$apps[$x]['menu'][$y]['path'] = "/app/contacts/contacts.php";
|
|
|
|
|
//$apps[$x]['menu'][$y]['groups'][] = "user";
|
|
|
|
|
$apps[$x]['menu'][$y]['groups'][] = "admin";
|
|
|
|
|
$apps[$x]['menu'][$y]['groups'][] = "superadmin";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//permission details
|
2013-09-30 18:21:08 +02:00
|
|
|
$y = 0;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_view";
|
|
|
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'] = "f14e6ab6-6565-d4e6-cbad-a51d2e3e8ec6";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_add";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_edit";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_delete";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_address_view";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_address_add";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_address_edit";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_address_delete";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_phone_view";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_phone_add";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_phone_edit";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_phone_delete";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_note_view";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_note_add";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_note_edit";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_note_delete";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_group_view";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_group_add";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_group_edit";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-30 18:21:08 +02:00
|
|
|
$y++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "contact_group_delete";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2013-09-22 01:14:00 +02:00
|
|
|
|
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_contacts";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "contact_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]['deprecated'] = "true";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_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";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$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";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$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-us'] = "";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_parent_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_contacts";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_type";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the type.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_organization";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the organization.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_name_given";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the given name.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_name_family";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the family name.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_nickname";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the nickname.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_title";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the title.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_role";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the role.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_category";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the category.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_email";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the email address.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_url";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the website address.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_time_zone";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the time zone.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_note";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the notes.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "created";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Date when the contact was created.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "created_by";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "The user that created the contact.";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
$y = 1; //table array index
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['table'] = "v_contact_addresses";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_address_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";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$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";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_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_contacts";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
//$apps[$x]['db'][$y]['fields'][$z]['name'] = "address_name";
|
|
|
|
|
//$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
//$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the address name.";
|
2013-02-07 10:57:03 +01:00
|
|
|
//$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "address_type";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the address type.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "address_street";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the street address.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "address_extended";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter teh extended address.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "address_locality";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the city.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "address_region";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the state or province.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "address_postal_code";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the postal code.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "address_country";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the country.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "address_latitude";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the latitude.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "address_longitude";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the longitude.";
|
2013-02-07 10:57:03 +01:00
|
|
|
$z++;
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "address_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 = 2; //table array index
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['table'] = "v_contact_phones";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_phone_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";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$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";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_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_contacts";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_type";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the phone type.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_number";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the phone number.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_extension";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the extension.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "phone_description";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
|
2013-02-07 10:57:03 +01:00
|
|
|
$z++;
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
$y = 3; //table array index
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['table'] = "v_contact_notes";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "contacts_note_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]['deprecated'] = "true";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_note_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";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$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";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$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-us'] = "";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_id";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Contact ID";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_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_contacts";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "contact_note";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "notes";
|
|
|
|
|
$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'] = "last_mod_date";
|
|
|
|
|
$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'] = "last_mod_user";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-09-30 17:22:35 +02:00
|
|
|
|
2013-09-30 18:21:08 +02:00
|
|
|
$y = 4; //table array index
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['table'] = "v_contact_groups";
|
2014-10-15 22:11:17 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_group_uuid";
|
2013-10-01 13:35:07 +02:00
|
|
|
$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";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$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";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_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_contacts";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
2014-10-15 22:11:17 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "group_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_groups";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "group_uuid";
|
2013-10-01 13:35:07 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2014-10-31 22:19:54 +01:00
|
|
|
$z++;
|
|
|
|
|
|
|
|
|
|
$y = 5; //table array index
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_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_contacts";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$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";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_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";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_category";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the category.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_subcategory";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the subcategory.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_name";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_value";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the value.";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_order";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_setting_enabled";
|
|
|
|
|
$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'] = "contact_setting_description";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2013-09-30 15:19:40 +02:00
|
|
|
?>
|