app_config.php 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "Domains";
  4. $apps[$x]['uuid'] = "8b91605b-f6d2-42e6-a56d-5d1ded01bb44";
  5. $apps[$x]['category'] = "Core";
  6. $apps[$x]['subcategory'] = "";
  7. $apps[$x]['version'] = "1.0";
  8. $apps[$x]['license'] = "Mozilla Public License 1.1";
  9. $apps[$x]['url'] = "http://www.fusionpbx.com";
  10. $apps[$x]['description']['en-us'] = "Manage a single domain or multiple domains for multi-tenant.";
  11. $apps[$x]['description']['en-gb'] = "Manage a single domain or multiple domains for multi-tenant.";
  12. $apps[$x]['description']['ar-eg'] = "إدارة مجال واحد أو مجالات متعددة للمستأجرين المتعددين.";
  13. $apps[$x]['description']['de-at'] = "Verwalte eine einzelne Domäne oder mehrere Domänen für Multi-Mandanten.";
  14. $apps[$x]['description']['de-ch'] = "Verwalten Sie eine einzelne Domäne oder mehrere Domänen für mehrere Mandanten.";
  15. $apps[$x]['description']['de-de'] = "Verwalte eine einzelne Domäne oder mehrere Domänen für Multi-Mandanten.";
  16. $apps[$x]['description']['es-cl'] = "Administre un único dominio o múltiples dominios";
  17. $apps[$x]['description']['es-mx'] = "Administre un solo dominio o múltiples dominios para múltiples inquilinos.";
  18. $apps[$x]['description']['fr-ca'] = "Gérez un domaine unique ou plusieurs domaines pour le multi-locataire.";
  19. $apps[$x]['description']['fr-fr'] = "Gestion d'un domaine ou plusieurs dans le cas d'un système multi-parties.";
  20. $apps[$x]['description']['he-il'] = "נהל דומיין בודד או מספר דומיינים עבור ריבוי דיירים.";
  21. $apps[$x]['description']['it-it'] = "Gestisci un singolo dominio o più domini per multi-tenant.";
  22. $apps[$x]['description']['ka-ge'] = "მართეთ ერთი ან მეტი დომენი მრავალი მომხმარებლისთვის.";
  23. $apps[$x]['description']['nl-nl'] = "Beheer een enkel domein of meerdere domeinen voor meerdere huurders.";
  24. $apps[$x]['description']['pl-pl'] = "Zarządzaj pojedynczą domeną lub wieloma domenami dla wielu dzierżawców.";
  25. $apps[$x]['description']['pt-br'] = "Gerencie um único ou múltiplos domínios para multi-locatários";
  26. $apps[$x]['description']['pt-pt'] = "Gerir um único domínio ou vários domínios para multi-tenant.";
  27. $apps[$x]['description']['ro-ro'] = "Gestionați un singur domeniu sau mai multe domenii pentru multi-locatari.";
  28. $apps[$x]['description']['ru-ru'] = "Управление одним доменом или несколькими доменами для нескольких пользователей";
  29. $apps[$x]['description']['sv-se'] = "Hantera en enda domän eller flera domäner för flera hyresgäster.";
  30. $apps[$x]['description']['uk-ua'] = "Керуйте одним або декількома доменами для кількох орендарів.";
  31. //permission details
  32. $y=0;
  33. $apps[$x]['permissions'][$y]['name'] = "domain_view";
  34. $apps[$x]['permissions'][$y]['menu']['uuid'] = "4fa7e90b-6d6c-12d4-712f-62857402b801";
  35. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  36. $y++;
  37. $apps[$x]['permissions'][$y]['name'] = "domain_add";
  38. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  39. $y++;
  40. $apps[$x]['permissions'][$y]['name'] = "domain_edit";
  41. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  42. $y++;
  43. $apps[$x]['permissions'][$y]['name'] = "domain_delete";
  44. //$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  45. $y++;
  46. $apps[$x]['permissions'][$y]['name'] = 'domain_all';
  47. $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
  48. $y++;
  49. $apps[$x]['permissions'][$y]['name'] = "domain_select";
  50. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  51. $y++;
  52. //default settings
  53. $y=0;
  54. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "0bc44a93-b87c-414f-8584-f890dd06d28c";
  55. $apps[$x]['default_settings'][$y]['default_setting_category'] = "domain";
  56. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "country_code";
  57. $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
  58. $apps[$x]['default_settings'][$y]['default_setting_value'] = "";
  59. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  60. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  61. //schema details
  62. $y=0;
  63. $apps[$x]['db'][$y]['table']['name'] = "v_domains";
  64. $apps[$x]['db'][$y]['table']['parent'] = "";
  65. $z=0;
  66. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  67. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  68. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  69. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  70. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  71. $z++;
  72. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_parent_uuid";
  73. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  74. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  75. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  76. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  77. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  78. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  79. $z++;
  80. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_name";
  81. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  82. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  83. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the domain name.";
  84. $z++;
  85. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_enabled";
  86. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "boolean";
  87. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  88. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "text";
  89. $apps[$x]['db'][$y]['fields'][$z]['toggle'] = ['true','false'];
  90. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Set the status of the domain.";
  91. $z++;
  92. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_description";
  93. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  94. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  95. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
  96. $z++;
  97. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  98. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  99. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  100. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  101. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  102. $z++;
  103. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  104. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  105. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  106. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  107. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  108. $z++;
  109. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  110. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  111. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  112. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  113. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  114. $z++;
  115. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  116. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  117. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  118. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  119. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  120. ?>